summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/testpdf.tex
blob: 7ff3664707fbc649214952618a670ea2a7346463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% testpdf.tex
% To test circuit files using pdflatex
% 1.  Use m4 and dpic -p to create test.tex as usual
% 2.  Type ps4pdf.sh testpdf
%     See http://www.tug.org/TUGboat/Articles/tb22-4/tb72voss4pdf.pdf
%
\documentclass[11pt]{article}
\usepackage{ps4pdf}
\usepackage{siunitx}
\PSforPDF{ \usepackage{pstricks} }

\pagestyle{empty} \thispagestyle{empty}
\begin{document}
\PSforPDF{ \input{test.tex} }
\end{document}