{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

5
votes
0answers
31 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.
-1
votes
0answers
65 views

Please help me to draw this chart in latex [on hold]

Please help me to draw this chart in latex
4
votes
1answer
35 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
59 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 ...
2
votes
1answer
22 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
60 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
26 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 ...
1
vote
0answers
32 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
79 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
26 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
38 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
39 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
77 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
35 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
31 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
77 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
74 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 ...
4
votes
1answer
60 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
163 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
41 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
40 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
47 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
42 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 ...
0
votes
0answers
42 views

Overview of page geometry, font sizes etc. of common document classes

Has someone precompiled a tabular or annotated graphical overview of the default lengths etc. of common LaTeX classes (standard, Koma/scr, memoir, beamer …) and put it on the net? I didn’t find any. ...
2
votes
1answer
51 views

Increasing text body to pull page width and height

I am using fancyhdr and geometry to create a custom page where the text would fill as much of the page as possible. The document has other pages on as well but have been omitted as they are not ...
1
vote
1answer
28 views

Centering text body and margin notes together

With geometry, I want to center text body and margin notes together, namely to center textwidth + marginparsep + marginparwidth parts of horizontal elements. I think one option would be to include ...
3
votes
0answers
112 views

How to set a binding offset with tufte-book class?

I'm typesetting a book using the tufte-book class. For printing I need to set a binding offset (say, 0.5in). However, I can't seem to get this to work using the geometry package settings as one would ...
2
votes
1answer
109 views

Extra blank pages inserted when using \cleardoublepage and \newgeometry

Using a report class with the twoside and openright options, I've defined a function, \mycentered[1], to display a vertically and horizontally aligned (at the center of the page) quote before the ...
2
votes
1answer
95 views

Looking for a command to create the geometry line symbol (\overline with arrows on both ends)

I need a way of encoding the geometry line symbol. $\overline{AB}$ gives me the line segment symbol and $\overrightarrow{AB}$ gives me the ray symbol, I need a way to get a bar over the letters that ...
0
votes
1answer
77 views

How to get the text equally separated from the headrule and footrule with geometry?

In the following MWE I'd like to define a dimen, usep, and do the blue margins (uhsep and ufsep) be equal to it, and ubsep (in green) to the half of it, when footnotes are to be printed. Otherwise, ...
3
votes
0answers
33 views

Using a switch to pass an option

I created a switch which is defined iff a new geometry should be twosided. Currently, my code looks like this: \ifdefined\@TwosideSwitch% \typeout{SwitchGiven!}% \newgeometry{twoside=true, ...}% ...
1
vote
1answer
61 views

How to get the active left and right margins to use them in a tikzpicture?

I'm trying to use the margins defined when geometry is loaded to draw several fancy section titles using tikz. In order to make \Gm@lmargin and \Gm@rmargin usable, I have to do ...
4
votes
1answer
63 views

fancyhdr: Footer not centered after changing page geometry

MWE \documentclass{article} \usepackage{lipsum} \usepackage[showframe]{geometry} \usepackage{fancyhdr} \fancyhf{} \cfoot{something centered in footer} \lhead{\rule{\textwidth}{3pt}} \pagestyle{fancy} ...
0
votes
0answers
80 views

GANTT to long for one page

I have made a GANTT chart but it is too long to fit into one landscape page. So I see two solutions. Allow the gantt chart to contiune on next page. Use A3 instead Please help me with both ...
2
votes
2answers
120 views

Match white space above chapter title to top margin as defined in geometry package

I would like to change the position of chapter titles, specifically the amount of white space above them. I am using the book class and defining margins using the geometry package. The chapter command ...
0
votes
2answers
72 views

Setting margins exactly

My thesis formatting requires 1.5-inch margin on the left side and a 1-inch margin on the three remaining sides. Since all pages must be printed on one side of the page, I used the following: ...
5
votes
1answer
75 views

Difference between geometry, changepage and vmargin packages?

While struggling a bit with layout, I have encountered a few useful packages, namely geometry, changepage and vmargin but I'm wondering a bit about the difference between them. An important one that ...
2
votes
1answer
44 views

Output pdf margin VS attributed margin in Latex

After a very long search on the net, I post these two questions: The code is: \documentclass[12pt,twoside]{report} \usepackage[a4paper,left=3.5cm,right=3cm]{geometry} ...
1
vote
1answer
53 views

Section Titles, not the crossing next page

It's my code, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[svgnames]{xcolor} \usepackage{lipsum} ...
0
votes
0answers
59 views

when i was running my thesis following problem raised please help me

I was doing my article in latex it is showing the following error. Can any one help me? Package keyval Error: compat2 undefined. \ProcessOptionsKV[p]{Gm}
1
vote
0answers
62 views

Geometry package in TeX: How to print (or use) the values of geometry properties in document page?

I have problems with geometry package. I would like to find out parameters of my page (layout) such as textwidth, layoutheight etc. I want to have a dynamic layout of my page without number or ...
2
votes
1answer
70 views

Adjusting the overall width of a table

My table extends past the margin of my .pdf file. I already set the margin using the geometry package. How will I be able to adjust the width of my table so that it will be within the specified ...
0
votes
1answer
92 views

Page Numbering and Header Problem, with Margin and Multicols

1) The chapter page with margin, page numbering is not in the center. My code is, \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} ...
0
votes
0answers
33 views

How to replicate the layout options specified in 'geometry' package when using 'pdfpages'?

I'm preparing a document in latex and using the following parameters for the geometry package: \usepackage[twoside,margin=1in,bindingoffset=0.6in]{geometry} I'd like to use the pdfpages package to ...
10
votes
0answers
357 views

Setting different recto/verso margins size (geometry) on this example

CONTEXT. Because of specific University requirements (1), I had to use this nice code found on tex.stackexchange http://tex.stackexchange.com/a/96366/50507 written by David Carlisle, that was ...
0
votes
1answer
107 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
3
votes
1answer
79 views

Why do I get an extra white page before my TikZ picture?

I've created a little diagram in TikZ. Only problem is, it's quite big, so I figured I should use landscape mode for it. Only problem is, when I put it between \begin{landscape} ...
5
votes
2answers
110 views

Suggestions to a better preamble for creating a handbook

The following is the preamble I was given to work with to create a student handbook. I believe there are a few things that are not right. The document compiles well but I am looking for suggestions of ...
3
votes
2answers
210 views

Problems with \newgeometry by using landscape and minipage

I try to rotate a tikz-tree and a table which are in a minipage environment by using \landscape because the tree besides the table is to wide. Now, the tree and the table are not centered. The last ...
5
votes
1answer
68 views

Table does not align properly after \newgeometry settings

I have a huge longtable and used \newgeometry to make it fit the page. After the table there is a short text (which I could align successfully) but another small table that comes after the text won't ...