{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

2
votes
2answers
115 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
71 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
30 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
38 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
100 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
94 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
31 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
85 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 ...
3
votes
1answer
61 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?
8
votes
1answer
216 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
132 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
64 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
53 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
49 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
79 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
39 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
276 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
49 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
38 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
46 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
75 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 ...
5
votes
2answers
61 views

Package geometry parameters and changing left margin

I want to make an indented paragraph, that is to indent the whole paragraph and not just the first line as happens with \par. I use geometry, so I thought that package might have a parameter that ...
0
votes
0answers
43 views

Hi. How create a book with total page size (215mm,285mm)?

I use This code: If this is corect? ‎‎\usepackage[‎a4paper,total={215mm,285mm}‎,‎top=3cm,bottom=3cm,headsep=10pt, vmargin=2cm, outermargin=7cm, innermargin=2.5cm, marginparwidth=4cm, ...
1
vote
1answer
26 views

Empty body centered on the page and vertically splited

I want to have an empty page such that the body is centered. Next I want to have two minipage's each half the width of the body and of its height, such that they will vertically split the body. Here ...
3
votes
1answer
76 views

Pdf in bookmark dimensions using geometry

Trying to make my own bookmarks, I began with using geometry to get the right dimensions (for some reason this is 20cm x 5.5cm). Using the first two answers to another question, I wrote the following: ...
3
votes
2answers
67 views

Prelim2e marking but centred without tikz

I use preliminary markup on draft versions of documents which specifies the svn repository number, timestamp, url etc. I prefer this to be typeset centred at the bottom of the page below the footer. ...
1
vote
0answers
24 views

Why does increasing hscale produce overfull hbox?

I would like help understanding why increasing the proportion of the page available for text produces an overfull \hbox error. In the output, this results in my preliminary markers being skewed right. ...
4
votes
1answer
45 views

How to parametrize tex processing using command line? [duplicate]

Unfortunately, I cannot write a better title for the question. I am trying to parametrize my workflow, where I will allow myself to override page margins from the command line with the following: ...
5
votes
2answers
87 views

Is there a way to query the page size that I have set in the memoir class?

In my preamble, I have: \documentclass[a5paper,10pt,oneside,onecolumn,openany]{memoir} I would like to later define some layout options based on the value of the page size, which in this case is ...
5
votes
1answer
37 views

Is there a way to indicate the different area elements prescribed by the geometry package? [duplicate]

The geometry package prescribes areas such as header, footer, textarea, marginpar, etc. by using length variables such as tmargin, bmargin, headsep, etc. When you do "Inspect Element" in your ...
1
vote
0answers
18 views

How to lock some part of marginpar area?

Consider the following layout. I'd like to lock some part of marginpar area. For example, after 6cm from the top, skip 4cm and the margin area continues below.
5
votes
1answer
106 views

Multiline footer with bottom of text aligned to bottom margin

When a single line of text is added to a footer, it is bottom-aligned to the margin as I would expect: However, when I add a second line of text, the alignment is still with the first line of text. ...
4
votes
1answer
69 views

automatically add additional space for annotations while keeping layout the same

Consider, I've got a document I am asked to review in a way, that I add todonotes/marginnotes with comments. Therefore the usual document margin might be to small. Is there a way to just add ...
7
votes
3answers
183 views

How to arbitrarily center these drawings?

I have adapted the following to draw lines from the center of a circle out to n equally spaced points on a circle (the n th roots of unity, or the points of an n-gon, or a star graph). I need to be ...
5
votes
1answer
167 views

Showing margins/frames in beamer slides

With a regular article/report/... class, you can use the showframe package to draw outlines of where the various regions of the page lie. I cannot get the same functionality with beamer, however. ...
4
votes
1answer
93 views

Draw string with linking numbers or no linking number?

How can I use LaTex (p.s. I use Mac OS 10.5.8 with TexShop 2.47) to draw strings with linking numbers or no linking numbers? If any experts know any examples below, please feel free to comment. The ...
8
votes
1answer
236 views

Distance between top edge of paper and header

EDIT : Please apologize me. I forget to add two lines to MWE I think very essential to handle the problems. Please re-check the MWE. There is parameter defining distance between bottom edge of top ...
4
votes
1answer
82 views

Extra 0.1cm after setting geometry top margin

I try to set 3cm for top margin of the paper with geometry package. After I measure the real length of top margin with PDF, this is actually 3.1 cm. There are a 0.1 extra space there. Also, I spot ...
0
votes
1answer
50 views

Section vertical position is displaced

Here are two pages of the same document, Image 1 shows the 2nd page, where \section{Tareas realizadas} is overlapping the textheight top, while the Image 2 shows the 3rd page (correct behavior). Why ...
6
votes
2answers
195 views

Change Color, Pitch, Line Style of Showframe (Geometry Package)

How can one change the colour, pitch, line style, etc of the rules generated by the geometry package's showframe option?
3
votes
1answer
69 views

How to exceed left margin with longtable

I'm trying to make a longtable that is wider than the textwidth at a certain moment. I've tried different things always ending up with a different problem: First possibility: If I use the adjustwidth ...
1
vote
1answer
127 views

Paper size incorrect when using latex instead of pdflatex

Somewhat opposite to other problems I found, my document size is correct when compiling with pdflatex but is not right when compiling with latex. I'm using a custom documentclass for a conference but ...
5
votes
2answers
259 views

Too many white space in bottom of the pages

I used this code for my thesis \documentclass [12pt,oneside,final]{book} \usepackage[left=35mm,top=26mm,right=26mm,bottom=15mm]{geometry} \raggedbottom It shows acceptable white space in bottom of ...
10
votes
4answers
249 views

\newgeometry doesn't work with Turkish babel package

\newgeometry is a nice feature of geometry package. I found out that it doesn't work (together with many other problems) when \usepackage[turkish]{babel} is also used with many errors stating: ...
4
votes
2answers
158 views

Adding crop marks to a4 document to crop it to book without changing the layout?

I have a complete 150 pages LaTeX document that is in a4 format. I basically want to print it exactly as it is, except that I want to add crop part of the margins. I want to remove 10mm on the inner, ...
3
votes
2answers
141 views

Coloring only the text area

I use the geometry package to define paper size and text area of a (one page) document: \usepackage[ paperwidth=420mm, paperheight=297mm, text={365mm,270mm}, centering ]{geometry} I wish to ...
2
votes
1answer
453 views

How to change geometry for one page without using \newgeometry or \restoregeometry

I am trying to establish one geometry for my first page (not a title page), and use another for the rest of the document. However, because I am trying to make a template, and thus do not want to rely ...
2
votes
1answer
61 views

Cropping output of pdflatex to pagesize

I am trying to create square images with a fixed size in pixels in LaTeX to be used as buttons. So far, I got the best results using the slides document class in combination with the geometry package, ...
3
votes
2answers
115 views

Displaying layout marks in a document set with different layouts

Is there any package that allows for the display of layout marks within a document where the layout changes several times throughout? I'm using the geometry facilities to issuing \newgeometry commands ...
6
votes
2answers
163 views

Is there a way to tell LaTeX to use smaller margins without setting an absolute margin length?

So, I generally like letting LaTeX make most of my typesetting decisions for me--- it generally knows what is typographically "good" better than I do. One area I just haven't been able to turn ...