{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
19 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
25 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
44 views

Latex geometry package giving an inconsistent binding offset

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 ...
0
votes
0answers
21 views

Transformation of general equation of second degree with respect to a rectangular axes [closed]

Question : The equation $3x^2+2xy+3y^2-18x-22y+50=0$ is transformed to $4x^2+2y^2=1$ with respect to a rectangular axes through the point $(2,3)$ inclined to the original axes at an angle $\theta$. ...
6
votes
5answers
297 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
108 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
27 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
20 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
40 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
29 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
34 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
22 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
36 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
40 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
72 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
81 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
35 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
72 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
86 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
58 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
51 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
112 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
43 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
63 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
126 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
43 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
160 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
67 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
61 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
129 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
77 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
77 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
52 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
66 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
87 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
29 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
54 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
62 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
71 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
87 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
69 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
50 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
75 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
400 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
159 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
70 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
161 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
73 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
181 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 ...