summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/pst2pdf/test1.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-08-24 20:55:24 +0000
committerKarl Berry <karl@freefriends.org>2020-08-24 20:55:24 +0000
commit6a10b4335e0035a4466860173ced955e14b514d4 (patch)
tree4a85f607e9327e6068be36551c1b100002c7e8a8 /Master/texmf-dist/doc/support/pst2pdf/test1.tex
parent9c386defb52ed010c6708a2e09a713500f10e7fb (diff)
pst2pdf (24aug20)
git-svn-id: svn://tug.org/texlive/trunk@56172 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/pst2pdf/test1.tex')
-rw-r--r--Master/texmf-dist/doc/support/pst2pdf/test1.tex69
1 files changed, 69 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/pst2pdf/test1.tex b/Master/texmf-dist/doc/support/pst2pdf/test1.tex
new file mode 100644
index 00000000000..9d52356ba09
--- /dev/null
+++ b/Master/texmf-dist/doc/support/pst2pdf/test1.tex
@@ -0,0 +1,69 @@
+\documentclass[12pt,english]{article}
+\usepackage[T1]{fontenc}
+\usepackage{pstricks}
+\usepackage{pst-node}
+\usepackage{pst-3dplot}
+\usepackage{pst-calendar}
+\usepackage{blindtext}
+\usepackage{babel}
+\usepackage{microtype}% for the last pdflatex run
+\begin{document}
+
+foo\begin{pspicture}[showgrid=true](4,2)\psscaleboxto(8,2){foo}\end{pspicture}bar
+
+\begin{pspicture}[showgrid=true](4,2)
+ \psscaleboxto(8,2){foo bar}
+\end{pspicture}
+
+\blindtext
+
+foo\begin{pspicture}[showgrid=true](4,2)
+ \psscaleboxto(8,2){foo bar baz}
+\end{pspicture}bar
+
+\blindtext
+
+
+\begin{postscript}
+\psscalebox{0.5}{%
+\psCalDodecaeder[style=january,unit=0.75,Year=2010]}
+\end{postscript}
+
+\includegraphics{tux.jpg}% a jpg image
+
+\blindtext
+
+\begin{postscript}\rnode{foo}{foo} bar baz
+
+foo bar baz foo bar \rnode{baz}{baz} foo bar baz
+\ncarc[linecolor=red]{<->}{foo}{baz}\end{postscript}
+
+\blindtext
+
+\begin{postscript}
+\psframebox{%
+\begin{pspicture}(-3,-2)(3,6.5)
+\pstThreeDCoor[zMax=7]
+\pstIIIDCylinder[RotY=30,fillstyle=solid,fillcolor=red!20,linecolor=black!60](0,0,0){2}{5}
+\pstThreeDLine[linecolor=red]{->}(0,0,5)(0,0,7)
+\pstThreeDLine[linecolor=red]{->}(-1,0,0)(4,0,0)
+\pstThreeDLine[linecolor=red]{->}(0,-1,0)(0,4,0)
+\end{pspicture}
+}
+\end{postscript}
+
+\blindtext
+
+\blindtext
+
+\begin{postscript}
+\begin{pspicture*}(-4,-2)(3,6.5)
+\pstThreeDCoor[zMax=7]
+\pstIIIDCylinder[RotY=30,fillstyle=solid,fillcolor=red!20,linecolor=black!60](0,0,0){2}{5}
+\pstThreeDLine[linecolor=red]{->}(0,0,5)(0,0,7)
+\pstThreeDLine[linecolor=red]{->}(-1,0,0)(4,0,0)
+\pstThreeDLine[linecolor=red]{->}(0,-1,0)(0,4,0)
+\end{pspicture*}
+\end{postscript}
+
+\end{document} \ No newline at end of file