Changing margin in the middle of Latex-document

Linux Mint 10 includes geometry.sty version 4.2. In geometry.sty version 5, you get some extra snacks, like changing page layout mid-way.

Install the latest version:


wget ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.dtx
wget ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.ins
tex geometry.dtx
tex geometry.ins
sudo mv /usr/share/texmf-texlive/tex/latex/geometry/geometry.sty /usr/share/texmf-texlive/tex/latex/geometry/geometry.sty.old
sudo cp geometry.sty /usr/share/texmf-texlive/tex/latex/geometry

Latex code:


newgeometry{margin=2cm}
something
restoregeometry

Reference: http://ubuntuforums.org/showthread.php?t=1441517

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>