{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.
13
votes
0answers
95 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, ...
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 ...
3
votes
0answers
68 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
610 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
59 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
89 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 ...
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,
...
3
votes
1answer
63 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
0answers
54 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
39 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
...
5
votes
1answer
87 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
312 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 ...
3
votes
1answer
119 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. ...
4
votes
2answers
64 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):
...
2
votes
1answer
212 views
How to change the margins of the only first page of each chapter?
I'm using the geometry package in the book class and now I want the margins of the first page of each chapter to be, for example, top=50mm, bottom=50mm, left=50mm, right=50mm and the ...
4
votes
2answers
3k views
Changing oneside and twoside layout
Is there any solution to use different layouts according to the oneside or twoside specification?
The first part of my report (abstract, ToC, LoF, LoT) should be in oneside mode
and the rest of the ...
0
votes
1answer
92 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
92 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 ...
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 ...
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
247 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
85 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}
...
4
votes
1answer
159 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
209 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
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 ...
2
votes
1answer
92 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
149 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 ...
96
votes
4answers
9k views
Why are default LaTeX margins so big?
I've read that—unless I know a lot about typesetting—I shouldn't change the margins of a LaTeX document. The default margin size of the article class is really big and it feels like a lot of space is ...
3
votes
1answer
196 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.
9
votes
2answers
335 views
How do I typeset a file containing ASCII art using a fixed-width character font?
I have a string with the text precisely spaced the way I want it displayed. It's sort of an ASCII art project. I want to convert this text to a PDF so I can print a poster with the text at my local ...
3
votes
1answer
93 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
211 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}
...
...
% ...
1
vote
1answer
157 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 ...
7
votes
0answers
304 views
Visualizing correct page lengths with 'layouts' and 'tikz' packages?
I am currently working on a project with xelatex/fontspec and tikz, and so, this example is basically the same as the one from layouts package reads all length as zero with tikz/fontspec/xelatex?.
...
8
votes
1answer
169 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
124 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 ...
9
votes
2answers
8k views
How can I fix the error “GUI framework cannot be initialized” with TeXnicCenter and MiKTeX?
I don't know what I've done, but all of a sudden I am unable to compile any document which uses the geometry package. Minimal (non)-working example:
\documentclass[11pt]{article}
...
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 ...
2
votes
1answer
211 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
240 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
248 views
How to set page geometry for a single page only? [closed]
I want to change the geometry for a single page only. I set the geometry for the whole document using:
\usepackage[left=1cm,right=2cm,top=2.5cm,bottom=2.5cm,footnotesep=0.5cm]{geometry}
The ...
2
votes
1answer
142 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, ...



