[texhax] change margins for some pages in a doc

Arno Gaboury arnaud.gaboury at gmail.com
Fri Oct 12 12:12:40 CEST 2012


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.



>      _______________________________________________
>      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 --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 3103 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20121012/1ec4f960/attachment-0001.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xl1.pdf
Type: application/pdf
Size: 184437 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20121012/1ec4f960/attachment-0001.pdf>


More information about the texhax mailing list