| 1 |
# pdfoverlay — A LaTeX style for overlaying text on a PDF |
| 2 |
|
| 3 |
The `pdfoverlay` package provides a simple interface to overlay text on to an |
| 4 |
existing PDF. The text to be overlaid is typeset and positioned normally as |
| 5 |
you would any other LaTeX document. Some or all of the pages of the PDF can be |
| 6 |
included and not all pages of the PDF need have overlaid text. It’s also |
| 7 |
possible to include text between pages of the PDF. |
| 8 |
|
| 9 |
## Installation from TeXLive or MiKTeX |
| 10 |
|
| 11 |
`pdfoverlay` is in TeXLive and MiKTeX and can be installed in the usual way |
| 12 |
through your distribution. E.g., in TeXLive by running: |
| 13 |
|
| 14 |
``` |
| 15 |
tlmgr install pdfoverlay |
| 16 |
``` |
| 17 |
|
| 18 |
## Installation from CTAN |
| 19 |
|
| 20 |
Download and unpack `pdfoverlay.zip` from CTAN at |
| 21 |
https://ctan.org/pkg/pdfoverlay |
| 22 |
|
| 23 |
Change to the `pdfoverlay` directory, then run: |
| 24 |
|
| 25 |
``` |
| 26 |
tex pdfoverlay.ins |
| 27 |
``` |
| 28 |
|
| 29 |
to generate `pdfoverlay.sty`. |
| 30 |
|
| 31 |
Copy `pdfoverlay.sty` to `$TEXMFHOME/tex/latex/pdfoverlay/` and |
| 32 |
`pdfoverlay.pdf` to `$TEXMFHOME/doc/latex/pdfoverlay/`. |
| 33 |
|
| 34 |
You can find `$TEXMFHOME` by running: |
| 35 |
|
| 36 |
``` |
| 37 |
kpsewhich -var-value=TEXMFHOME |
| 38 |
``` |
| 39 |
|
| 40 |
## Installation from Git Source |
| 41 |
|
| 42 |
`pdfoverlay` uses the `l3build` system. |
| 43 |
|
| 44 |
Clone the git repository using: |
| 45 |
|
| 46 |
``` |
| 47 |
git clone https://github.com/dcpurton/pdfoverlay.git |
| 48 |
``` |
| 49 |
|
| 50 |
Change to the `pdfoverlay` directory, and then the style file |
| 51 |
(`pdfoverlay.sty`) and documentation (`pdfoverlay.pdf`) can be installed by |
| 52 |
running: |
| 53 |
|
| 54 |
``` |
| 55 |
l3build install --full |
| 56 |
``` |
| 57 |
|
| 58 |
## Licence |
| 59 |
|
| 60 |
``` |
| 61 |
Copyright (c) 2018-2022 David Purton <[email protected]> |
| 62 |
|
| 63 |
This work may be distributed and/or modified under the conditions of |
| 64 |
the LaTeX Project2 Public License, either version 1.3c of this license |
| 65 |
or (at your option) any later version. The latest version of this |
| 66 |
license is in |
| 67 |
http://www.latex-project.org/lppl.txt |
| 68 |
and version 1.3c or later is part of all distributions of LaTeX |
| 69 |
version 2005/12/01 or later. |
| 70 |
|
| 71 |
This work is "maintained" (as per the LPPL maintenance status) |
| 72 |
by David Purton. |
| 73 |
|
| 74 |
This work consists of the files pdfoverlay.ins, pdfoverlay.dtx, README.md, |
| 75 |
and the derived files pdfoverlay.sty and pdfoverlay.pdf |
| 76 |
``` |