{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
28 views

Control margins for each column separately in \twocolumn mode

MWE: \documentclass[a4paper,12pt]{report} \usepackage{lscape} \usepackage{geometry} \usepackage{fontspec} \usepackage{polyglossia} \usepackage{forloop} \defaultfontfeatures{Ligatures=TeX} \geometry{...
3
votes
2answers
54 views

Book geometry with margins and binding offset

The mwe given below illustrates my current settings in the book am working. Unfortunately I find it a bit cumbersome and outdated although it achieves what I want it to do. One of my objectives is to ...
7
votes
3answers
164 views

Geometry for single page, redux

I'm bummed that this question is closed. I want to know how to do what the OP there wanted. So I'm asking again. Here is a MWE: \documentclass{article} \usepackage{lipsum} \usepackage[margin=1.5in]{...
3
votes
2answers
55 views

Dummy text inside the marginal note doesn't continue to next pages

This is my little MWE, \documentclass{book} \usepackage{blindtext} \usepackage{geometry} \geometry{ includemp, % or include something else? paper=a4paper, marginparwidth=...
4
votes
2answers
46 views

Custom Paper Size, Geometry Package Class

I'm trying to compile a document to a custom page size and then have crop marks printed. I can't even get to the crop package because there's a geometry package clash and I don't know why. Here's a ...
4
votes
2answers
67 views

unusual geometry and background image

I'm trying to build my business-card. Nothing over-special for a first one. On the back, there will be so a qrcode linking to my http://card.vcf. On the front, my principals information on the center ...
1
vote
0answers
42 views

Can't change papersize even with geometry

I'm writing my thesis. To be printed, the paper must have a height of 24cm and a width of 16cm. The margins must be of 2cm. \geometry{paperheight=24cm,paperwidth=16cm,centering,textheight=20cm,...
1
vote
1answer
24 views

Different margins for second page and onwards

I am aware of similar questions, however I would like the same functionality with \newgeometry{a4paper, left=35mm, right=35mm, top=30mm, bottom=30mm} or afterpage package.. to happen when there is ...
1
vote
0answers
32 views

Changing geometry for one page only (two-columns)

Let's say I have a two column book. I'd like to have only one page with a different geometry. What I mean is I want to start a page with a new geometry (using the \newgeometry command just after \...
4
votes
1answer
38 views

How to get exact value of \leftmargin

I need to extract the exact length of my left margin at a specific page in the document but \leftmargin doesn't seem to provide the correct value. \documentclass{article} \usepackage[letterpaper,...
1
vote
2answers
58 views

How to place page numbers in arbitrary position (e.g. REALLY in extreme right bottom corner)

Some questions and answers exist on how to place the page numbers (I quote) "in the bottom (right) corner", but different people seem to have different (and multiple) definitions of such corners. I ...
1
vote
0answers
39 views

Divide one pdf file into more tiles

I need to split a single pdf file into multiple pages. Well, let's say the file is 1 x 0,2 m. I'd like to obtain an output file where every page has the dimension of 3 x 20 cm. I'm trying to achieve ...
1
vote
1answer
41 views

Can't set border size in scrbook document

I'm trying to set page margins in my document, but nothing I tried actually worked. For example I tried \usepackage[total={17cm,25cm}, top=3cm, left=2cm, includefoot]{geometry} but didnt worked at ...
2
votes
1answer
63 views

Strange vertical shift on some pages

Unfortunately I was not yet able to create a complete MWE since the real content of my document is copyrighted and using blindtext did not create the strange errors. My problem: I have a large ...
2
votes
3answers
49 views

Abstract with custom width

I am writing a report in which the page margins have been specified as \usepackage[left=3cm,right=3cm,top=4cm,bottom=3cm]{geometry}. But for one particular section (namely the Abstract), I want the ...
2
votes
1answer
45 views

Marginal notes overrun the paper even if only papersize is specified

The following seemingly innocent MWE: \documentclass{article} \usepackage{geometry} \geometry{% papersize={170mm,240mm},% verbose% } \begin{document} Foo. \end{document} leads to the following ...
2
votes
3answers
120 views

Tikz: Drawing a scalene triangle with fixed side lengths

I've been trying for a while to get this to work out nicely, but I'm really struggling to avoid excess picture. I want to draw $\triangle ABC$ given its side lengths: 7, 13, 14. The code below ...
1
vote
1answer
39 views

How to format header in `tufte-book`?

I'm putting together a tufte-book whose page size is 5.5'' * 8.5''. I have most of the geometry worked out, but the page headers aren't cooperating. So I have this stuff in my preamble: \...
1
vote
1answer
55 views

Different margins for odd and even number pages

According to my institute guidelines Ii have to do the following in my thesis: Left margin: 1.25" (to ensure sufficient space for binding), Right mar- gin: 1" Caution: For front and back ...
0
votes
0answers
14 views

How to lay out a nonstandard page size for a tufte-book

I need to typeset a tufte-book with a page size of 5.5'' * 8.5''. I know I need to use geometry to deal with the nonstandard page size. Do I need to declare every parameter explicitly, or do certain ...
2
votes
1answer
39 views

How do I centre the text in this custom paper size example?

I try to use the Swedish G5 paper size (169x239)mm with text width 111mm, text height 165mm, side margins 29mm and top margin 37mm. Why doesn't the text get centred? \documentclass[twoside,10pt]{...
3
votes
1answer
81 views

Unbalanced multicolumn environment + wrapping footer results in footer moving

When using an unbalanced multicolumn (multicols* environment) and my footer has a parbox with text that wraps, the footer moves upwards. Anyone know why this is happening and how I can have it not ...
0
votes
0answers
43 views

eps figure fitting not exactly inside the \textwidth

There is a *.eps figure of size exactly 6.5inch by 6.5inch (no white borders). This figure needs to be placed exactly inside the document, which has a \textwidth = 6.5". Logically the *.eps should ...
0
votes
0answers
48 views

Latex: Geometry and fncychap packages create an ugly header - How do I correct that?

I am trying to use the geometry package for a oneside layout. However it apparently does something unpleasant with my headers. The bottom right part has a rectangle cut out. Without the binding offset,...
0
votes
0answers
26 views

Geometry package working but having trouble w/ headheight, headset etc

When the code below, the compiler does seem to take into account the command headheight, headsep though it seems to respond to the other ones (voffset,show frame,etc...) What am I doing wrong ? ...
6
votes
1answer
91 views

Splitting a page into cells

I want to print "stickers" with on it : * a barcode * a validity date * maybe some others informations. I have A4 papers of stickers : 65 stickers : 38mm x 21mm ; 5 columns, 13 rows. Stickers I am ...
3
votes
1answer
65 views

Set paperheight to (overall) textlength

The page should when the text ends. So, that there is only one "page". Don't worry. It's not for being printed. \documentclass[12pt]{article} % Packages \usepackage{lipsum,anyfontsize} \usepackage[...
2
votes
0answers
55 views

Table of contents and references not aligning to margin

For my dissertation I have to alter the margins (to allow for binding) which I have successfully done using the geometry package. My problem is that my ToC and references have not moved. What I have ...
3
votes
1answer
33 views

How can I calculate the correct offset for fancyhdr when using geometry to change layout?

I have a document with the following configuration: a custom layout is defined using geometry in the preamble; custom headers/footers are defined using fancyhdr in the preamble; an alternative ...
1
vote
1answer
59 views

Formatting with fancyhdr [closed]

I need a special formatting for my document which it class is (article). The first page has: special header and NO footer header contains image on the right and text on the left and both on the ...
1
vote
1answer
42 views

Align sections titles with margin notes

I want to align sections titles with margin notes as shown below. \documentclass[12pt,a4paper,twoside,openright]{book} % Page format \usepackage[left=2cm,right=6cm,top=3cm,bottom=2.5cm, headsep=1.5cm,...
3
votes
1answer
35 views

Wrong rfoot placing after setting \newgeometry

I have a document where from a certain point onward the width of the left margin changes. To do so, I used the \newgeometry command of the geometry package. However, in the part of the document with ...
0
votes
1answer
47 views

Centering tikz picture in geometry layout

This question regards centering of tikz picture in geometry layout. The question combines two answers that were answered here in tex.stackexchange. The first answer explains how to position the tikz ...
1
vote
0answers
39 views

How to define margin for pdf doc?

I have the problem that my output pdf has the wrong margin between left and right. you can see it in the pic below: The problem is, I need the opposite way. left have to be wide and right narrow. ...
0
votes
1answer
61 views

Writing from middle of the page, upside down and from the right hand side?

How do I start writing from middle of the page, upside down and from the right hand side? I would like to write from the middle of a page in two directions. The A4 paper will be folded at three ...
3
votes
1answer
39 views

Hide C label from the vector

I have this code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.markings,arrows} \begin{document} \begin{tikzpicture} \coordinate (B) at (1,2); \coordinate (A) at (3,4); \...
3
votes
3answers
99 views

Tune the coordinates of this arc

I want to make a hyperbola that will host the points that have the same distance from two circles. Not really interested in accuracy, but in rather a figure that will give students the idea. Here is ...
2
votes
1answer
133 views

Exact Tikz coordinate at geometry layout

I place several images on one page using Tikz. I use geometry layout. I would like to find out exact coordinate of the left top corner of the layout page (not the real page). I have found out ...
1
vote
1answer
61 views

How to place several images on top of each other and center them on the page?

I can't figure out how to center the images. The aim is to center the images and make them large enough to stretch over the cropping line. Optionally: Is it possible to control how close the images ...
0
votes
0answers
46 views

How to change geometry and remove page number from page containing one large figure only without automatically inserted blank page?

I want to have a large figure with its label at the very end of the previous page. The figure is very large so I want to set top margin to 0 and remove page number from the page with figure. Figures ...
1
vote
2answers
45 views

Can I change position of geometry crop marks showing the same crop area?

I wonder if I can left more space between the geometry crop marks and the text itself. I don't want to change the cropped area. MWE demonstrates obvious behaviour of geometry crop marks. \...
5
votes
2answers
100 views

How to fully center a \Shapepar?

I'm adding a colophon at the end of my document inside a \shapepar, however it appears at the top left of the page, and I can't manage to center it, both horizontally and vertically. I've loaded the ...
1
vote
1answer
53 views

geometry margins and text width don't add up

I'm making a set of cards with text elements read from a csv file and placed on each card. I've simplified my layout problem in the example below. (The full version has additional graphics, hence my ...
2
votes
1answer
184 views

Using parskip and geometry package correctly in my document

In another question asked here (Customizing chapter and section style (scrbook)), esdd gave me some recommendations for improving my code. I'm opening here a new question for not mixing things. The ...
1
vote
1answer
64 views

Zeno's Paradoxes Graph with Latex (half circles, arcs and spirals)

I am pretty new to Latex and wanted to know how would go about to create the following graphic or something similar (only interested in geometrical aspect, not the turtles and achilles) with Tikz or ...
18
votes
1answer
288 views

Is there a reason for \usepackage with options in a separate line?

I understand that these two commands do the same thing: \usepackage[letterpaper, landscape, margin=2in]{geometry} and \usepackage{geometry} \geometry{legalpaper, landscape, margin=2in} Is there ...
2
votes
0answers
35 views

Does memoir and geometry mix well?

I have somewhere along the way gotten the impression that the geometry package and the memoir class handles the page-setup a bit differently, but I have also gotten the impression that they do not mix ...
0
votes
1answer
49 views

How to get 'Scale/Fit to page' behaviour automatically when printing?

I have slides created like this: \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[american]{babel} \KOMAoptions{paper=128mm:96mm}% like Beamer \usepackage[includefoot, left=5mm, right=...
0
votes
0answers
19 views

How to prevent Coverpage and Tableofcontents to set margin

I set the margin like this: \usepackage[top=2.5cm, outer=1.5cm, inner=3cm, bottom=2.5cm]{geometry} But on the first two pages (Coverpage + TableOfContents), I want to have the same margin on the ...
1
vote
1answer
77 views

Custom chapter number with titlesec and geometry: number past page border

I have used the titlesec package and geometry package to get the following chapter style (note that I'm using XeLaTeX): This works, however I am unable to align the chapter number in the way I ...