Hi!
I've got a problem with textheight. I can't change the textheight for the first page in my \fancypagestyle{firstpage}. I want to put \textheight = 400pt in the first page and \textheight = 609pt in the other pages.
How do I do this?
I've attached my full code.
Thanks in advance
General ⇒ Problem with textheight
Problem with textheight
- Attachments
-
- wynik.tex
- (15.73 KiB) Downloaded 473 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Problem with textheight
Since you are already using geometry, you could try to change the type area where needed. The documentation of geometry should show how this can be done. I never did that so I can't give any details.
It seems to me like you are doing an invoice. If my assumption is correct, you should take a look at invoice or isodoc.
Best regards and welcome on Board
Thorsten
It seems to me like you are doing an invoice. If my assumption is correct, you should take a look at invoice or isodoc.
Best regards and welcome on Board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Problem with textheight
I've tried to find a way how to fix the wrong textheight on the first page (other pages are ok), but i'm unable to do that. You can see the wrong formatting on the first page by generate a dvi document.
Thanks for your links localghost, that could be usefull (i didn't know about them), but now I've got to fix the problem in my document without large modifications.
Has anyone any suggestions?
I'll be very thankful!
Thanks for your links localghost, that could be usefull (i didn't know about them), but now I've got to fix the problem in my document without large modifications.
Has anyone any suggestions?
I'll be very thankful!
Re: Problem with textheight
Since you do not attach the file Ep1.eps, it is not possible to reproduce exactly the document you see. To figure out how it is, I have replaced \includegraphics[width = 4cm, height = 1cm]{Ep1.eps} by \rule{4cm}{1cm}. Theoretically, the black rectangle produced by \rule occupies the same space as the graphic. However, I do not see any problem in the resulting document. Is it possible that the graphic can cause some trouble?
Re: Problem with textheight
I'm so sorry, I've attached the old verion of document. Now i send the right .tex file.
- Attachments
-
- wynik2.tex
- (30.41 KiB) Downloaded 470 times
Re: Problem with textheight
Before the longtable environment, add \enlargethispage{-100pt} or something similar. It seems that lengths cannot be modified inside pagestyle definitions.
By the way, you can remove the packages you do not actually use: eso-pic, lastpage, array, graphics, multirow. You also load helvet twice.
By the way, you can remove the packages you do not actually use: eso-pic, lastpage, array, graphics, multirow. You also load helvet twice.
Re: Problem with textheight
Many thanks, that has solved my problem.