33

How do I change the margin of all pages?

I want the latex page be .25 in margin around all the pages.

Benedikt Bauer
  • 6,590
  • 2
  • 34
  • 60
Whitecat
  • 1,321
  • 1
    Maybe one should add for clarification that from a typographical point of view it considered bad style to just set all margins to an identical fixed value. In typography the page margins are at a specific geometric relation compared to for example the page aspect ratio and other things. For some more explanation compare for example the KOMA Script Guide, Section " Fundamentals of Page Layout". – Benedikt Bauer Jan 22 '13 at 00:01
  • 1
    Welcome to TX.SX! Your question is probably already answered here. – mafp Jan 22 '13 at 00:05
  • You may look into here for more info https://www.sharelatex.com/learn/Page_size_and_margins – prashanth Feb 24 '17 at 19:15
  • 1
    The wikibooks page is quite good https://en.wikibooks.org/wiki/LaTeX/Page_Layout – loved.by.Jesus May 08 '18 at 12:01

1 Answers1

46

Adding this to the header of your document will set a 0.25in margin for every side of the page:

\usepackage[margin=0.25in]{geometry}

A good website for reference is: http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907057

Werner
  • 603,163
Whitecat
  • 1,321