I am using the geometry package to set margins of my document. Finally I got it working but with totally different values in the definition. Calculating the separation of binary stars. The geometry package provides a flexible and easy interface to change page dimensions. textwidth. Element 10 in the graphic. Until now, it wasn't possible for me to get the footer in the right dimensions. An image is worth a thousand words: \documentclass{article} \usepackage{layout} \begin{document} \layout \end{document} \headheight is the height od the area reserved to typeset headers. geometry uses the bmargin specification to compute the type block size. The geometry package becomes even more exible and powerful with the release of version 3. \headsep. To review, open the file in an editor that reveals hidden Un That is, the settings made upon loading the geometry package: \usepackage[ left=1.0em, right=1.0em, top=1.0cm, bottom=1.0. You can change the page layout with intuitive parameters. If you want the geometry package to make reasonable calculations you must not mess with parameters like \headsep=15mm or \footskip=0pt afterwards. But geometry also make it . tation can be also generated directly from geometry.dtx by '(pdf)latex' command. And voffset is causing you trouble. online LaTeX editor with autocompletion, highlighting and 400 math symbols. Set preferred values for the following LaTeX parameters which affect the book page height: \headheight. \headsep is the vertical length between the header and the top of the text area. The geometry package Hideo Umeki latexgeometry@gmail.com 2008/12/21 v4.2 . Without package calc, the above example would need more tedious settings. Package geometry provides an easy way to set page layout parameters. -\headheight-\headsep-\footskip)/2 - 1in}. The parameters have to be written in the form parameter=value, use standard LATEX units. Also you should not ignore warnings about too small values for headheight and footheight. The header looks has its 17mm, but the footer doesn't. Here is a minimal example which I compile with LuaLaTeX. -\headheight-\headsep-\footskip)/2 - 1in}. Stack Exchange Network Stack Exchange network consists of 182 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Export (png, jpg, gif, svg, pdf) and save & share with note system - Share answered Sep 5, 2017 at 17:21 @Dirk LaTeX outputs a top margin, the header in a box of the required height, the header separation, the type block and finally leaves the \footskip space and typesets the footer line. I want to cite a theorem from a book written by influential scientists. Besides centering problem, setting margins from each edge of the paper is also troublesome. footskip Distance separation between baseline of last line of text and baseline of footer. So this \usepackage [a4paper, top=2.0cm, bottom=1.0cm, left=2.0cm, right=5.0cm, footskip = 1.0cm, includehead, includefoot] {geometry} should do the trick? Without package calc, the above example would need more tedious settings. In this case, what you have to do is just . This parameter, unlike the previous ones, has to be set to a couple of TeX dimensions separated with a comma, and between braces, for example: papersize= {597pt,845pt} With all of this, you should be able to fully customize the blank space left in the pages of your document. \geometry except that \newgeometry disables all the options speci ed by \usepackage and \geometry One way to proceed is as follows: Set \hoffset and \voffset to 0mm (with \pdfhorigin=1in and \pdfvorigin=1in, if necessary) Use values for the following LaTeX parameters which affect the book page width: \marginparsep. I'm using the geometry package to change the header and footer of my page to specific values. Without package calc, the above example would need more tedious settings. [Tex/LaTex] geometry sets footskip too small. 12. papersize. The fancyhdr package will try to correct your mistake, but of course these corrections are unknown to the . Package geometry provides an easy way to set page layout parameters. geometry header-footer. (mm, cm, pt, in). Determines the size of the paper. Unfortunately the given values are not being implemented as expected. -\headheight-\headsep-\footskip)/2 - 1in}. The following diagram, copied from the geometry package documentation, demonstrates how the includehead and includefoot options affect calculation of the document's text height: Note that the geometry package refers to the height of the text area via the option textheight whereas LaTeX uses the similarly-named \textheight page layout parameter. Some of these tools do not have the same interpretation of the DVI, PS and . Your geometry set up is a bit wrong. There is no "footer box" of a predetermined height. Try. This new . textheight. Let's see an example with some of the aforementioned options: No main breaker? The paper size can be set to any size you need by means of the command papersize= { width , height } . Margins need to be large given what you have in the header and footer. What I need is the following: left margin: 4.0cm. top margin: 2.5cm. If includehead is set to true, headheight and headsep are considered as a part of height. Without package calc, the above example would need more tedious settings. In this case, what you have to do is just \usepackage[text={7in,10in},centering]{geometry}. \marginparwidth. Package geometry provides an easy way to set page layout parameters. Corresponds to element 8 in the figure. headheight,headsep,footskip includehead includefoot top bottom heightrounded textheight \baselineskip \topskip \baselineskip \topskip "underfull vbox" MacOS Terminal start up slow, the window title transitions between "login", "env", "bash" then "zsh" - but /bin/zsh starts fast in isolation. 3. right margin: 2.0cm. . latex myfile # TeX DVI dvipdf myfile # DVI PDF TeX DVI PS PDF; latex myfile # TeX DVI dvips myfile -o myfile.ps # DVI PS ps2pdf myfile.ps myfile.pdf # PS PDF Sadly the PDF output page size may not be completely respectful of your settings. \footskip is the vertical length between the bottom of the text area and the bottom of the area reserved for footers. bottom margin: 1.0cm. marginparwidth, marginpar Width of the margin notes. In this case, what you have to do is just \documentclass[paper = a4]{scrartcl . Package geometry provides This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. In the same way, includefoot takes footskip into height. -\headheight-\headsep-\footskip)/2 - 1in}. \geometry { a4paper, left=20mm, right=20mm, headheight=4cm, top=5.5cm, bottom=4.5cm, footskip=4cm } The headers can be made to overlap by putting them in the centre of the page in a box with .