Search results
The page dimensions in a LaTeX document are highly configurable and the geometry package offers a simple way to change the length and layout of different elements such as the paper size, margins, footnote, header, orientation, etc. Example.
22 lip 2011 · There are three different ways to define the margin/padding: \marginbox{<all sites>}{<content>} \marginbox{<left/right> <top/bottom>}{<content>} \marginbox{<left> <bottom> <right> <top>}{<content>} Or use \adjustbox or {adjustbox}: \adjustbox{margin=...}{<content>} \begin{adjustbox{margin=...} <content>.
Vertical padding is also possible in a manual way or on a per-row basis using the optional parameter to end a tabular line; \\[<len>] where <len> is any familiar TeX length. A final alternative is to use the set the length \extrarowheight provided by the array package.
The last few slides show how to arrive at simple equations which can be used to use convert a set of traditional measurements (page width/height and margins) into equivalent LaTeX parameter values to reproduce your book’s layout in LaTeX.
It's in the Document Structure part of the Latex wikibook. You can use the geometry package to specify your margins: \usepackage{geometry} \geometry{top=3cm, left=2cm, right=2cm, bottom=3cm}
6 dni temu · Articles are by default one-sided, books are two-sided. Two-sided documents differentiate the left (even) and right (odd) pages, whereas one-sided do not. The most notable effect can be seen in page margins. If you want to make the article class two-sided, use \documentclass[twoside]{article}.
Today geometry supports changing the margin inside the document by its commands \newgeometry{...} accepting the same key=value arguments and by \restoregeometry, see the manual of the current package version.