Tagged Questions

{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
98 views

customs margins of my paper [duplicate]

Possible Duplicate: Latex margins, need specific advice for publishing specifications I'm trying to set the margins of my paper using geometry. I would set the margin of binding 3.5cm ...
3
votes
0answers
188 views

Change geometry for 'empty' page style only [duplicate]

Possible Duplicate: Change \textwidth and \textheight in mid-document Change page layout after first page I need to make the margins on the first page of my article larger than those on ...
9
votes
2answers
497 views

How do I typeset a file containing ASCII art using a fixed-width character font?

I have a string with the text precisely spaced the way I want it displayed. It's sort of an ASCII art project. I want to convert this text to a PDF so I can print a poster with the text at my local ...
0
votes
2answers
115 views

Why is the picture not inserted?

When I pdflatex the text below it doesn't insert the picture, but writes the name of the file instead (pic). And the geometry line gives the error ! LaTeX Error: Missing \begin{document}. The ...
21
votes
5answers
3k views

Wrong A4 measurements?

I noticed that the paper size invoked by a4paper is not working right in my examples: \documentclass[a4paper,11pt,oneside]{article} \begin{document} Test \end{document} I checked with Preview.app ...
3
votes
1answer
635 views

Using the booklet package and the geometry package together

When I use the booklet package alone, it works just fine and produces the output I expect. However, when I combine it with the geometry package, it produces really bad output. Here's my MWE. First, I ...
2
votes
1answer
768 views

Setting coordinate system for TiKZ picture

I'd like to use TiKZ to generate stand-alone PDF diagrams programatically. I have an application that generates simple geometry of lines and arcs etc and I'd like to create (using e.g. Ruby) TikZ ...
9
votes
1answer
2k views

Change page layout after first page

currently I'm trying to prepare a letter head with XeLaTeX. The first page of the letter should have a sidebar on the right. For this sidebar, the text width should be shrinked to approx. 80% of its ...
5
votes
2answers
1k views

How to use the geometry package with newlfm documents?

I am using the newlfm letter documentclass, and try loading the geometry package. This returns the following error: ! LaTeX Error: Command \geometry already defined. What I want to do is put more ...
12
votes
3answers
324 views

Arithmetic in arguments to the geometry package

I'd like to use the geometry package to auto-crop the output of my LaTeX (so that it looks bigger on-screen as I'm editing). I have found a way to remove the margins completely and brutally: ...
9
votes
2answers
2k views

Text placed below bottom margin that is not footnote

I'm using package geometry to specify global document margins: \usepackage[scale=0.82, top=1.5cm, bottom=2.5cm]{geometry} But I have a piece of information that I would like to add on first page on ...
5
votes
1answer
213 views

trying to set text where section header has different margin and textwidth from section text

i am trying to set some text where the section header has a different margin and textwidth from the section text. the screenshot shows a mockup of how i would like the final layout to look ...
13
votes
3answers
4k views

a4paper, where should I declare it? In document class or geometry?

I currently have an article document class and I previously changed it to include printing on A4 paper: \documentclass[12pt, a4paper]{article} However, I had to change my margins to meet my ...
6
votes
2answers
693 views

“Double use” of a4paper (geometry/KOMA)?

In my preamble, should I give the a4paper option just once or twice, i. e. once for the KOMA-script document class (scrartcl) and once for geometry? Is this redundant or does scrartcl need the option ...
3
votes
2answers
800 views

Geometry Package - Layoutoffset: Distinction Between Odd and Even Pages Possible?

Currently I'm preparing a book for publishing. My printer wants a non-circumferential bleed around the pages, 0.125" at the top, bottom and outer side, but no bleed at the inner side. As far as I have ...
5
votes
2answers
2k views

Can I add border margin into beamer frame body

