{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

0
votes
2answers
31 views

\newgeometry at the beginning of section

For some reasons, I would like to change the geometry at the beginning of each section, and later manually use \restoregeometry. My first guess was to use \titleformat to force the execution of ...
1
vote
3answers
56 views

geometry and fancyhdr clash

When I try and create a custom title page, I am having to adjust headerheight because of an Image that will go there. The same image will be in the header on the normal page, but slightly smaller, ...
2
votes
1answer
58 views

Section Titles in Margin Notes

I am struggling to reproduce the following layout in Latex. I have tried using the package marginnote, and playing around with geometry and fancyhdr. I end up going around and around in circles, ...
4
votes
0answers
23 views

Geometry package unexpected interaction with global twoside option and baselinestretch

The gif animation is obtained with the following tex code (by commenting out and restoring the corresponding parts of the preamble) and demonstrates that if twoside option is supplied as a global ...
1
vote
1answer
53 views

Changing a4paper to letterpaper

For starters I am a first time user of LaTeX I am formatting my dissertation using this template: https://www.overleaf.com/2943161npnxys#/8024281/ Unfortunately, the paper size in this is a4 and I ...
0
votes
1answer
77 views

Not getting the exact page margin during printout of PDF generated by LaTeX

I am using the geometry package: \usepackage[a4paper,margin = 15mm]{geometry} or \usepackage[a4paper,top = 15mm, bottom = 15mm, left = 15mm, right = 15mm]{geometry} But after taking print out of ...
2
votes
1answer
48 views

How to set an image in a header that adjusts to the edges of the page?

I'm struggling to add an image to the headers of an A4 paper document. Additionnally, my document is twoside. That's the way I'd like it to look : Basically the logo with the name and the triangles ...
1
vote
1answer
39 views

Switch from portrait to landscape maintaining margins [duplicate]

There is a portrait document in which only the second page have to be made landscape (the document has header and footer made with fancyhdr). To accomplish the portrait to landscape turn I'm using the ...
4
votes
2answers
90 views

Setting Margins Exactly - Geometry Package

My University's thesis requirements for margins (letter paper 8.5in x 11in) are as follows: Top: 1 inch; Left: 1.25 inch; Right: 1.25 inch; and Bottom: 1.0 inch I was/am having difficulty ...
0
votes
0answers
42 views

Geometry package: Lengths saved by default. Options for save/load/restore

The geometry package: Package lengths are not saved as lengths. Examples: layoutheight, tmargin The following only affect the complete layout: \savegeometry \loadgeometry \restoregeometry ...
1
vote
1answer
43 views

Custom Papersize and Layoutsize (for Springer) using a documentclass (SVMult) and pdflatex

I want a customized paper size, a customized text size and layout. Thus conforming to Springer's style requirements for scientific monographs which are different to conventional sizes like DIN A4. ...
0
votes
2answers
76 views

Top margin fancyhdr

I've been starting to use the \fancyhdr package now, using next commands: \newgeometry{left=1.5in,right=1.5cm,top=3cm,bottom=2.5cm,headheight=1cm} (after \begin{document} and after the input of the ...
0
votes
1answer
40 views

Center a title when left and right margins are not the same

I am using different margins for the left and right side : \usepackage[ a4paper, top=2cm, bottom=2.5cm, left=4cm, right=3cm, headsep=25pt, headheight=14.5pt ]{geometry} % Page margins ...
7
votes
3answers
138 views

How to avoid the geometry package to change to top/bottom margins?

For my master thesis, i need to print recto verso with margins 4cm and 1 cm (left and right). So I use the following package: \usepackage[inner=4cm,outer=1cm]{geometry} However, this increases my ...
1
vote
0answers
35 views

Change geometry of single table [duplicate]

I have a wide table, which by default makes the page look like: | xxxxxx | | xxxxxx | | ______________ | | | || | | || | ______________ | | ...
1
vote
1answer
47 views

Positioning/ Size of MarginText in CV (classicthesis/curvvita)

I'm trying to write my CV in LaTeX, with classicthesis and curvvita for style format. I've got the following code: \documentclass{scrartcl} \usepackage{marginnote} \reversemarginpar % Move the ...
0
votes
0answers
51 views

Conventional margins and font size for a (big) thesis in computer science

I am writing a big thesis in computer science. I use geometry package for the page layout. For the font size, I hesitate between 11pt and 12pt. Let's assume I use 12pt here. Because I want the page ...
2
votes
0answers
97 views

How to set proper paper margins?

I am trying to send a paper to a conference with specific margin requirements. I use the geometry package to define the margins. \usepackage[papersize={8.5in,11in}, left=1in, right=1in, top=1in, ...
2
votes
2answers
64 views

How can a marginnote be inside textwidth?

Possibly, I ask the wrong question. What I would like to achieve is to have my notes as a part of textwidthn, I think. Can I tell LaTeX to decrease my textwidth by the amount of space the marginnote ...
0
votes
0answers
42 views

using geometry package

Hi can I ask what is wrong to this? \documentclass[6pt]{book} \usepackage[ papersize={177mm,233mm}, %paper size (width,height) layoutsize={140mm,200mm}, %total size of the layout (width,height) ...
5
votes
1answer
69 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
38 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
59 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
85 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
28 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
50 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
56 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
67 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
76 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
66 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
48 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
66 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 ...
2
votes
1answer
275 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
138 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
66 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
158 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
66 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
174 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
53 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
89 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
188 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
138 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
204 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
35 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
90 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
159 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
172 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
77 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
65 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
55 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 ...