title: Latex - Change margins of only a few pages
body: <p>I have a Latex document where I need to change the margins of only a few pages (the pages where I'm adding a lot of graphics).</p>
  
  <p>In particular, I'd like to change the top margins (<code>\voffset</code>). I've tried doing:</p>
  
  <pre><code>\addtolength{\voffset}{-4cm}
  
  % Insert images here
  
  \addtolength{\voffset}{4cm}
  </code></pre>
  
  <p>but it didn't work. I've seen references to the geometry package, but I haven't found how to use it for a bunch of pages, and not for the whole document.</p>
  
  <p>Any hints?</p>