{geometry} is a package that allows to change the margins of (whole) pages and, conversely, the width and height of the textblock and its positioning on the page.

learn more… | top users | synonyms

1
vote
1answer
29 views

nbconvert-generated labels fail with babel, work without it or with large margins

I'm using ipython nbconvert (which uses pandoc) to transform an IPython notebook and the document code contains the following lines \subsection{Vytvářeni polí ...
0
votes
1answer
39 views

Align sections titles with margin notes

I want to align sections titles with margin notes as shown below. \documentclass[12pt,a4paper,twoside,openright]{book} % Page format \usepackage[left=2cm,right=6cm,top=3cm,bottom=2.5cm, ...
6
votes
0answers
120 views

Why does \newgeometry from the geometry package not change the papersize?

What technical reasons are behind this? From manual of package geometry: ... paper size options (such as papersize, paper=a4paper and so forth), which can’t be changed with \newgeometry.
4
votes
0answers
88 views

Geometry package unexpected interaction with global twoside option and baselinestretch

The gif animation is obtained with the following tex code (by commenting out and restoring the corresponding parts of the preamble) and demonstrates that if twoside option is supplied as a global ...
3
votes
0answers
372 views

How to set proper paper margins?

I am trying to send a paper to a conference with specific margin requirements. I use the geometry package to define the margins. \usepackage[papersize={8.5in,11in}, left=1in, right=1in, top=1in, ...
3
votes
0answers
355 views

How to set a binding offset with tufte-book class?

I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
3
votes
0answers
57 views

Using a switch to pass an option

I created a switch which is defined iff a new geometry should be twosided. Currently, my code looks like this: \ifdefined\@TwosideSwitch% \typeout{SwitchGiven!}% \newgeometry{twoside=true, ...}% ...
2
votes
0answers
48 views

Table of contents and references not aligning to margin

For my dissertation I have to alter the margins (to allow for binding) which I have successfully done using the geometry package. My problem is that my ToC and references have not moved. What I have ...
2
votes
0answers
35 views

Does memoir and geometry mix well?

I have somewhere along the way gotten the impression that the geometry package and the memoir class handles the page-setup a bit differently, but I have also gotten the impression that they do not mix ...
2
votes
0answers
28 views

Page margins in .Rtex

I'm using ShareLatex to write my thesis (which relies heavily on R) but the page size changes when I set my document to "main.Rtex" instead of "main.tex". I provide a minimal example so you can check ...
2
votes
0answers
206 views

Newgeometry changes all document

I am trying to set different margins for some pages of my Thesis. Essentially, I want some pages to have larger margins, since they contain big tables. I use the \input command to include big Tables ...
2
votes
0answers
56 views

Why does increasing hscale produce overfull hbox?

I would like help understanding why increasing the proportion of the page available for text produces an overfull \hbox error. In the output, this results in my preliminary markers being skewed right. ...
1
vote
0answers
39 views

Can't change papersize even with geometry

I'm writing my thesis. To be printed, the paper must have a height of 24cm and a width of 16cm. The margins must be of 2cm. ...
1
vote
0answers
26 views

Changing geometry for one page only (two-columns)

Let's say I have a two column book. I'd like to have only one page with a different geometry. What I mean is I want to start a page with a new geometry (using the \newgeometry command just after ...
1
vote
0answers
38 views

Divide one pdf file into more tiles

I need to split a single pdf file into multiple pages. Well, let's say the file is 1 x 0,2 m. I'd like to obtain an output file where every page has the dimension of 3 x 20 cm. I'm trying to achieve ...
1
vote
0answers
37 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. ...
1
vote
0answers
63 views

How set margins to print when pdf files are inserted?

I am using book style to prepare a meterial(which has to be printed and binded) which contains so many pdf files.. To include the pdf files I am using \includepdf options by using the package ...
1
vote
0answers
44 views

geometry's bindingoffset seems to be ignored

The geometry's documentation tells: page 9: "bindingoffset removes a specified space from the lefthand-side of the page for oneside or the inner-side for twoside.", page 10 (caption of Figure 6): ...
1
vote
0answers
166 views

How to change margin for first page of Bibliography Only

I need the top margin to be 2 inches on the first page of my Bibliography and all subsequent pages in the Bibliography to have 1 inch top margins. I am using BibTeX to manage my references and using ...
1
vote
0answers
102 views

How to center horizontally the text area in the “tufte-book” class?

In the following code, I want to center horizontally the text area (main body+margin area), but the centering option of the geometry package doesn't have any affects. Is there a way to do this? ...
1
vote
0answers
220 views

print crop margings for bindingoffset

I would like to have a template for reformatting some arbitrary \LaTeX document in a way, that I can print and cut it, to glue it into my lab-book. To this end, the output should introduce a ...
1
vote
0answers
687 views

control margins with geometry or fullpage

Is there a better way to set \topmargin -1.5cm \textwidth 15.5cm \textheight 23.5cm \oddsidemargin 0.7cm \evensidemargin 1.2cm perhaps using \usepackage{geometry} or \usepackage{fullpage}? What are ...
1
vote
0answers
37 views

How to lock some part of marginpar area?

Consider the following layout. I'd like to lock some part of marginpar area. For example, after 6cm from the top, skip 4cm and the margin area continues below.
1
vote
0answers
133 views

Spacing within a box, relative to the page

I am attempting to place a textbox precisely 75mm from the top edge of a page (to correspond with a cut-out on the cover). On printing this out, I noticed I was getting positioning problems, so got ...
0
votes
0answers
13 views

How to lay out a nonstandard page size for a tufte-book

I need to typeset a tufte-book with a page size of 5.5'' * 8.5''. I know I need to use geometry to deal with the nonstandard page size. Do I need to declare every parameter explicitly, or do certain ...
0
votes
0answers
40 views

eps figure fitting not exactly inside the \textwidth

There is a *.eps figure of size exactly 6.5inch by 6.5inch (no white borders). This figure needs to be placed exactly inside the document, which has a \textwidth = 6.5". Logically the *.eps should ...
0
votes
0answers
39 views

Latex: Geometry and fncychap packages create an ugly header - How do I correct that?

I am trying to use the geometry package for a oneside layout. However it apparently does something unpleasant with my headers. The bottom right part has a rectangle cut out. Without the binding ...
0
votes
0answers
24 views

Geometry package working but having trouble w/ headheight, headset etc

When the code below, the compiler does seem to take into account the command headheight, headsep though it seems to respond to the other ones (voffset,show frame,etc...) What am I doing wrong ? ...
0
votes
0answers
42 views

How to change geometry and remove page number from page containing one large figure only without automatically inserted blank page?

I want to have a large figure with its label at the very end of the previous page. The figure is very large so I want to set top margin to 0 and remove page number from the page with figure. Figures ...
0
votes
0answers
19 views

How to prevent Coverpage and Tableofcontents to set margin

I set the margin like this: \usepackage[top=2.5cm, outer=1.5cm, inner=3cm, bottom=2.5cm]{geometry} But on the first two pages (Coverpage + TableOfContents), I want to have the same margin on the ...
0
votes
0answers
57 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer http://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
0
votes
0answers
62 views

Geometry package: Lengths saved by default. Options for save/load/restore

The geometry package: Package lengths are not saved as lengths. Examples: layoutheight, tmargin The following only affect the complete layout: \savegeometry \loadgeometry \restoregeometry ...
0
votes
0answers
168 views

Conventional margins and font size for a (big) thesis in computer science

I am writing a big thesis in computer science. I use geometry package for the page layout. For the font size, I hesitate between 11pt and 12pt. Let's assume I use 12pt here. Because I want the page ...
0
votes
0answers
142 views

Wrong A4 measurements that are not “pagesize” solvable

I would like my pdf document to have an a4 format. \documentclass[a4paper,12pt,oneside]{article} \begin{document} Text, text, text... \end{document} Unfortunately, when I print the pdf document ...
0
votes
0answers
171 views

Geometry Package Not Working with Standalone Class

Here is my TeX file (test.tex) I am trying to process (initially the TeX was successfully being processed on an Ubuntu 10.04 OS, but the server I am on was upgraded to Ubuntu 12.04 and now things ...
0
votes
0answers
448 views

How to fix the geometry error: \paperwidth too short when using the savetrees package with sig-alternate

I am trying to use the savetrees package with the sig-alternate class but I am receiving the following error: /usr/local/texlive/2014/texmf-dist/tex/latex/geometry/geometry.sty ! Package geometry ...
0
votes
0answers
62 views

Hi. How create a book with total page size (215mm,285mm)?

I use This code: If this is corect? ‎‎\usepackage[‎a4paper,total={215mm,285mm}‎,‎top=3cm,bottom=3cm,headsep=10pt, vmargin=2cm, outermargin=7cm, innermargin=2.5cm, marginparwidth=4cm, ...