{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
4answers
127 views

Newgeometry and afterpage don't adjust the geometry

In the following sample, the geometry doesn't change even though I believe it should. What am I doing wrong and how can I fix it? \documentclass{article} \usepackage{lipsum} \usepackage{afterpage} ...
1
vote
1answer
119 views

!Latex error: Option clash for package geometry

Hi I am getting option clash package error where as I am declaring geometry package only once as below: \documentclass{vldb} \usepackage{graphicx} \usepackage{algorithm} \usepackage{algpseudocode} ...
3
votes
2answers
100 views

Get FancyHDR and geometry to work nicely

In the MWE, geometry is set to leave a top margin of 1cm on the top and on the back of the page. Yet, with FancyHDR on the top of that, occupy some parts of this margin and I have to manually tweak ...
1
vote
2answers
85 views

Underfull vbox, geometry package

I used the geometry package with the option heightrounded and set parskip=0pt; I then got an underfull vbox message (badness 10000). But this disappeared after I set parskip=0pt plus .0001ex (.00001 ...
1
vote
1answer
36 views

why isn't this properly formatted using \item \LHEAD?

I followed the answer given by AboAmmar here by I get the following shape for my resume. Not sure why the items written in LHEAD show like that? %\documentclass[9pt,A4paper]{report} ...
3
votes
1answer
47 views

Graphic in foot, how to position

I need to put a Logo in the footnote of every page. It works so far, but the Logo is positioned very high, and sometimes it's very close to the text. I need to either position the logo lower or make ...
0
votes
2answers
62 views

Accuracy of distance measures in geometry

In the following MWE, I set the distance from the edge of the paper to the body text to be 25mm. \documentclass[a4paper]{article} \usepackage[showframe, paper = a4paper, tmargin = 25mm]{geometry} ...
3
votes
3answers
80 views

Specify distance from page margin to header with geometry

With geometry, the placement of the header is set by specifying the distance from the text body below to the header above with headsep: \documentclass{article} \usepackage[showframe, headsep = ...
1
vote
1answer
39 views

How to set topmargin = leftmargin when the latter is auto-completed in geometry?

I'd like to set the top margin being equal to the left margin, but the left margin is auto-completed from the text width. I'm using geometry package. I just want to do something like: ...
3
votes
1answer
134 views

How to fix the top and bottom margins in Lyx in order to conform to standard ERC proposal?

I need to write a document with specific margins (well, I admit, a grant proposal). They want : The minimum font size allowed is 11 points, line spacing single. The page size is A4, and all ...
2
votes
1answer
142 views

Latex geometry package giving an inconsistent binding offset [closed]

I'm trying to prepare a thesis which requires 4cm margins on the side where it will be bound (i.e, left hand side on odd numbered pages) with 2cm margins on the opposite side. I have been trying to ...
6
votes
5answers
501 views

How can I draw several polygons on the same base line using TikZ?

I want to construct a figure that will be symmetrical polygons on the same base. So, there is an equilateral triangle, a square, a pentagon, a hexagon, etc. one side of all these is the same ...
5
votes
3answers
143 views

Equation wider than textwidth

I have an equation that is slightly wider than the width of my document. I want to center the equation, but do not want to change the geometry of my document. I have tried the method mentioned in ...
3
votes
1answer
40 views

\sidebar doesn't respect geometry's bottom margin

MWE: \documentclass{memoir} \usepackage{geometry, lipsum} \begin{document} \newgeometry{top=2cm, bottom=2cm, inner=1cm, outer=0.618\textwidth} \sidebar{\lipsum} \lipsum \end{document} ...
0
votes
1answer
35 views

Marginnote - apparent bug with geometry

First can I note this previous similar question -- Marginnote with geometry package -- the answer to that mis-diagnoses the cause of the problem, but gives a correct solution for memoir users. If I ...
4
votes
1answer
67 views

Prevent Hyphenation across lines + Enforce right margin

My first question here, so it may sound rambling. So far I've found the answers about preventing hyphenation across lines and for setting margins, but I'm having trouble putting it together. This is ...
1
vote
0answers
37 views

Issue with using the geometry and multicol package in conjunction [closed]

Getting the following error when I try to set the margin size. Any suggestions? ! LaTeX Error: Option clash for package geometry. See the LaTeX manual or LaTeX Companion for explanation. Type H ...
3
votes
1answer
47 views

Text after footnote text but within the text area

I'd like to typeset text that appears within the typesetting area, but after the footnotes. (How) is this possible? I've tried to make the page shorter (with the geometry package and the \newgeometry ...
1
vote
1answer
34 views

A single page should be shorter

I need a single page (page 3 in my example) to be shorter than the rest of the pages. I don't know where the page break is (3 to 4), so I can't manually insert \restoregeometry. Therefore I've tried ...
1
vote
1answer
85 views

Texcount error 'could not recognise package list'

using texcount in the command line interface produces the error 'could not recognise package list'. I'm using texcount -1 -sum -inc mymainfile.tex which includes several files in a two different ...
0
votes
2answers
50 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
116 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
150 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
67 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
129 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
127 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
121 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
151 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
277 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
55 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
202 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
777 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
55 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 ...
9
votes
3answers
344 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
2answers
201 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
116 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
188 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
98 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 ...
5
votes
1answer
146 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
115 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
90 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
107 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
40 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
62 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
84 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
104 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
128 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
79 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
87 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? ...