Questions tagged [geometry]

{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.

The package is useful for setting page parameters. See: http://www.ctan.org/pkg/geometry

1114 questions
11
votes
1 answer

Incorrect page dimensions

I'm trying to create a simple document, on letter paper with 1-inch margins all around. Here's the simple document I'm working…
CmdrMoozy
  • 807
9
votes
1 answer

What is the showframe option to geometry showing me?

I have compiled a document with \usepackage[showframe]{geometry} to produce the document below with some dimensions of interest annotated in red. What is the difference between dimensions a and b, or between g and h? Basically what do the lines…
9
votes
1 answer

Option clash for package geometry

I am writing a document in which I wish to switch to landscape part way through. I thought I could use the line \usepackage[a4paper,landscape]{geometry} to accomplish this but I get an error. I suspect that this is due to apa6e. Is there a…
Tyler Rinker
  • 1,093
  • 4
  • 13
  • 25
9
votes
1 answer

restoregeometry doesn't restore the geometry

I want to alter the geometry of only one page in my Latex document. So I define my geometry as a4paper and then use \newgeometry. However when I enter the \restoregeometry it doesn't restore it. What am I doing wrong? This is the basic code and I am…
Lp13
  • 93
7
votes
1 answer

Change Geometry after first page *without* knowing where the second page begins

I have this for my first page: % Custom margins - FIRST PAGE \newcommand{\lrmargin}{1in} \usepackage[top=0.5in, bottom=1in, left=\lrmargin, right=\lrmargin, heightrounded]{geometry} And I have a…
user79950
  • 303
5
votes
0 answers

How to prevent page break in using \newgeometry

Is available to use newgeometry command with…
Mrt
  • 161
4
votes
1 answer

geometry package doesn't change textheight?

When I compile this MWE, I get a box that takes up about 80% of a vertical page. Since I have specified max height=0.4\textheight in adjustbox, I'd expect a box half the size... is geometry not changing…
Mohan
  • 15,906
4
votes
3 answers

Small bug in geometry.sty

Complete Top Left Corner Top Right Corner Bottom Left Corner Bottom Right…
Display Name
  • 46,933
4
votes
1 answer

How to set equal right margin by geometry package?

It is weird that with the following options, geometry doesn't set the equal right margin, it will be alternating on even and odd pages: \newgeometry{hmargin={.5in,1.5in},vmargin={0in,0in}} I want to have all the page have right margin 1.5in and…
user19832
  • 1,585
4
votes
2 answers

Book geometry with margins and binding offset

The mwe given below illustrates my current settings in the book am working. Unfortunately I find it a bit cumbersome and outdated although it achieves what I want it to do. One of my objectives is to have both even and odd pages have the margin on…
azetina
  • 28,884
4
votes
1 answer

Centering text body and margin notes together

With geometry, I want to center text body and margin notes together, namely to center textwidth + marginparsep + marginparwidth parts of horizontal elements. I think one option would be to include margin notes into total body by includemp and center…
Naitree
  • 575
4
votes
1 answer

How to get the active left and right margins to use them in a tikzpicture?

I'm trying to use the margins defined when geometry is loaded to draw several fancy section titles using tikz. In order to make \Gm@lmargin and \Gm@rmargin usable, I have to do \makeatletter\Gm@lmargin \makeatletter\Gm@rmargin I'm only allowed to…
umarcor
  • 1,454
3
votes
1 answer

Why is geometry default vmarginratio 2:3?

I have just noticed that the geometry package default ratio between top and bottom margins is 2:3 rather than 1:1 (i.e., vmarginratio=2:3). Can anybody explain what’s the reason for this choice of default values (if any)? Is it recommended to change…
EoDmnFOr3q
  • 2,299
3
votes
1 answer

Change the inner margins according to the page count

One of the Amazon -- KDP requirements for print books is that the inner margins be determined by the page count of the book, so that larger books have more gutter -- more specifically, according to the formula: Page Count Inside (Gutter)…
Paulo Ney
  • 2,405
3
votes
1 answer

Page size only 99.6264% of the true requested size

I recently found that if you use the \geometry package to change the page size, then the actual page size is only 99.6264% of the requested page size. Here's a minimal working…
gi1242
  • 63
1
2 3 4 5 6