{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

3
votes
1answer
824 views

How to specify a very long page?

I want a long page length, and even though the PDF output shows the long page, I can only get text placed on a portion of it. I used code from this question about repeating a long block of text until ...
18
votes
4answers
7k views

Draw true page border

Is there a way to draw a rectangle around every page? The problem is that my document (a Ph.D. thesis) is in a funny format (16x24cm). So to print it centered on A4 paper (for reviewing) I played ...
5
votes
1answer
440 views

Margin overflow when setting the geometry \AtBeginDocument

Using the following minimal working example \documentclass[12pt,a4paper]{article} \usepackage[showframe]{geometry} \geometry{hmargin={3.5cm,2.5cm}} \AtBeginDocument{\geometry{vmargin={12cm,5cm}}} ...
4
votes
1answer
359 views

Marginnote with geometry package

In my document i'm using the packages geometry and marginnote. The problem ist the following: If I use a newgeometry, the marginnote will stay on odd pages at same horizontaly position as by the ...
5
votes
1answer
307 views

Print from TeX to labels that have odd-sized pages

Is it possible to generate PDF files in TeX that can be printed to odd-format printers, e.g. the DYMO LabelWriter 450? This label maker prints to a roll of labels with page/label sizes such as, e.g. ...
2
votes
1answer
467 views

concurrent use of geometry package with watermarks

I'd like to include a graphic as watermark in a document with the twoside option and asymmetric page margins adjusted with the geometry package. There's a plethora of packages that are suitable for ...
2
votes
3answers
2k views

Twosided book with same page setup for every page (I want to use fancyhdr)

Here is my problem: Im writing my thesis using the book class. I want my thesis to be onesided (left and right margins of same size), but I would also like to use the fancyhdr package to give me ...
6
votes
1answer
734 views

Getting layout parameters from the geometry package

The geometry package provides a simple way to set layout parameters. For example, \usepackage[margin=1in]{geometry} will give me a document with 1 inch margins on each side. In particular, it ...
3
votes
3answers
2k views

Small bug in geometry.sty

Complete Top Left Corner Top Right Corner Bottom Left Corner Bottom Right Corner \documentclass[dvipsnames,dvips,cmyk]{minimal} \usepackage{xcolor,calc} \usepackage[% ...
28
votes
3answers
6k views

Change paper size in mid-document

My document should be letterpaper and my attachments should be a4paper. I had high hopes for the \newgeometry command from the geometry package, but the documentation says \newgeometry is almost ...
4
votes
2answers
439 views

using \frontmatter kills my {geometry} definitions

I use a the jura package to write some home work in Law (to be honest, I'm just helping my girlfriend ...). Anyways, I the header of the document I have: \documentclass[a4paper]{jura} ...
16
votes
2answers
4k views

How can I get todonotes in the left margin

I want to use the package todonotes. Standard, the package prints the todo's in the right margin, while I want to have them in the left margin. Funny is, that in the manual itself they are placed in ...
8
votes
2answers
1k views

How can I adjust margins using the geometry package so that I can put section titles in margin and not mess up fancyhdr?

I'm currently updating my CV and I am trying to mimic the CV found at http://www.tedpavlic.com/post_resume_cv_latex_example.php This particular example modifies the margins so that the section ...
4
votes
1answer
945 views

I get an error when using `\ExecuteOptions` together with `\usepackage{geometry}`

I'm writing a custom document class. It's kinda simple, but it will use the geometry package to set page size, orientation and margins. However... Whenever I use that package, the \ExecuteOptions ...
10
votes
1answer
3k views

header spacing trouble

I'm using the fancy header package, yet I've also adjusted all of my margins, to allow more text on each page as there is no need for the excessively large margins. I've run in to some trouble with ...
5
votes
3answers
8k views

Edit margins in res.cls (How to pass through correct value for “margin”?)

I'm creating a resumé using the res.cls package and need to make the left and bottom margins smaller. I know I can use e.g. \topmargin=-0.5in to decrease the space at the top of the page, but neither ...
14
votes
2answers
2k views

Storing the original document class page layout with geometry

Is it possible, using the geometry package, to store (and restore) the original layout specified by the document class (in my case, the class is report)? Here is some context. I have been editing ...
11
votes
2answers
1k views

What's the absolute largest paper size permissible with pdflatex?

I've had occasion to typeset extraordinarily large matrices, which I didn't seriously expect anyone to expect in detail (without a computer) or print, but I needed it to be obvious that they were ...