summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex b/Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex
new file mode 100644
index 00000000000..823b297b343
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/testpdf.tex
@@ -0,0 +1,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[amssymb,Gray,thinqspace,textstyle]{SIunits}
+\PSforPDF{ \usepackage{pstricks} }
+
+\pagestyle{empty} \thispagestyle{empty}
+\begin{document}
+\PSforPDF{ \input{test.tex} }
+\end{document}