General ⇒ Adjusting margins for a single page
Adjusting margins for a single page
I have margins defined by the geometry package. For a single page in my report, I need to put a graphic pretty much flush with the edges of the page itself.
I figured I could do this two ways:
1) Change the footer to the graphic.
The Problem: the footer isn't big enough, and refuses to resize. I need to keep the foot height at 1 inch throughout the majority of the document, so that's what I passed to geometry, but I can't seem to get it to grow for that single page. geometry will only work if it's in the preamble, and I've otherwise tried doing all kinds of things with \footheight and \footrulewidth, to absolutely no avail (they in fact made no changes whatsoever; \footheight isn't even recognized as any kind of anything).
2) Obliterate the footer for that page and stretch the body down through the bottom of the page.
The Problem: similar to the one above; the bottom of 1 inch declared in the invocation of geometry simply refuses to go away. Pushing any text down far enough makes it wrap to the next page, and it never gets closer than an inch away from the bottom.
Help, please?
-cvp
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Adjusting margins for a single page
you could use the textpos package to put the graphic to an absolute position on the page.
Stefan
Re: Adjusting margins for a single page
I think that'll do just fine, thanks!
However, I'd prefer to use a method that actually adjusts the margin and/or foot height itself, for future reference. Also, I have a few other problems that could've been easily fixed by fudging margins that never worked out because of the problems I mentioned in my first post.
Thanks again!
-cvp
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Adjusting margins for a single page
I just wanted to say that for the issue I brought up in my original post (putting a graphic at the bottom edge of the page) textpos worked quite beautifully.
Thanks again!