In default, beamer class loads the geometry package. And I dont know how to map the \paperwidth and \textwidth to its mechanism. My requirement is very simple. I want to add some margin to {top, left, ...
2
votes
1answer
532 views

How can I set a a4 landscape page with crop marks?

I need to set a a4 page in landscape mode with crop marks in every corner of the page. I used the geometry package with the following values, paperheight=22.76cm, paperwidth=31.46cm, a4paper, ...
14
votes
2answers
3k views

Printing/typesetting two A4 pages from a single-page A3 document in TikZ

I'm currently working on a huge graph using a A3 format, with the landscape option. I don't usually work on A3 pages, but this is not a mistake. I purposefully chose this format because it's made of ...
2
votes
1answer
568 views

Page number in top-right corner 15 mm from top

I am using next snippet to set page number in top-right corner. It works fine for me, except I want to place page number exactly 15mm from top edge. Is it possible? Thanks. \usepackage{fancyhdr} ...
3
votes
2answers
1k views

Problem with setting correct custom page size with 'geometry' in xelatex

I'm trying to set the page size using the geometry package as shown in the following MWE, compiled with xelatex test.tex: \documentclass[12pt]{article} \usepackage[b5paper,pass]{geometry} ...
10
votes
1answer
538 views

Visualizing correct page lengths with 'layouts' and 'tikz' packages?

I am currently working on a project with xelatex/fontspec and tikz, and so, this example is basically the same as the one from layouts package reads all length as zero with tikz/fontspec/xelatex?. ...
5
votes
1answer
684 views

Combine geometry and KOMA-Script’s DIV calculation (or: Make \newgeometry only set the explictitly given values)

I wonder if it is possible to combine geometry and the type area calculation of KOMA-Script. I’d like to use the calculated area but set (e.g.) the top margin to 1cm, without touching the other ...
2
votes
1answer
75 views

Specifying dimensions of text

For a submission requirement I need that my document exactly fills a box of m x n inches. Does anybody know how I can specify this in LaTeX?
4
votes
1answer
213 views

Relative change of page dimensions with geometry

When using the geometry package, how do I change parameters in relative amounts? For example, I would like to do something like: \newgeometry{top=top+2cm, bottom=bottom+2cm} which increases the ...
3
votes
1answer
1k views

Memoir and geometry

I am using geometry with memoir. I use it to change the margins of my document temporarily, e.g.: .... \savegeometry{the_original_geometry} \newgeometry{top=2.5cm, bottom=2.5cm,headsep=0cm} .... ...
10
votes
2answers
4k views

newgeometry makes content run to next page

Thank you all from the beginning for your help in this. I'm completely new to LaTeX as I'm writing my bachelor thesis, so I'm sure I've made lots of mistakes... I'm using the geometry package because ...
1
vote
1answer
1k views

How to change the page layout back and forth?

I'm trying to do some absolute placement on a page but because I use pdflscape, I can't use the textpos package for this. I tried around a bit with moving with \hspace* and \vspace* but this is very ...
2
votes
1answer
2k views

Setting different margin sizes in different pages [duplicate]

Possible Duplicate: Change \textwidth and \textheight in mid-document I am currently using geometry package to set margin sizes. I want to set different \topmargin sizes for different ...
1
vote
2answers
872 views

verso and recto page margin swapped

During thesis writing, I noticed the recto and verso page margins are swapped. In other words, e.g. page 23 is on the right side (as should be) however it has verso margin setup. The text is thus ...
4
votes
1answer
1k views

Removal of binding offset when submitting digital version of document

I'm writing my dissertation in LaTeX, and we're required to submit a paper copy and a PDF copy. For the paper copy, I'm using: \documentclass[twoside]{scrartcl} \usepackage{fullpage} ...
6
votes
2answers
3k views

pdfpages package and layoutsize (geometry package)

I tried to include a PDF page using the pdfpages package — this works well for a standard case, f.e. (t.pdf is the first page of the PGF manual): \documentclass{scrartcl} \usepackage{geometry} ...
8
votes
1answer
423 views

How can I use the layout and twoside options of the geometry package?

When I use the geometry package (2010/09/12 v5.6) for a twoside document with one paper size (e.g. A4) and another layout size (e.g. A5), I had expected that I could print a page, turn the paper, ...
20
votes
2answers
2k views

Default margins for geometry package

I want to explicitly specify sizes of my document. For this purposes I use geometry package. I do the following (I found the solution here): \documentclass{article} \usepackage[paperwidth=2394pt, ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
8
votes
2answers
1k views

Exact centering of full-page background image

Here's the situation: I have to use memoir (v3.6j), with geometry (v5.6) and LuaTeX, version beta-0.70.1-2011061410 (rev 4277) in an A5 project which, in the final output have to be 3mm larger from ...
13
votes
1answer
10k views

Defining page margins with \geometry for two-sided documents

How do you set page margins using \geometry for a two-sided document? So far I've used the twoside option in my documentclass, which automatically widens the left/right margin on opposite sides of odd ...
15
votes
2answers
879 views

Problem with the geometry package reset option

Page 11 of the geometry package manual says that the reset option sets back the layout dimensions and switches to the settings before geometry is loaded. On page 30 there is a slightly different ...
2
votes
1answer
2k views

Using \restoregeometry in environment, next page runs off the page bottom

The problem is as follows. In a memoir document, I defined the page geometry: \usepackage{geometry} \geometry{ paperwidth=5.25in, paperheight=8in, textwidth=95mm, textheight=150mm, outer=17mm } ...
10
votes
2answers
5k views

Problem with the header/ footer width

I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this? ...
7
votes
1answer
3k views

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 ...
2
votes
1answer
2k views

How can I customize 'headsep' attribute in the geometry package so that I can set it for individual pages?

I use the \geometry package for formatting my CV, and I know (from How to remove vertical space between header and body of text?) that I can use the headsep attribute to customize the spacing between ...
8
votes
3answers
2k views

How to change the page number from even to odd while keeping the page as verso?

I'm writing a two-sided document with a binding margin. For certain reasons, I need to change the page number at some point, so what used to be an even-numbered page is now odd-numbered. This makes ...
5
votes
1answer
3k views

Fancy headings with newgeometry

I'm working on a document consisting of several pages of text and a series of full-page figures. Since the figures are larger than the normal text width, I've used the geometry package's \newgeometry ...
9
votes
1answer
4k views

geometry, fancyhdr: \fancyfoot[C]{\thepage} is not really centered

After switching from the report class to the book class and starting to use the fancyhdr package to control headers/footers, the page numbers in my footers are no longer centered. This is my fancyhdr ...
4
votes
1answer
3k views

Geometry package arguments not doing anything

For some reason in the following code, changing the margin argument for the geometry package line does nothing to the document. Even if I comment out the geometry package it doesn't go back to the ...
20
votes
2answers
16k views

Different margins for title page

My document class is article with a4paper. The margins that I want for the body are: top: 1 inch bottom: 1 inch right: 0.5 inch left: 1.5 inch The title page should have a 1 inch margin on all four ...
8
votes
1answer
2k views

geometry package - paperwidth and paperheight aren't accurate

recognize this simple example: \documentclass[]{article} \usepackage[paperwidth=612.0pt, paperheight=792.0pt]{geometry} \begin{document} Hello World \end{document} I compiled it with pdflatex. ...
6
votes
2answers
339 views

Selecting A8 Paper

As I frequently use \documentclass[a4paper,12pt]{article} I though a simple change could select the A8 paper: \documentclass[a8paper,12pt]{article} But I get a warning saying the a8paper option ...
5
votes
1answer
964 views

Is there a way to make pdfpages adhere to the page offset set by geometry

I'm trying to include some pdf documents at the end of my document using pdfpages. My document has a binding offset as defined using the geometry package but pdfpages doesn't recognise it. I've looked ...
8
votes
2answers
2k views

How to get marginnote to use the whole margin space?

I'm typing up a document where I'd like to add notes to myself on the side margin. I'm using marginnote and using the geometry package for specifying customized margins, I've allocated 5 cm for the ...