0

I need it to be repeated in every page of the document at a fixed position.The flow of the text hasn't to be involved. It comes to two signatures in a contract. They have to assume a vertical position. What if I wanted to exclude some pages from the change? Generally the last one in a contract. Thanks again.

2

1 Answer 1

2

The following inserts an 12cm, rotated

Signature: _______________  Signature: _______________

in the ForeGround of every page at the vertical centre of the text block, 1in into the right margin. Code is commented to highlight the positioning:

enter image description here

\documentclass{article}

\usepackage{eso-pic,graphicx}
\usepackage{lipsum}

\AddToShipoutPictureFG{%
  \AtTextLowerLeft{%
    \hspace*{\textwidth}% Move to LowerRight of Text block
    \hspace*{1in}% Move 1in into the right margin
    \raisebox{\dimexpr.5\textheight-.5\height}{% Move image to vertical centre
      \rotatebox{90}{% Rotate 90 degrees
        \makebox[12cm]{Signature: \hrulefill \quad Signature: \hrulefill}}}% Insert signature(s)
  }%
}

\begin{document}

\sloppy\lipsum[1-50]\lipsum[1-50]% Your document content

\end{document}
2
  • Thank you so much for your kind and prompt reply. This is a wonderful community. I am a Latex's beginner. However I would need to insert a text like this: Signature_________________________ Signature __________How have I to modify that piece of code?
    – Gianluca
    Commented Oct 14, 2017 at 6:34
  • @Gianluca: See the updated answer.
    – Werner
    Commented Oct 14, 2017 at 6:53

You must log in to answer this question.

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