{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
2answers
38 views

Can I change position of geometry crop marks showing the same crop area?

I wonder if I can left more space between the geometry crop marks and the text itself. I don't want to change the cropped area. MWE demonstrates obvious behaviour of geometry crop marks. ...
4
votes
2answers
38 views

How to fully center a \Shapepar?

I'm adding a colophon at the end of my document inside a \shapepar, however it appears at the top left of the page, and I can't manage to center it, both horizontally and vertically. I've loaded the ...
1
vote
1answer
37 views

geometry margins and text width don't add up

I'm making a set of cards with text elements read from a csv file and placed on each card. I've simplified my layout problem in the example below. (The full version has additional graphics, hence my ...
2
votes
1answer
108 views

Using parskip and geometry package correctly in my document

In another question asked here (Customizing chapter and section style (scrbook)), esdd gave me some recommendations for improving my code. I'm opening here a new question for not mixing things. The ...
1
vote
1answer
46 views

Zeno's Paradoxes Graph with Latex (half circles, arcs and spirals)

I am pretty new to Latex and wanted to know how would go about to create the following graphic or something similar (only interested in geometrical aspect, not the turtles and achilles) with Tikz or ...
14
votes
0answers
194 views

Is there a reason for \usepackage with options in a separate line?

I understand that these two commands do the same thing: \usepackage[letterpaper, landscape, margin=2in]{geometry} and \usepackage{geometry} \geometry{legalpaper, landscape, margin=2in} Is there ...
2
votes
0answers
25 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 ...
0
votes
1answer
38 views

How to get 'Scale/Fit to page' behaviour automatically when printing?

I have slides created like this: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[american]{babel} \KOMAoptions{paper=128mm:96mm}% like Beamer \usepackage[includefoot, left=5mm, ...
0
votes
0answers
17 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 ...
1
vote
1answer
35 views

Custom chapter number with titlesec and geometry: number past page border

I have used the titlesec package and geometry package to get the following chapter style (note that I'm using XeLaTeX): This works, however I am unable to align the chapter number in the way I ...
2
votes
1answer
42 views

Setting a minimum margin size with the geometry package

When using the geometry and fancyhdr packages it is possible to specify margins that are too small to hold the header and footer. \documentclass{article} \usepackage{geometry} \usepackage{fancyhdr} ...
1
vote
1answer
19 views

Using `\headsep` with the geometry and fanchyhdr packages

I thought that the text on the page was supposed to start \headsep below the header, but that does not seem to be the case when I use the geometry and fancyhdr packages \documentclass{article} ...
3
votes
2answers
58 views

How to adjust tabular width to math body as defined by geometry?

How to adjust tabular width to math body as defined by geometry? In the following example the table goes more to the right than the border of body as defined by geometry package. ...
1
vote
0answers
36 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 ...
3
votes
1answer
123 views

TikZ Planes Intersecting Hyperboloid

I would like to draw something like the image below (or as close as possible!). I cannot copy and paste it directly into the presentation I am writing as I need to do quite a few edits. ...
1
vote
1answer
25 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í ...
3
votes
1answer
39 views

“Temporarily” rendering PDF without page borders

When rendering documents in LaTeX, the document class determines the sizes of page borders etc. I do not want to change them. However, during the editing process, one usually looks at a file only on ...
1
vote
0answers
35 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): ...
0
votes
0answers
25 views

Standard textwidth with geometry package [duplicate]

I really like the way LaTeX puts text on a4paper (quite large margins), but I need to \usepackage{geometry} to change the layout of my appendix. What options should be used with geometry to make ...
2
votes
1answer
54 views

overlay latex output on top of VerbatimInput TEXT file

just like How can I superimpose LaTeX / TeX output over a PDF file? except I want to write over a multi-page text file, brought into my main .tex file with: \newgeometry{left=3mm,right=5mm} ...
15
votes
1answer
103 views

Conflict between fontspec and geometry

Using the option lines=x of geometry does not give the expected result when the fontspec package is used in the same document. For example, declaring lines=40 does not result in 40 lines per page but ...
2
votes
2answers
65 views

How to convert a Book pdf for printing on Landscape Letter size pages

I've got a template for a book that uses the scrbook koma script class. My output pdf is several hundred pages. Before submitting to the print on demand company (CreateSpace, they use true to size ...
1
vote
1answer
38 views

How do I get this two-page, bordered page layout?

I seem to not be able to get the following style for my pages (printed two-sided A4, the "Front" represents the face that faces the reader by default) with the \documentclass[twocolumn]{article}: ...
1
vote
1answer
31 views

how to use flashcards package and print one per page?

I'm using the flashcards package to create a deck of cards. For home printing, I usually use the avery paper which works great (printed 10 to a page). I also want to print them professionally and ...
0
votes
1answer
67 views

Position included Pdf in twosided document using A4 papersize and C5 layout

I want to position included Pdf in twosided document, actual size C5 but printed on A4 paper, showing cropping marks. Included Pdf has already set hmarginratio to 2:3, so I need to center him ...
1
vote
1answer
50 views

No page number after afterpage

Why is no page number shown on the page after the one generated by afterpage? \documentclass{article} \usepackage{afterpage, geometry, lipsum} \begin{document} \lipsum \afterpage{% \clearpage ...
3
votes
2answers
153 views

How to make marginratio from geometry package work also with LaTeX3?

With LaTeX2e, the marginratio key provided by geometry package can be used safely: \documentclass{book} \usepackage{geometry} \usepackage{calc} \newlength{\mylayoutwidth} \newlength{\mylayoutheight} ...
1
vote
1answer
51 views

Setting custom margins using geometry package results in incorrect indent style of itemize

I'm currently writing a report and the professor asked me and also other students who do that to use a specific margin. My documents uses the article document class and also \usepackage[left=25.4mm, ...
1
vote
2answers
96 views

How to change margins in documentclass thesis

I am using a template for my thesis and I would like to change the margins. Actually, I'm satisfied with all the margins, except the top margin which is too tight. But when I try to use geometry ...
5
votes
1answer
204 views

Tufte layout in “Painless Memoir?”

I'm trying to bring together two styles, the airy Tufte's page layout ... and Michael OKane's "painless Memoir" document found on this site. I've tried to edit OKane's template directly; I've ...
3
votes
1answer
46 views

Geometry and Equation centering: strange behavior

I have found a strange "bug", where my equations do not seem to be aligned correctly when using the geometry package. I try to explain this behavior in more detail using this MWE: \documentclass[ ...
2
votes
0answers
25 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 ...
0
votes
1answer
24 views

Remove left padding with geometry package

i'm trying to make a checklist for glider flying, and i'm unable to tell latex to remove all margins whatsoever from the page. This is what my code looks like: \documentclass{minimal} ...
3
votes
2answers
36 views

again, with a caveat, really wide table on one landscaped page

I've seen a lot of questions about, separately and together, landscap-ing one page and really wide tables. These I see usually involve packages changepage and/or geometry, and lscape or pdflscape. ...
1
vote
1answer
38 views

How to move the squared rectangular in the document (see the picture)

I can't solve another two problems because of a error when I click on compile. could you help me? 1) A part of the document it's not printed 2)The boundary of the rectangular black is interrupted. ...
1
vote
1answer
52 views

\newgeometry introducing a blank page into document

I've seen similar questions on here but solutions don't seem to work. Basically I am trying to input a figure into my document in the middle of the page without worrying about margins. What I have ...
1
vote
0answers
31 views

Using geometry without modifying default margins [duplicate]

I would like to use the package geometry since it's a convenient tool to change margin locally in my book document. The problem is that the simple fact to call it in the preamble modifies the default ...
0
votes
0answers
45 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 ...
4
votes
1answer
39 views

How to adjust the `absolute text-height` including the header/footer/footnote (if any)

I would like to have a document of a given absolute text-height (say 20cm) (from the header to last line, including footer/footnote, if any). Currently the settings are as in the following document. ...
3
votes
2answers
46 views

Geometry package: Center footer relating to the pagewidth

I'm working on the final layout of my text. I've set some margins with the geometry package: \documentclass[ngerman,12pt]{article} \usepackage{geometry} \usepackage{pagecolor} \usepackage{lipsum} ...
3
votes
1answer
84 views

resume doesn't format well

So here is the link to tex file of my resume and here is how it is shown: As you see, things like Research and Honors and Awards are clipped. Anyway you can help me to fix it?
1
vote
1answer
30 views

Is it possible to use mylatex or mylatexformat for documents with preambles almost the same?

I have documents of this form: \documentclass{article} \newlength{\variableLength} \setlength{\variableLength}{xxxx cm} \usepackage{package1} \usepackage{package2} \usepackage{package3} ...
2
votes
2answers
73 views

Is it possible to store the height and width of an imported document in variables and adjust the page to fit it (reverse-engineering layouts)?

For example, let's say that I use the pdfpages package and import a PDF. Is there any way (without using an external scripting language like Python) to access the dimensions of the PDF? Can I pass ...
2
votes
2answers
58 views

How to make the margins relative to the actual content rather than the baseline?

I need to have small margins in my document. It seems that the margins are relative to the baselines rather than the content. See this example, where the content is cut out of the page: ...
1
vote
2answers
82 views

fancyhdr resets geometry to adjust header heights?

I use two pagestyles fancy for the default header and plain for headers on chapter pages. These headers should have completely different heights, however, it looks like latex adjusts both header ...
2
votes
2answers
56 views

Too much whitespace on the bottom: how to make it as much as that on the top?

This is the code for the cover of my thesis: \documentclass[a4paper]{report} \usepackage[top=3cm, bottom=3.5cm, outer=4cm, inner=4cm, marginparsep=0.7cm, marginparwidth=1.5cm]{geometry} ...
1
vote
1answer
38 views

How to change the default height of pages and frames in Beamer?

In the Beamer class, is it possible to change the height of a page and frame? I'm producing a document for web display and would like it to be on a continuously scrolling format so I would like to ...
3
votes
1answer
134 views

How to set margins and page size in pdfLaTeX without geometry?

What is the TeX equivalent of \usepackage[paperwidth=10cm, paperheight=15cm, margin=0mm, bottom=1mm]{geometry} ? I know nothing in TeX and so far, I am playing ...
2
votes
1answer
67 views

Have \newgeometry automatically reset after 1 page

I would like to adjust the margins for a single page in a document using \newgemoetry{} and then have it reset automatically once it goes to the next page without finding the specific word or sentence ...
0
votes
1answer
38 views

How to obtain PDF size in LaTeX--70x60mm

I have to obtain PDF size 70 x 60 mm. How to obtain these sizes?