Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

There's an occasion when I am forced to use geometry package instead of fullpage. Howevere 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.

share|improve this question
    
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 at 17:17

2 Answers 2

up vote 8 down vote accepted

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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