Page LayoutBottom margin in a single page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Chaabain
Posts: 2
Joined: Thu Feb 10, 2011 7:48 pm

Bottom margin in a single page

Post by Chaabain »

Good evening,

I am a new user of LaTeX. I would like to know how I could change just the bottom margin of a single page without influencing the margins of other pages.

Thank you in advance.

Best Regards,
Chaabain
Last edited by Chaabain on Fri Feb 11, 2011 4:29 pm, edited 3 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bottom margin in a single page

Post by localghost »

A few more details about what you are after couldn't do any harm. If it's only about getting a bit more text on that page, this is done with a single command at the concerned place.

Code: Select all

\enlargthispage[2\baselineskip]   % allow two more lines on current page
Note that this actually doesn't touch the bottom margin and may overwrite the content in the footer.

If you want to really alter the bottom margin, take a look at the geometry package. It allows to alter the page geometry within the document and restore it later on.


Best regards and welcome to the board
Thorsten
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Bottom margin in a single page

Post by frabjous »

Thorsten made a couple typos while typing the command. It's \enlargethispage not \enlargthispage, and its argument goes in braces {...} not brackets.

But the thing I really wanted to note is that you can also use a negative value if you wanted to increase the bottom margin on a page:

Code: Select all

\enlargethispage{-2\baselineskip}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bottom margin in a single page

Post by localghost »

frabjous wrote:Thorsten made a couple typos while typing the command. It's \enlargethispage not \enlargthispage, and its argument goes in braces {...} not brackets. […]
Oh yes, indeed. Don't know where I had my head.

Code: Select all

\enlargethispage{2\baselineskip}   % allow two more lines on current page
Chaabain
Posts: 2
Joined: Thu Feb 10, 2011 7:48 pm

Re: Bottom margin in a single page

Post by Chaabain »

This command:
\enlargethispage{4\baselineskip}
perfectly works except that it increases the top margin and I don't want to do that.
Post Reply