See the attached Latex files.
Using the input files logo and pagenumbering separately works fine. (It generates the LOGO and it gives correct page numbering independently.)
Including the two input files simultainously does not work properly.
Anybody who can see what's wrong?
Kent
Text Formatting ⇒ problem regarding page numbering and logo
problem regarding page numbering and logo
- Attachments
-
- pagenumbering.tex
- (462 Bytes) Downloaded 490 times
-
- lforum.tex
- (380 Bytes) Downloaded 509 times
-
- logo.JPG (8.47 KiB) Viewed 5686 times
-
- logo.tex
- (176 Bytes) Downloaded 516 times
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
problem regarding page numbering and logo
Hi Kent!
The package fancyhdr is loaded two times, in each included file. In the second file,
Stefan
The package fancyhdr is loaded two times, in each included file. In the second file,
\fancyhf
clears the header and footer so previously made settings (page numbering) are lost there.Stefan
LaTeX.org admin
problem regarding page numbering and logo
How can I assure that both LOGO and pagenumbering will work together?
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
problem regarding page numbering and logo
Just a quick note while traveling,
- Remove the
\fancyhf
line - In the main file, change this line:
\setlength{\textheight}{8.5in}
. That's too much, with the logo. The page number is pushed down so it is not visible any more. Use a lower value.
LaTeX.org admin
problem regarding page numbering and logo
It worked with one exception. It does not give the page numbering for the very first page.
Any reason for that.
Kent
Any reason for that.
Kent
problem regarding page numbering and logo
I managed to fix the problem myself.
Kent
Kent
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
problem regarding page numbering and logo
What was the cause? Because it worked for me.
Stefan
Stefan
LaTeX.org admin
problem regarding page numbering and logo
My local set-up was not actually completely identical to what you suggested.
Kent
Kent
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
problem regarding page numbering and logo
Ok, I marked as solved (the green checkmark).
By the way, I would use the
geometry package for setting those page layout lengths. That's because the geometry package auto calculates missing lengths (symmetry etc.) so it's less likely that they layout has an issue, such as when margins and text height or width are larger or smaller than the actual paper size.
Stefan
By the way, I would use the

Stefan
LaTeX.org admin
problem regarding page numbering and logo
Thanks again for all support.
I will check out this package.
Kent
I will check out this package.
Kent