Document Classes ⇒ Page background customization
Page background customization
I'm making a fancy book (for kids) which have to contain some fancy border with some ornaments, graphics etc. around (and/or below) the text on every page. Is there a way to put, let say, a pdf document containing borders/graphics which will be in the background of every page (some sort of pattern that will ve reoccuring through the document)?
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
Page background customization
I did something similar using the eso-pic package like this:
Code: Select all
\usepackage{eso-pic}
\usepackage{graphicx}
\AddToShipoutPicture*{%
\put(0,0){\includegraphics{backgroundpage}}%
}
Stefan
Re: Page background customization

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Page background customization
use \ClearShipoutPicture. Or write just \AddToShipoutPicture*, that's affecting only the current page. See
eso-pic documentation.
Stefan
Page background customization

1. \ClearShipoutPicture does clear picture from background from the place where it is declared onward, while previous pages remain the same.
2. If immediately after \ClearShipoutPicture new \AddToShipoutPicture is declared, then the new picture is in effect from the current page onward. Without \ClearShipoutPicture before it the new \AddToShipoutPicture doesn't have any effect.
Finally got it

Thank you for your help, Stefan_K. You're the man
