{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.
17
votes
1answer
139 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, ...
6
votes
0answers
46 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 ...
3
votes
0answers
71 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 ...
21
votes
1answer
615 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
60 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 ...
4
votes
1answer
90 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
118 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
55 views
Different margins for odd and even pages, but not mirrored with memoir
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}{*}
...
0
votes
1answer
40 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
65 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 ...
5
votes
1answer
89 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
315 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 ...
4
votes
0answers
98 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
65 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):
...
3
votes
1answer
122 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
93 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
95 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
48 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
78 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
39 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
42 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 ...
0
votes
1answer
117 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
255 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 ...
2
votes
2answers
86 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
113 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
161 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 ...
6
votes
1answer
211 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 ...
2
votes
1answer
95 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 ...
3
votes
0answers
150 views
Attempts to manually change \linewidth ignored by LaTeX
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
121 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 ...
3
votes
1answer
199 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
94 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:
...
3
votes
2answers
212 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}
...
...
% ...
4
votes
1answer
97 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 ...
8
votes
1answer
170 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}
...
3
votes
1answer
125 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
28 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
115 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
158 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 ...
2
votes
1answer
213 views
How to avoid text overflowing below bottom margin?
My document contains a title page followed by some text. In order to create my title page, I have to change the page margins on the title page using \newgeometry, and after the title page I return to ...
3
votes
2answers
244 views
How to change page margins but keep the placement of the pagemark?
I use the package geometry to adjust the page margins for my needs. However,
the first page should be different. To accomplish this, I used \newgeometry,
\restoregeometry which works fine, except that ...
2
votes
1answer
143 views
Adjust margins for BibTeX using LyX
I'm working on my thesis. Most of the new chapters etc start with a 2" margin on the first page. However, the Bibliography is supposed to start with an 1" margin. I left the document's default margins ...
0
votes
0answers
66 views
A5 document including landscape tables [closed]
I have my book file in a4 format. I'd like to turn it into a5. I used landscaped longtables and I understand the geometry package would not let me use those. Any suggestions?
1
vote
1answer
167 views
Change marginpar for each page
I want to be able to change the marginpar and right values for each page, depending if the page has notes or not. MWE:
\documentclass{article}
\usepackage[top=3cm, bottom=3cm, left=3cm, right=8cm, ...
7
votes
1answer
202 views
Standard way of handling oversize pages?
In a book project, using \geometry{letterpaper}, there are occasional places where an oversize diagram has to be included — one much wider than a normal page — without being reduced or spread across ...
2
votes
1answer
158 views
Slight discrepancy in left/right margins
This is what I'm using:
\usepackage[paper=a4paper,twoside=true,lmargin=4cm,rmargin=4cm,bindingoffset=0cm]{geometry}
For some reasons, when I print out my document, there seems to be a slight 1-2mm ...
3
votes
2answers
126 views
Page margins problem with the title page and rest of the pages in the chapter
I am writing a thesis, and the university has some rules. The word Chapter should be 2in from the top of the page, and the for the rest of the pages, the text should start 1.25in from the top edge. I ...
0
votes
1answer
163 views
Overriding printer scaling defaults from within LaTeX
Edited version of question
I have to produce a series of documents that need to be printed without scaling. The target users are likely to have low-level computer skills and will overlook ...
4
votes
2answers
198 views
Changing text area for Table of Contents in Koma Script
My friend is just about to submit her Diplomarbeit (German M.Sc.) and she bumped into a tiny corner of Koma-Script. The Table of Contents was just a tiny bit too long. Thus, one chapter was forced ...
0
votes
1answer
203 views
Increasing left margins when using scrbook with geometry
I am producing a very large book and need to shift the pages just a little to the right because of excess content generated in the left margin. I cannot have it set both margins bigger as the problem ...
