Text Formattingwrite on top of pdf document?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mugge
Posts: 3
Joined: Mon Nov 30, 2015 10:25 pm

write on top of pdf document?

Post by mugge »

Hi new here and also newbie when it comes to LaTeX.
If im in the wrong forum please let me know :)

what i want to do is to use a pdf form, and simply fill in the form using LaTeX.

I have tried some options like:

Code: Select all

\begin{document}
%\AddToShipoutPicture{\BackgroundPic}
    \includepdf[pages=1-last,%
        picturecommand*={%
        \put(200,195){\textbf{Mugge}}%
        \put(200,175){\textbf{1984}}%
        \put(200,155){\textbf{bla bla}}%
        \put(200,135){\textbf{1986-xxxx}}%
    }]{labb.pdf}
problem is that there are several pages.. how do i switch to next page?

I also tried some other background feature but then I only get the front page.
any tips and ideas?

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

write on top of pdf document?

Post by Stefan Kottwitz »

Hi Mugge!

picturecommand* executes its picture commands only on the very first page. That star indicates a special mode for only a one-time effect.

Simply use picturecommand without the star * to have the commands applied to every page.

Stefan
LaTeX.org admin
mugge
Posts: 3
Joined: Mon Nov 30, 2015 10:25 pm

Re: write on top of pdf document?

Post by mugge »

Thank you, altough I did figure that out.

Problem was to put the text on top of the "pictures" sort of as the pdf is constantly in the background, enabeling me to type as usual?

Regards Mugge
Post Reply