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)?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- 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: 10397
- 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