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

How to properly change from A4 to 24x17 cm format? [on hold]

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 ...
1
vote
1answer
22 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
38 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. ...
1
vote
0answers
26 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 ...
3
votes
1answer
69 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 ...
4
votes
1answer
37 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} ...
0
votes
1answer
38 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, ...
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í ...
1
vote
2answers
54 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
38 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 ...
2
votes
1answer
62 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 ...
1
vote
1answer
36 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 ...
5
votes
1answer
250 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 ...
6
votes
2answers
358 views

Tufte layout in “Painless Memoir?”

I'm trying to bring together two styles, the airy Tufte's page layout ... and Michael OKane's "painless Memoir" document found on this site. I've tried to edit OKane's template directly; I've ...
2
votes
3answers
42 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
36 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 ...
1
vote
1answer
34 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: ...
2
votes
3answers
112 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
45 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
13 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
38 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? ...
0
votes
0answers
40 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
39 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
24 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
88 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
58 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
48 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
31 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
56 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 ...
18
votes
1answer
284 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 ...
3
votes
1answer
31 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
37 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
57 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
37 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
96 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
130 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 ...
6
votes
3answers
2k views

Non-alternating margins in book class

For a book class, I specify margins like this: \usepackage[top=1.25in, bottom=1.25in, left=1.5in, right=1.25in]{geometry} But left and right appear to behave as inner and outer. I need to have the ...
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
39 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
96 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
48 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
154 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 ...
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, ...
1
vote
1answer
63 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 ...
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
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
66 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
88 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} ...