{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
2answers
52 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
34 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
32 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
60 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
41 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
25 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
100 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
30 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
41 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
12 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
35 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? ...
3
votes
1answer
54 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
54 views

How to properly change from A4 to 24x17 cm format?

I have my PhD thesis in a a4paper document book in LaTeX. Just like: \documentclass[a4paper,10pt]{book} The thing is that now I realize I need it in a 24x17 cm. Fortunately, I have all my figure ...
0
votes
0answers
37 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
34 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 ...
0
votes
0answers
22 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
87 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
53 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} ...
2
votes
0answers
43 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
29 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
54 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 ...
0
votes
1answer
36 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, ...
3
votes
1answer
29 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
46 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
35 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
52 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
32 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
95 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
128 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
35 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. ...
4
votes
2answers
49 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
43 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
146 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
60 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
282 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
30 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
47 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, ...
0
votes
0answers
18 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
59 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 ...
2
votes
1answer
74 views

Setting a minimum margin size with the geometry package

When using the geometry and fancyhdr packages it is possible to specify margins that are too small to hold the header and footer. \documentclass{article} \usepackage{geometry} \usepackage{fancyhdr} ...
1
vote
1answer
24 views

Using `\headsep` with the geometry and fanchyhdr packages

I thought that the text on the page was supposed to start \headsep below the header, but that does not seem to be the case when I use the geometry and fancyhdr packages \documentclass{article} ...
3
votes
2answers
74 views

How to adjust tabular width to math body as defined by geometry?

How to adjust tabular width to math body as defined by geometry? In the following example the table goes more to the right than the border of body as defined by geometry package. ...
1
vote
0answers
54 views

How set margins to print when pdf files are inserted?

I am using book style to prepare a meterial(which has to be printed and binded) which contains so many pdf files.. To include the pdf files I am using \includepdf options by using the package ...
3
votes
1answer
148 views

TikZ Planes Intersecting Hyperboloid

I would like to draw something like the image below (or as close as possible!). I cannot copy and paste it directly into the presentation I am writing as I need to do quite a few edits. ...
1
vote
1answer
29 views

nbconvert-generated labels fail with babel, work without it or with large margins

I'm using ipython nbconvert (which uses pandoc) to transform an IPython notebook and the document code contains the following lines \subsection{Vytvářeni polí ...
3
votes
1answer
52 views

“Temporarily” rendering PDF without page borders

When rendering documents in LaTeX, the document class determines the sizes of page borders etc. I do not want to change them. However, during the editing process, one usually looks at a file only on ...
1
vote
0answers
41 views

geometry's bindingoffset seems to be ignored

The geometry's documentation tells: page 9: "bindingoffset removes a specified space from the lefthand-side of the page for oneside or the inner-side for twoside.", page 10 (caption of Figure 6): ...
0
votes
0answers
25 views

Standard textwidth with geometry package [duplicate]

I really like the way LaTeX puts text on a4paper (quite large margins), but I need to \usepackage{geometry} to change the layout of my appendix. What options should be used with geometry to make ...