{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
0answers
19 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
26 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
34 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
19 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
89 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
57 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
48 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
53 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, ...
2
votes
0answers
32 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, ...}% ...
0
votes
1answer
44 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
43 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
50 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
63 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
60 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
47 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
32 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
45 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
51 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
55 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
63 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
58 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
28 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
322 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
87 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
67 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
102 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
87 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
52 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 ...
2
votes
1answer
52 views

Can't move footer up on page

I'm trying to write a letter using the scrlttr2 document class. My footer is 3 lines and as such is touching the bottom of the page. I've been trying to move the footer up by using the geometry ...
2
votes
2answers
123 views

Setting Text on a Path

Using LuaLaTeX, I want to create an effect where text begins as a footnote but curves upward and ends up in front of the body text. Sort of hard to describe, but picture the body text ending ...
0
votes
1answer
94 views

“Dimension too large” using geometry package

So, I have an interesting problem with a really (really really ...) large equation that I am trying to typeset. Basically, crunching the file through pdflatex gives: This is pdfTeX, Version ...
2
votes
1answer
47 views

Page size won't change even after using geometry package

I'm trying to change the page size of my thesis document. As adviced in other threads, the graphics package can be used for this purpose. I currently have the following command where I also specified ...
3
votes
1answer
139 views

svjour3: h/v centering text on a4paper?

I am preparing a manuscript using svjour3. I would like to have the text (dimensions unchanged!) simply centred on a4paper rather than aligned to the top-right corner, given that svjour3 in all but ...
2
votes
1answer
153 views

Define page layout in geometry similar to Koma Script with DIV 12

I want to define a page layout in geometry that has similar values as that defined by KOMA script. Unfortunately the values that I provide for geometry do not end up in the design as expected. This ...
4
votes
1answer
95 views

Proper Mathematical Typesetting for a point?

I'm working on a document in LaTeX, and I was wondering what the proper typsetting for a point is? If my understanding is correct, bold capital letters are matrices, vectors have the \vec{} symbol ...
3
votes
1answer
45 views

Failing to alter page size with geometry package

I want to create a poster 11'' x 17'' in size. This code \documentclass[landscape]{article} \usepackage[height=11in,width=17in,margin=1cm]{geometry} \usepackage{lipsum} \begin{document} ...
4
votes
2answers
124 views

How to correctly use geometry package with wrapfig package to avoid wrong layout

I am learning the wrapfig package. I noticed that when I include my common latex file, which has common definitions, the text no longer wrap around the figures, but the figure are pushed to the right ...
4
votes
1answer
119 views

How can i change the paper size in tikzposter?

Right now the only allowed paper sizes in tikzposter are a0paper, a1paper, or a2paper. Is there a way to manually set the size of the poster in inches or other units?
10
votes
1answer
599 views

DIV and BCOR setting in KOMA (best practices)

I have been playing around and I now realize it is possible to set the type area using a KOMA class by a couple of ways, and I'll like to know which is the correct one. \documentclass[% a4paper, ...
4
votes
1answer
150 views

distinguish between symmetric and asymmetric page layouts

In order to fix a bug in the new version of the sidenotes package (bug reported here), I made the following environment: \newenvironment{autoadjustwidth}[2]% {\ifthenelse{\boolean{@twoside}}% ...
1
vote
1answer
90 views

How to show margin distances in mm

I would like to know the distance (in mm) of the margins I just set, and I would like them to be displayed in the document (for debugging purposes, of course). I use the showframe option of the ...
1
vote
1answer
85 views

how to set margins in A3 page when using the KOMAoptions command inside an A4 document

I am inserting an A3 page in an A4 document using the KOMAoptions command: \afterpage{ % Insert after the current page \clearpage \KOMAoptions{paper=a3} \recalctypearea \begin{figure}[htbp] ...
1
vote
1answer
61 views

page margins not respected after A3 page insertion in A4 document

I am inserting an A3 page in an A4 document but the margins are not respected (and neither does a page number appear), after the A3 page. Test code below: ...
1
vote
1answer
118 views

A dotted circle: control size of dots and distance between them

My MWE is: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} \draw[red,dotted] (0,0) circle (2); \draw[black,thick] (5,0) circle (2); ...
2
votes
1answer
49 views

why can't I get the A3 page where I want it (inside an A4 document) [duplicate]

I am using an A3 page within an A4 document. In the SSCCE example below, my plan was to get (in this order): "foo" on an A4 page "A3 stuff" on an A3 page "bar" on an A4 page Instead, I get: ...
8
votes
2answers
683 views

What is the equivalent of fullpage in geometry package?

There's an occasion when I am forced to use geometry package instead of fullpage. Howevere the document margins should match another document which uses fullpage. Where can I find the default top, ...
2
votes
1answer
71 views

Add bleed using geometry

I'm using a5paper size with extreport and geometry. Could you please tell me how to add a bleed of 2mm and keep things as they are. \usepackage[a5paper, %hmargin = {3cm, .8in}, ...
1
vote
1answer
66 views

Using newgeometry — how to prevent moving the top outer page numbers?

I used \newgeometry to enlarge the printing space to include more graphs on a couple pages of my document (article class), but it moved the page number on those pages too. If I want to keep the page ...
1
vote
0answers
88 views

control margins with geometry or fullpage

Is there a better way to set \topmargin -1.5cm \textwidth 15.5cm \textheight 23.5cm \oddsidemargin 0.7cm \evensidemargin 1.2cm perhaps using \usepackage{geometry} or \usepackage{fullpage}? What are ...
2
votes
1answer
114 views

Interference of Geometry and counter of the page number

I'm having troubles with the geometry package, it seems that every time that I reset the pagenumber to one, the geometry package treats it like it's the first page of the document. Now this is rather ...