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

How to make unlimited sheet of paper in LaTeX? [duplicate]

How can I make LaTeX to do the unlimited (just as big, as the content) sheet of paper? So everything goes right on the one page.
3
votes
1answer
113 views

Optimum parameters for 1280x727 screen?

I'm going to experiment with using my Android tablet to lecture from this coming semester: moving between LaTeX PDFs and a handwriting note app. My usable screen size is 1280 x 727 pixels (there's a ...
0
votes
1answer
231 views

Interference between crop and (new)geometry

I encountered a strange behavior of the command \newgeometry when using the crop package. After the first call of \newgeometry the centering of the page layout is lost and also can not be restored by ...
2
votes
0answers
139 views

How to set `footskip` on a landscape page? [closed]

I'm using geometry and pdflscape to have a particular page in landscape (detailed here). However, setting footskip via \newgeometry{..., footskip = 1cm} does nothing, because the system still assumes ...
1
vote
0answers
64 views

Borders a few millimeters too wide [closed]

I want my document to have exactly 3cm space at the left and 2cm to the right and the text to be from one border to the other. However the code below produces a document with 3.1cm border at the left ...
1
vote
1answer
142 views

Different \headheight in one document

I'm studying at a Cooperative State University and need to write a report about my activities at work. Our department provided us with templates for all kind of document we have to fill out and attach ...
6
votes
1answer
3k views

How to determine head height automatically

I'm creating three documents with three different headers, containing images or large banners. Is there a way to determine the head height automatically or even better a way to change the head height ...
2
votes
1answer
430 views

Reduce float size to fit page

I've got a longish sidewaystable which currently is to large for its page. At least with \footnotesize it is. With \scriptsize it becomes too small, which looks strange and is hard to read. Is there ...
8
votes
1answer
972 views

Geometry: showframe + landscape

I'm using \usepackage[showframe]{geometry} and I'm seeing that when I use a landscape environment (added by pdflscape package) the frame doesn't seem to be OK. Is this an erratum? Is there any way ...
25
votes
1answer
469 views

Evaluate typographical beauty of a document (widow, orphans, hyphens, etc) in order to optimize the page geometry

When finalizing documents, one of the last things I do is usually to play with the page geometry to improve the overall layout: get rid of a few orphans or widows, reduce the number of hyphenations, ...
8
votes
2answers
1k views

Koma-script scrpage2 footer height

After lots of googling and hair-tearing, I'm turning grey and old, and no wiser... EDIT : see bottom for a half-cooked solution. I switched from LaTeX plain classes (article, report, etc.) to ...
8
votes
1answer
273 views

How to have headers, section headings, and figures expand into the margin?

I am interested in the following page layout. How to have headers in margins (up to margin) Is it possible to start section headings from margin How to set figures occupy the margins. I can ...
23
votes
1answer
799 views

Why doesn't a 17cm x 25cm picture fit on a 17cm x 25cm page?

Why doesn't this tikz picture fit on the first page of the document? \documentclass{report} \usepackage{tikz} \usepackage[showframe, centering, text={17cm, 25cm}]{geometry} \begin{document} ...
2
votes
1answer
410 views

Top margin, memoir class and geometry package

I'm trying to set a very basic front page for a document with the MWE below. I'd like to have a vertical stripe running along the left margin and have all the margins set to 0pt. The layout is based ...
5
votes
1answer
240 views

8 column table with lstinputlisting in LaTeX

I'd like to create a multicolumn table (up to 8 columns) to insert my code via \lstinputlisting{source.c}. But it seems to me that more then 6 columns aren't possibile even tough space is available. ...
5
votes
1answer
164 views

Setting up page dimensions in LaTeX

I generally try typeset a document in LaTeX and then take a print out. Since I am not familiar with setting up the page dimensions, when I take print out on an A4 paper, lot of gaps are left. So can ...
5
votes
0answers
110 views

Different margins for odd and even pages, but not mirrored with memoir [duplicate]

