Page LayoutTransparent PDF Output

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
MrH86A
Posts: 9
Joined: Tue Nov 08, 2011 4:36 pm

Transparent PDF Output

Post by MrH86A »

Hi, is there a way to create a transparent PDF, i.e. without the white background?

I want to import a PDF created by LaTeX into another software such that only the text (contents) is displayed without the white background.

Many thanks.

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

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Transparent PDF Output

Post by 5gon12eder »

This is the default. I suspect the problem is within the program that imports the PDF.

Consider the following example. It shows that the text is overprinted and there is no white background that would hide the text underneath.

demo1.tex

Code: Select all

\documentclass{article}

\begin{document}
  This is the first document.
\end{document}
demo2.tex

Code: Select all

\documentclass{article}

\begin{document}
  This is the second document.
\end{document}
The file generated by running

pdflatex demo1.tex
pdflatex demo2.tex
pdftk demo1.pdf stamp demo2.pdf output demo.pdf


is attached.

Best
Attachments
demo.pdf
(26.31 KiB) Downloaded 643 times
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
Post Reply