{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

3
votes
1answer
15 views

Set different margins for text and footnotes using book class

I'm writing an user manual for an application I made, and I'm using the book documentclass, with the geometry and the footmisc package. What I need is to increase the margin for the footnotes so they ...
5
votes
3answers
72 views

Shading between a circle and two lines

I have drawn the unit circle and some tangent lines to the circle. I now wish to shade the area between the two lines bounded by the circle. Here is the tex that I have already written. \...
4
votes
1answer
48 views

Footnote line separation

I have an article which have several footnotes. I would like to increase the space between the end of the article's text and the footnote rule. How can I do this? I've already tried to change the \...
1
vote
2answers
47 views

Margins are not set properly

I need to process my book according to the following requirements: page: a4size font: 14pt margins - all : 2cm format: book, twoside, openright I have used both extbook as well as scrbook, with and ...
8
votes
1answer
101 views

Lualatex and a5 paper format

I'm having problems generating a pdf file with A5 format. With pdflatex this compiles fine, without, it doesn't. \documentclass[a5paper]{article} \usepackage{geometry} \usepackage{lipsum} \title{A ...
3
votes
0answers
62 views

Shrink student's book page to add comment to teacher in textbook

we are writing a school textbook and the corresponding teacher's book. The student's book template is good already, so let me explain what I would like to have for the teacher's book. Each page of ...
1
vote
1answer
23 views

setting margins in chapter titles (University class file causing issue?)

This is just my second large LaTex document so I'm still learning. And sorry if this is a duplicate, but I've tried to apply different solutions from various questions and I still need help overcoming ...
1
vote
1answer
45 views

How to set page size with geometry

I would like to set page sizes of my project but when I do it the result isn't correct. I read some articles on Google but I didn't understand anything. This is a head of my project \documentclass[...
2
votes
0answers
37 views

1 inch all around [closed]

I'm writing a paper in A4 paper. I want to set all margins to be precisely 1 inch. I'm using the geometry package with the following parameters. \usepackage[a4paper,left=1in,top=1in,right=1in,bottom=...
1
vote
0answers
21 views

Full Bleed TikZ with Crop and Registration Marks

I've created some card-sized pages that I now need to adapt for full-bleed printing and trimming. Here's an MWE: \documentclass[border=0in, multi=tikzpicture, varwidth=false]{standalone} \usepackage{...
0
votes
1answer
51 views

I want to make notes. How can I make big document? [duplicate]

I am undergraduate mathematics student.I used latex I know all basic of latex. Right now I want to make my notes where I can collect my all Important Theorem,Lemma Definition on Latex. I want to make ...
2
votes
1answer
38 views

custom spacing for chapter page, and page number for normal page

I am trying to get the following geometry. I have geometry set like this: \usepackage[a4paper, top=4cm,bottom=2.5cm,right=2.5cm,left=4cm, headheight=15pt]{geometry} and I am using the book document ...
1
vote
1answer
32 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
70 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
171 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
58 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
50 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
71 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
44 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
35 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
44 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
63 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
40 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
48 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
65 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
54 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
54 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
136 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
43 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
64 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
41 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
86 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
55 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
27 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
94 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
74 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
62 views

Table of contents and references not aligning to margin [closed]

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
38 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
61 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
45 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
45 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
50 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
42 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
63 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
46 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
101 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
135 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 ...