I need a help with this page layout: top/bottom margins: 2cm for all pages on even pages: 3.5cm - 2cm on odd pages: 2cm - 2cm I tried: \setlrmarginsandblock{3cm}{2cm}{*} ...
1
vote
1answer
254 views

Expand page to use full page height with fancyhdr

I use fancyhdr package and would like to print a large float that exceeds the textheight. Hence I would like to remove the headers and footers. And have the float verticaly centered. I tried ...
3
votes
1answer
2k views

geometry sets footskip too small

I'm using the geometry package to change the header and footer of my page to specific values. Until now, it wasn't possible for me to get the footer in the right dimensions. The header looks has its ...
6
votes
1answer
3k views

Inconsistent margins using fancyhdr and geometry

For my homework assignments I usually use the fancyhdr package to create a header that contains the group (A, B, C etc), homework title, my name + student number and the date. Besides that I ...
3
votes
2answers
574 views

Convert MS word margins into geometry package margins

I would like to convert the following margins that I have found in my MS word document to geometry package. Top: 2.38cm Bottom: 2.38cm Inside: 2.29cm Outside: 1.52cm Gutter: 0cm Here is ...
5
votes
1answer
291 views

Align TikZ grid with geometry crop marks

I am drawing a grid on top of the layout defined with geometry. \documentclass[letter]{article} \usepackage{geometry} \geometry{ showcrop, paper = a4paper, layout = a5paper, ...
4
votes
2answers
270 views

Text does not fit foot line space

For my next essay, I got some requriements from my teacher. The layout concerning headlines and footlines should be like this (as there is no adequate Times New Roman I chose Arial): ...
5
votes
1answer
2k views

Alternate Row colors in longtable

I am using the method proposed by Nikos Alexandris in "How to apply alternate row coloring in a longtable in LyX?" works to a limited extent but the shaded rows does not fill the whole width of page. ...
0
votes
1answer
474 views

Createspace template for a pocket book

I have been used createspace (GitHub) package but that is not giving me the desired results. I have attempted to use the geometry package with the following code: \usepackage[paperwidth=5.325in, ...
3
votes
1answer
634 views

Manipulating isosceles triangle

\documentclass{article} \usepackage{tikz} \usepackage{pgf} \usetikzlibrary{shapes.geometric} \usepgflibrary{decorations.shapes} \usetikzlibrary{decorations.shapes, shapes, fit, arrows, ...
0
votes
0answers
61 views

Change margins for title page [duplicate]

I am trying to change the margins for the title page - especially the top margin of the title page. How do I go about decreasing this? So, in my report, on the first page (title), the heading has a ...
1
vote
1answer
454 views

How to enlarge the header of a fancy page style? [closed]

I am using a fancy page style for my report. I am using the following code to set the width of the body: \usepackage[left=3cm, right=2.5cm, top=2.65cm, bottom=2.65cm]{geometry} However, the bar in ...
2
votes
1answer
193 views

How can I reduce the left margin in the documentclass hitec?

I am quite aware of the package geometry, but it does not seem to play nice with the hitec document class. I have looked at related questions How to reduce the margins and How can I change the margins ...
0
votes
0answers
48 views

Dimensions of the pages [duplicate]

I have used the simple dimensions top, bottom, left and right to scale all pages of my document with the geometry package. Suppose I want a few pages with different scaling and a few pages with ...
4
votes
1answer
608 views

First page bottom margin problems — fancyhdr / geometry

Can anyone please help me understand why the bottom margin on the first page spills over if I only use the geometry definitions inside the square brackets of \usepackage[]{geometry}; however, placing ...
0
votes
1answer
375 views

Bad margins while printing

I'm using geometry package like this: \usepackage[landscape]{geometry} \newgeometry{twocolumn, left=0.25cm, right=0.25cm, top=0.8cm, bottom=0.4cm} and fancyhdr package like this: ...
7
votes
3answers
1k views

My footer disappears when I increase headheight

I have created a custom simple layout with the fancyhdr package. Because the header I must use is somewhat big, LaTeX instructed me to increase the headheight to at least a minimum value. The problem ...
0
votes
1answer
210 views

Problems shrinking margins with fncychap and memoir class

Hullo all. I am typing/editing a doc using the memoir class and Bjornstrup fancy chapter headings. Whenever I try to adjust [shrink] the margins using the geometry package, 'odd' things happen: the ...
2
votes
2answers
1k views

What would the equivalent \setlength commands be for letter and A4 paper?

If one were type setting a business letter on A4 paper he might use: \setlength{\textheight}{215mm} \setlength{\textwidth}{160mm} \setlength{\oddsidemargin}{0pt} \setlength{\topmargin}{-20pt} ...
1
vote
2answers
333 views

Custom geometry for a first chapter page?

On normal pages I have header and no footer. On first chapter page -- I have footer (with page number) and no header. Hence I need: \newgeometry{top=2cm, bottom=1.2cm, left=1.5cm, right=1.7cm} for ...
4
votes
1answer
2k views

Odd-even margin

I am writing a book and I need to set the odd/even margin on the binding side. \usepackage[top=2cm, bottom=2cm, left=1cm, right=1cm, headsep=14pt]{geometry} I need left = 2.1cm for odd pages and ...
7
votes
1answer
549 views

A perpendicular line to a plane in 3D

I have two line segments identified by two end points each. Two line segments are in the same plane and intersecting at a point. I would like to draw a line (normal of the plane) passing through the ...
4
votes
1answer
957 views

Is there any way to make two pages per sheet (landscape) and the page numbering appears as if each column was a page?

I want to make a landscape sheet with two pages (like two columns) and I want that the page numbering to be a number per page (a number per column) instead of a number per sheet. I use ...
4
votes
0answers
1k views

Attempts to manually change \linewidth ignored by LaTeX [closed]

I was going to try to answer the question: How can I change the geometry of a page on the chapter header page only, and return to normal on the next page? It didn't seem like it should be too ...
4
votes
1answer
276 views

How can I change the geometry of a page on the chapter header page only, and return to normal on the next page?

Edit: It would appear that I wasn't clear in my reasoning as to why I wanted to do this.. I would like to design a way that I can have a chapter intro page that is full width, so I can fill it up ...
5
votes
1answer
12k views

How can I change the margins in LaTeX? [duplicate]

How do I change the margin of all pages? I want the latex page be .25 in margin around all the pages.
3
votes
1answer
557 views

Change behavior of geometry for all pages

I'm using the llncs document class and wanted to change the margin of all pages, using the geometry package. I use the following command: ...
4
votes
2answers
913 views

How do I get letter sized paper when I am using the res.cls margin option

Here is the first part of my code sorry I'm new to TeX but this is really annoying me also using the geometry package doesn't work and neither does \documentclass[margin, letterpaper]{res} ... ... % ...
5
votes
2answers
179 views

Pgfplots gives spurious lines in external mode with geometry

This is not a major problem but all the same I would like to confirm that I am not doing anything wrong. Geometry package with showframe=true option is used to see if all the figures are within the ...
9
votes
1answer
789 views

fancyhdr not centering after changed geometry

I have a document with different page margins, so I have to change geometry settings after fancyhdr loaded. However, the width of header after geometry is not correct. \documentclass[12pt]{article} ...
6
votes
1answer
481 views

All the document in only one long and continuous page

Well, may be this is not really useful, but I've thought if it was possible to put all the document in one long page. I mean, if your document is going to be read in a computer, mix all the pages in ...
0
votes
0answers
30 views

Large pages with minimum page-breaking [duplicate]

Possible Duplicate: What’s the absolute largest paper size permissible with pdflatex? I want a long document to fit in a single page. That would make proofreading easier for me. The most I ...
2
votes
1answer
249 views

geometry package doesn't change textheight?

When I compile this MWE, I get a box that takes up about 80% of a vertical page. Since I have specified max height=0.4\textheight in adjustbox, I'd expect a box half the size... is geometry not ...
1
vote
1answer
270 views

geometry options problem

I am using geometry package with \LoadClass[twocolumn]{article}. But when I use geometry, the options for left,right,top,bottom are effecting only in even pages not in odd pages. How can i change ...