[texhax] change margins for some pages in a doc

arnaud gaboury arnaud.gaboury at gmail.com
Fri Oct 12 14:29:11 CEST 2012


On Fri, Oct 12, 2012 at 12:42 PM, arnaud gaboury
<arnaud.gaboury at gmail.com>wrote:

>
>
> On Fri, Oct 12, 2012 at 12:12 PM, Arno Gaboury <arnaud.gaboury at gmail.com>wrote:
>
>> On 12/10/12||11:12, Viktor Ahlqvist wrote:
>> >    The package "geometry" solves your problem.
>> >
>> >    In the preamble:
>> >
>> >    \usepackage[left=3cm,right=3cm,a4paper]{geometry} (change the values
>> to
>> >    the correct margins, see the documentation for more options).
>> >
>> >    In the document, you can use \newgeometry{left=1cm,right=1cm,top=1cm}
>> >    to change the left,right and top margins to one cm.
>> >
>> >    Simply use the command \restoregeometry when you want to go back to
>> the
>> >    orginal margins.
>> >
>> >    /Viktor
>> >    On Friday, 12 October 2012, Arno Gaboury wrote:
>> >
>> >      Dear list,
>> >      My document class is \documentclass[english,12pt]{scrartcl}
>> >      I need to add on a few pages large .xls tables and wish them to
>> fill
>> >      more space, e.g dismish top,bottom,let and right margins. This
>> >      should
>> >      only be applicaple to some pages, not the whole doc.
>> >      Best would be to have access to 1 and 2 in the usual page layout
>> >      graphic.
>> >      1 one inch +\offset (left space)
>> >      2 one inch +\voffset (top space)
>> >      but I have no idea how to change these values.
>> >      Playing with scale \includegraphics[scale=1]{xl1.pdf} is not
>> >      satisfying.
>> >      \pagebreak \enlargethispage does nothing
>> >      \renewcommand{textwidth}{npt} does nothing
>> >      I do not understand very well the fancyhdr package. Maybe it is the
>> >      solution?
>> >      Thank you for help
>>
>> Using : \newgeometry{left=0pt,top=0pt,bottom=0pt,includehead} is not too
>> bad, but not perfect.
>>
>> Please find attached a short view of my document + the .xls file to
>> include.
>> As you will see,
>> 1- the header is distorted on page 3
>> 2- the .xls feet width but not height. Must be a ratio issue
>> 3- page 3 is not numbered.
>>
>> Thank you for your help.
>>
>> \newgeometry{left=0pt,top=0cm,bottom=5mm,includehead,includefoot}
>>
> is best, as I can see number page. But still strugling to have a bigger
> height for the .xls table.
>

issue solved with package changepage :-)

 \begin{figure}
\begin{adjustwidth}{-4cm}{-4cm}


\includegraphics[width=600pt,height=794pt,keepaspectratio=false]{xl1.pdf}
\caption{Experiment 1}
\end{adjustwidth}
\end{figure}


>
>> >      _______________________________________________
>> >      TeX FAQ: [1]http://www.tex.ac.uk/faq
>> >      Mailing list archives: [2]http://tug.org/pipermail/texhax/
>> >      More links: [3]http://tug.org/begin.html
>> >      Automated subscription management:
>> >      [4]http://tug.org/mailman/listinfo/texhax
>> >      Human mailing list managers: [5]postmaster at tug.org
>> >
>> > References
>> >
>> >    1. http://www.tex.ac.uk/faq
>> >    2. http://tug.org/pipermail/texhax/
>> >    3. http://tug.org/begin.html
>> >    4. http://tug.org/mailman/listinfo/texhax
>> >    5. javascript:;
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20121012/7ad95c7f/attachment.html>


More information about the texhax mailing list