6

I'm trying to copy a stationery format which puts the return address in a small block in the middle of the left margin of the page, like a header, but on the side I've tried using the everypage package, and am slowly converging on a solution, but am having trouble positioning my parbox. I was hoping somebody knew a quick and easy solution. I am using the letter package, and using pdflatex, in case that's relevant.

1
  • 1
    Even thought it may seem trivial, it is always best to compose a MWE including the \documentclass so that we can see what you have tried so far and help to improve upon it. Commented Oct 12, 2011 at 22:24

2 Answers 2

9

The background package could be an option:

\documentclass{letter} 
\usepackage{background}
\usepackage{lipsum}% just to generate text for the example

\SetBgAngle{0}
\SetBgScale{1}
\SetBgColor{black}
\SetBgOpacity{1}
\SetBgPosition{.01\paperwidth,-.5\textheight}
\SetBgContents{\fbox{\parbox{3cm}{%
Return Address:\\
John Q. Citizen\\
500 Park Place\\
Boston, MA. 01234}}%
}

\begin{document} 

\lipsum[1-4]

\end{document}

enter image description here

1
  • Exactly what I was looking for. Thanks so much. Commented Oct 13, 2011 at 18:56
4

There are a couple of packages that provide absolute positioning of items on a page. For example, the eso-pic package allows for foreground or background placement of arbitrary stuff at page shipout. The following minimal example places a similar \fbox{\parbox{..}{...}} to what is included in @Gonzalo's answer on the foreground of all pages in your document:

\documentclass{article}
\usepackage{eso-pic}% http://ctan.org/pkg/eso-pic
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\AddToShipoutPictureFG{%
  \AtTextCenter{%
    \hspace*{-0.45\paperwidth}\fbox{\parbox{3cm}{%
      Return Address:\\
      John Q. Citizen\\
      500 Park Place\\
      Boston, MA. 01234}}%
  }
}
\lipsum[1-6]
\end{document}

enter image description here

Using the starred version \...FG*{<stuff>} only includes <stuff> on the foreground of the current page.

Also see the documentations of the textpos package and that of tikz.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .