29

There's an occasion when I am forced to use geometry package instead of fullpage. However the document margins should match another document which uses fullpage.

Where can I find the default top, bottom, right, left values when simply using fullpage? The document class is article.

  • 2
    The fullpage README mentions "This pack­age sets all 4 mar­gins to be ei­ther 1 inch or 1.5 cm", which is straight-forward in geometry via the margin key-value. – Werner May 19 '14 at 17:17
19

The only difference between

\documentclass[a4paper]{article}
\usepackage[
  margin=1.5cm,
  includefoot,
  footskip=30pt,
]{geometry}
\usepackage{layout}

\begin{document}
\layout
\end{document}

and

\documentclass[a4paper]{article}
\usepackage[cm]{fullpage}
\usepackage{layout}

\begin{document}
\layout
\end{document}

seems to be that the head height and the head separation in fullpage are zero.

For the in default option, change margin=1.5cm into margin=1in.

17

I have found that loading geometry with the [pass]option gives you access to all the features of the geometry package (at least the ones I use), without changing the extant page dimensions. Thus you can get the dimensions of the fullpage package, with the features of the geometry package available.

The pass option disables most of the options (not features), except verbose and showframe.

\documentclass{article}
\usepackage{fullpage}
\usepackage[pass, showframe]{geometry}
\usepackage{lipsum}
\begin{document}
\lipsum[1-7]
\newgeometry{margin=2in}
\lipsum[8-10]
\end{document}

Page 1 has the default fullpage dimensions (with showframe), but that has been reset on page 2 with a \newgeometry command, courtesy of the geometry package.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.