1
vote
1answer
36 views

Using newgeometry — how to prevent moving the top outer page numbers?

I used \newgeometry to enlarge the printing space to include more graphs on a couple pages of my document (article class), but it moved the page number on those pages too. If I want to keep the page ...
5
votes
1answer
104 views

Multiline footer with bottom of text aligned to bottom margin

When a single line of text is added to a footer, it is bottom-aligned to the margin as I would expect: However, when I add a second line of text, the alignment is still with the first line of text. ...
8
votes
1answer
226 views

Distance between top edge of paper and header

EDIT : Please apologize me. I forget to add two lines to MWE I think very essential to handle the problems. Please re-check the MWE. There is parameter defining distance between bottom edge of top ...
4
votes
1answer
82 views

Extra 0.1cm after setting geometry top margin

I try to set 3cm for top margin of the paper with geometry package. After I measure the real length of top margin with PDF, this is actually 3.1 cm. There are a 0.1 extra space there. Also, I spot ...
1
vote
1answer
62 views

Changing the margins of a single page while keeping the headline the same

I need to print a huge figure in my latex document on one single page. I'm currently using \newgeometry{left=10mm, right=10mm, top=25mm, bottom=30mm} \begin{figure}[thb] .... \end{figure} ...
2
votes
1answer
159 views

Change margins for all, but the first page [duplicate]

I've read Setting different margin sizes in different pages and Change \textwidth and \textheight in mid-document, but it doesn't work to well for my use case. I'm using the geometry and fancyhdr ...
0
votes
0answers
66 views

Geometry on last page of document

I would like the geometry of my file to be different on the last page of the document. I have tried something like: \AtEndDocument{\newgeometry{left=0.6in,right=0.6in,top=0.6in,bottom=1.8in}} But ...
3
votes
1answer
99 views

New textwidth for End Matter (but preserve fancyhdr)

Can anyone suggest a strategy for changing the textwidth for the end matter, but preserving the look of fancyhdr, whose offset is calculated using the old geometry. Can't seem to get \newgeometry to ...
4
votes
1answer
455 views

Change \textwidth and \textheight in mid-environment

First, this is not a copy of Change \textwidth and \textheight in mid-document as I can't set a manual \pagebreak and \newgeometry or \restoregeometry thereafter. I want to change the footer size for ...
9
votes
2answers
273 views

Decrease space between paragraph and header

How can I decrease the white space marked with blue? I tried \vspace with negative marks but to no avail (it normally does the trick but not this time). I am using the 'fancyhdr'-package. ...
2
votes
1answer
108 views

Problem with geometry and headers

I am trying to setup the margins such that from the top of the header text and the bottom of the footertext there is exactly 1.5cm space. I was not able to achieve this so far and I would highly ...
0
votes
0answers
39 views

Variable header height [duplicate]

I want to create invoices with LaTeX, and they need a header (containing some company information and maybe a logo) which must be repeated on every page. My problem is that I do not know the header ...
2
votes
0answers
102 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
1answer
119 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
2k 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 ...
8
votes
2answers
915 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 ...
7
votes
1answer
230 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 ...
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
2k 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 ...
1
vote
1answer
320 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 ...
4
votes
1answer
487 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
271 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
964 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 ...
1
vote
2answers
291 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
2answers
679 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 ...
3
votes
2answers
293 views

Longtable doesn't work well with geometry [closed]

I would like to produce document with multiple longtables inside. I need to customize my headers with fancyhdr placing graphics inside it and modyfying page geometry. But then longtables have problems ...
3
votes
0answers
170 views

Change geometry for 'empty' page style only [duplicate]

Possible Duplicate: Change \textwidth and \textheight in mid-document Change page layout after first page I need to make the margins on the first page of my article larger than those on ...
2
votes
1answer
513 views

Page number in top-right corner 15 mm from top

I am using next snippet to set page number in top-right corner. It works fine for me, except I want to place page number exactly 15mm from top edge. Is it possible? Thanks. \usepackage{fancyhdr} ...
4
votes
3answers
3k views

Change \headheight for a \pagestyle

I have a document class that auto generates header from some user input. The problem is the first page should have a different page header than the others and the headline can be multi line. So ...
10
votes
2answers
4k views

Problem with the header/ footer width

I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this? ...
5
votes
1answer
2k views

Fancy headings with newgeometry

I'm working on a document consisting of several pages of text and a series of full-page figures. Since the figures are larger than the normal text width, I've used the geometry package's \newgeometry ...
9
votes
1answer
3k views

geometry, fancyhdr: \fancyfoot[C]{\thepage} is not really centered

After switching from the report class to the book class and starting to use the fancyhdr package to control headers/footers, the page numbers in my footers are no longer centered. This is my fancyhdr ...
3
votes
1answer
2k views

Place header outside set margins of the page

I have to implement some strict guidelines regarding a scholarship application and plan to use the geometry package to achieve this. There is, however, one point I don't understand. The relevant ...
1
vote
1answer
274 views

adjusting the line width of the header with geometry fanchyhdr

the line is longer than the width of the text, how do I adjust, knowing that the package needs fanchyhdr geometry? \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{preambulo} ...
2
votes
3answers
2k views

Twosided book with same page setup for every page (I want to use fancyhdr)

Here is my problem: Im writing my thesis using the book class. I want my thesis to be onesided (left and right margins of same size), but I would also like to use the fancyhdr package to give me ...
10
votes
1answer
3k views

header spacing trouble

I'm using the fancy header package, yet I've also adjusted all of my margins, to allow more text on each page as there is no need for the excessively large margins. I've run in to some trouble with ...