{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

2
votes
0answers
18 views

How can I override geometry's scale in the preamble? (E.g. if a class or package has set a default using geometry.)

With some geometry options, it is possible to override a previous setting in the preamble. For example: \documentclass{article} \usepackage{geometry} \geometry{hmarginratio=1:1} ...
1
vote
0answers
14 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 ...
0
votes
2answers
30 views

Adjust margin: Chapter title extends in left margin

I am using a custom document class and template for my thesis. Both can be found here (they are really long, otherwise I'd copy and paste): ...
2
votes
1answer
70 views

With too many figures, change the page geometry to fit in more figures after the text

My problem is the following: I have a lot of figures to add in my report. These figures are usually about 0.4 of the height of the page. With the caption, the height is more like 0.55 or something. ...
4
votes
1answer
17 views

Typesetting verse with line numbers directly adjacent (not in margin)

When I quote verse (in a document typeset by XeLaTeX), I would like to be able to place line numbers directly adjacent to the lines, not in the margin to the left. For example: ...
1
vote
0answers
35 views

Report template for thesis [closed]

I am writing my thesis using the report template. I want to start counting the pages from the first chapter and leave all the presentation pages with no page numbering. I also need to reduce the ...
2
votes
1answer
32 views

How to get in preamble the correct total pages number?

Context: In a personal class (for two sided documents), I'd like to translate the layout area towards inner or outer margins (thanks to geometry package's settings), depending on the total pages ...
4
votes
2answers
43 views

Confusion with showframe when using bindingoffset and scrreprt

I tried to define a bindingoffset in my onesided scrreprt document and wanted to check the layout with the showframe package, but it isn't working as expected. Here is a MWE: ...
2
votes
1answer
55 views

Making a paperback book from a LaTeX file [closed]

I was directed here by the good people at Ask Metafilter. This site will only let me post 2 links, so for the others please look there. I need to reformat a LaTeX document: PDF for printing as a ...
0
votes
1answer
57 views

Screen-friendly layout for preview

When editing a LaTeX document, I prefer having the source on one display and a live preview (by means of latexmk -pvc or similar) on another display. When the secondary display can be physically ...
1
vote
0answers
38 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
1answer
42 views

How to adjust textwidth and textheight to paper size in mid document? (and header and footer “length” as well)

I want to adjust textwidth and textheight to papersize in mid document, that simple. I am planning to change some pages paper size, but I need both the header, footer and text to adjust (better if ...
1
vote
1answer
114 views

Changing the size of this latex CV template from A4 to letter size

I have downloaded this CV template from LatexTemplates: It uses a very very old library called res.cls which can be found here. The problem is that the size of this PDF is A4 and not letter size. ...
6
votes
2answers
76 views

Creating a document with no borders or margins

I want to create a small flyer. It should be folded once and have four pages in total. Also, I need a special geometry. So far, I am trying to achieve that using minipages. Here is my MWE: ...
0
votes
0answers
52 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 ...
6
votes
1answer
141 views

How can I readjust TikZ's dimension variables to fit mid-document dimension change?

Question How can I readjust TikZ's dimension variables to fit a mid-document dimension change as in this example and using the TikZ drawing from here. Problem TikZ coordinates are not where they ...
2
votes
1answer
43 views

Geometry does not seem to change the margins

I am trying to change the margins of my document with geometry. It seems not work. this is my preamble \documentclass{article} \usepackage[paper=a4paper,showframe=true, ...
6
votes
2answers
153 views

Line numbers collide with marginnotes on even pages in a book

I am having a bit of a problem with margin notes colliding with line numbers on the even pages of a book. I would like to adjust the margins so that the notes can stay where they are. I think this ...
4
votes
1answer
39 views

Making a class to change the margins of TeX file, it fails

I'm currently trying to develop my own resume however I'm having trouble making a .cls file that does anything that makes since. As of now I'm simply trying to change the margins. Tex file ...
2
votes
1answer
52 views

Trouble sizing Latex PDF page with Memoir

I am trying to typeset a 5.25in x 8in book using LaTex and Memoir, and while I have managed to get a nice looking book, the problem is when the PDF is brought up the page dimensions are 5.50 x 8.50 ...
3
votes
3answers
141 views

How can I maintain the current page nodes for portrait when temporarily entering landscape mode in TikZ?

Question How can I keep the current page nodes aligned with the same physical corners of the page in a document where the main layout is portrait, but some pages with longtable are in the landscape ...
3
votes
1answer
54 views

Aligning a minipage in the absolute top left

I'm formatting a cover design in LaTeX. The cover has pages of 145×210mm which includes 3mm margin. The side should be 13.93mm wide and the bleed is 3mm. This gives me the following code, which ...
4
votes
1answer
137 views

KOMAoptions{headsepline = true, footsepline = true} change geometry settings

I am using tex(-based techniques) for the first time. Currently I am writing my doctoral thesis via pdflatex and encounter an annoying problem: My university predetermines very strict page geometry ...
2
votes
0answers
34 views

How to eliminate extra margins around text? [duplicate]

I have a problem that the regular text of the article adds extra margins to the specified margins. To make it more clear, whatever I do, the text is "narrower" than what I specify with the geometry ...
0
votes
0answers
69 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 ...
1
vote
1answer
139 views

Is a4 = a4paper?

\documentclass[12pt, a4, twoside, openright]{book} Above is from my university master thesis template, I checked other schools templates, they all use ...
0
votes
0answers
75 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 ...
2
votes
1answer
50 views

\newgeometry fails to change page margin inside enumerate

Please see the following code. Here, I try to change page margin inside an enumerate environment. \documentclass{article} ...
5
votes
0answers
49 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
1answer
46 views

How to get a centered colored box

I want to create a centered colored parbox, but although I defined boarders using package geometry, the parbox has a greater margin left than right. Thanks for help ...
4
votes
2answers
84 views

How to completely fill page with a figure, using geometry and overpic

The LaTeX code below produces two pages. The second one is as I intended it to be: the picture filling the whole page. But when using overpic (for overlying some text), I have not been able of getting ...
3
votes
1answer
74 views

Footheight and footrule using titlesec and geometry

Consider the following MWE \documentclass[a4paper,twoside]{article} \usepackage[width=14cm,left=3.5cm,marginparwidth=3cm,marginparsep=0.35cm, ...
2
votes
1answer
119 views

Adding margin (skip) to tikz drawing

Based on few sources, I have been able to write following code to create torn paper effect: \documentclass[final]{book} ...
2
votes
1answer
33 views

How to set total space of footnotes?

How can be set the size of the footnotespace? I'm trying to get a visually constant body text, i.e. the main text should always look the same block. In order to do that, I'm leaving a large amout of ...
2
votes
0answers
57 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 ...
4
votes
2answers
105 views

minipages: multi sized minipages that use all space on the paper and automatic scaling

I am creating a sheet with solutions to different qualifying questions. Each solution takes up a different length but I don't want to waste any white space. I want to put other minipages that will ...
3
votes
1answer
63 views

How can I prevent \newgeometry from affecting bottom margin when changing the side margins?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage[english]{babel} \usepackage{tikz} \usepackage[utf8]{inputenc} ...
0
votes
0answers
77 views

Page geometry and margins handling

I'm creating a poster using baposter and the page margins aren't behaving in the way I would like for a poster, i.e. there is some asymmetry in the left and right margins that I can't remove. In the ...
1
vote
1answer
74 views

Change page layout at begin of each page

I want to have very different page layout for even and odd pages. To solve this problem i try to use atbegshi and geometry packages. But it takes a strange result: after \newgeometry executed page ...
2
votes
2answers
91 views

How can I resolve this figure margin issue caused by geometry margin options?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage{tikz} \usepackage[english]{babel} \usepackage{blindtext} ...
0
votes
1answer
78 views

How to produce a pdf in S5 or statsformat

The Swedish state paper format S5 has dimensions of 165 x 242 mm. It does not exist as a preset in the geometry package, neither s5paper or statsformat are acceptable options.
0
votes
1answer
61 views

small equilateral triangle, for symmetry groups [duplicate]

I'm currently doing a module on pure mathematics. And one thing has been bothering me slightly, I know that the material is written using latex, in some of the chapters about symmetries they use these ...
0
votes
2answers
80 views

How can I the draw the curve $f(x)=x^n$?

How can I the draw the curve $f(x)=x^n$? I need to explain the uniform convergence of this curve... help me to do this.... I can do this for finitely many values of n, for example,
3
votes
2answers
101 views

Custom page-size names in Latex

I was wondering if it is possible to "extend" existing page sizes in \documentclass{book} something like \documentclass[crownpage]{document} documentclass[demypage]{document} ... If it is ...
5
votes
1answer
134 views

Problem with cropmarks on geometry package

I want to print a page with a smaller size than and A4 paper on a A4 size layout and I want to show the crop marks on it. I specify the page and layout size in the geometry package options but as you ...
4
votes
3answers
458 views

How to eliminate over-specification in h and v warning in Geometry package?

I use a memoir class template as the basis for my own thesis. It includes the geometry package. This produces a warning but do not appear to impact on the compiling of a pdf. I use pdfLaTeX. Here is ...
1
vote
0answers
71 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 ...
5
votes
0answers
42 views

LuaTeX: Line break problem with microtype + geometry (bindingoffset) [duplicate]

I have a problem with the combination LuaTeX + package microtype + option bindingoffset from the geometry package when typesetting the following example: \documentclass[11pt,a4paper]{article} ...
0
votes
0answers
54 views

Geometry with Latex [duplicate]

I am a new user to Latex. How do you draw geometry with Latex? Do you have to enter code? Or there is a convenient tool that you can just drag lines and it will give you the code with your drawing? I ...
2
votes
1answer
51 views

Defining a command for changing the line width or the right and left margins?

I am trying define a multi-parameter command which would break up the text to be only 34 characters per line or I suppose another way to look at it would be to have a left margin of 2.7in (1in more ...