Text FormattingMade a savebox: How do I auto put this on every page?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Made a savebox: How do I auto put this on every page?

Post by Faust »

I have made my logo for my company with Tikz, and put it in a savebox (cause its a whole bunch of code).

When writing letters, I currently manually call this savebox every new page. How do I make this automatically?

Thanks!

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Made a savebox: How do I auto put this on every page?

Post by frabjous »

Take a look at the everypage package (or possibly fancyhdr depending on where you're putting this logo).
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Made a savebox: How do I auto put this on every page?

Post by Faust »

Thanks! That works -kinda-

Only drawback is that its is placed on the wrong spot, but changing the coordinates in my put command fixed that.
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: Made a savebox: How do I auto put this on every page?

Post by Faust »

I found out that you can also easily use a savebox in combination with the watermark package.

I used it like this:

\graphicspath{{eps/}{pdf/}}

\newsavebox\mygraphictwo
\sbox\mygraphictwo{ PUT YOUR STUFF HERE}

\rightwatermark{\put(-124,-742.9){\usebox{\mygraphictwo}}}
Post Reply