O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – specifying margins

We shall load the geometry package and state the exact width and height of all margins.

  1. Extend the preamble of the previous example with this command:
    \usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm,
    bottom=3cm, bindingoffset=1cm]{geometry}
  2. Typeset and examine the margins:
    Time for action – specifying margins

What just happened?

We loaded another package with the name geometry. This package takes care of our layout regarding the paper size, margins, and more dimensions. We chose A4 paper size, an outer margin of 3 cm, and an inner margin of just 1.5 cm, remembering that the two inner margins will be perceived as one space when the two-sided book ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required