Page LayoutPut some Stuff into the Page Margin

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
luisnovo
Posts: 7
Joined: Fri Aug 27, 2010 4:42 pm

Put some Stuff into the Page Margin

Post by luisnovo »

Hello everyone,

I'm trying to write a note like in the 2nd page of this document (left side on the bottom):

http://www.iso-chemie.co.uk/material/pr ... strips.pdf

Can anyone help me?!

Thank you!
LMP

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

Re: Put some Stuff into the Page Margin

Post by localghost »

Is this note going to appear only on a certain page or possibly on all pages of your document?


Thorsten
luisnovo
Posts: 7
Joined: Fri Aug 27, 2010 4:42 pm

Put some Stuff into the Page Margin

Post by luisnovo »

localghost wrote:Is this note going to appear only on a certain page or possibly on all pages of your document?


Thorsten
Possibly on all pages.

Thank you for answering!
Luís
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Put some Stuff into the Page Margin

Post by localghost »

The eso-pic package allows to add content to every page at arbitrary places. Just think of the whole page as a usual picture environment. The example below shows a basic approach.

Code: Select all

% !TeX program = pdflatex
\documentclass[11pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{graphicx}
\usepackage{eso-pic}
\usepackage{blindtext}

\AddToShipoutPicture{
  \AtPageLowerLeft{
    \put(40,40){
      \tiny%
      \rotatebox[origin=l]{90}{Your Note}%
    }
  }
}

\begin{document}
  \blinddocument
\end{document}
If you need further adjustments or modifications, feel free to ask.

Please note that the packages babel (along with its global language option) and blindtext are not part of the solution. They have only been used to create a dummy document with several pages for a demonstration of the concept.
luisnovo
Posts: 7
Joined: Fri Aug 27, 2010 4:42 pm

Re: Put some Stuff into the Page Margin

Post by luisnovo »

Well, it works. Very nice, I will use it on my CV template for copyright notice.

Thank you very much!

Yours,
Luís
Post Reply