| 1 |
\documentclass[12pt,english]{article} |
| 2 |
\usepackage[T1]{fontenc} |
| 3 |
\usepackage{pstricks} |
| 4 |
\usepackage{pst-node} |
| 5 |
\usepackage{pst-3dplot} |
| 6 |
\usepackage{pst-calendar} |
| 7 |
\usepackage{blindtext} |
| 8 |
\usepackage{babel} |
| 9 |
\usepackage{microtype}% for the last pdflatex run |
| 10 |
\begin{document} |
| 11 |
|
| 12 |
foo\begin{pspicture}[showgrid=true](4,2)\psscaleboxto(8,2){foo}\end{pspicture}bar |
| 13 |
|
| 14 |
\begin{pspicture}[showgrid=true](4,2) |
| 15 |
\psscaleboxto(4,2){foo bar} |
| 16 |
\end{pspicture} |
| 17 |
|
| 18 |
|
| 19 |
foo\begin{pspicture}[showgrid=true](4,2) |
| 20 |
\psscaleboxto(8,2){foo bar baz} |
| 21 |
\end{pspicture}bar |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
\begin{postscript} |
| 26 |
\psscalebox{0.5}{% |
| 27 |
\psCalDodecaeder[style=january,unit=0.75,Year=2020]} |
| 28 |
\end{postscript} |
| 29 |
|
| 30 |
\includegraphics{tux.jpg}% a jpg image |
| 31 |
|
| 32 |
|
| 33 |
foo bar baz foo bar baz |
| 34 |
|
| 35 |
\begin{postscript}\rnode{foo}{foo} bar baz |
| 36 |
|
| 37 |
foo bar baz foo bar \rnode{baz}{baz} foo bar baz |
| 38 |
\ncarc[linecolor=red]{<->}{foo}{baz}\end{postscript} |
| 39 |
|
| 40 |
foo bar baz |
| 41 |
|
| 42 |
\begin{postscript} |
| 43 |
\psframebox{% |
| 44 |
\begin{pspicture}(-3,-2)(3,6.5) |
| 45 |
\pstThreeDCoor[zMax=7] |
| 46 |
\pstIIIDCylinder[RotY=30,fillstyle=solid,fillcolor=red!20,linecolor=black!60](0,0,0){2}{5} |
| 47 |
\pstThreeDLine[linecolor=red]{->}(0,0,5)(0,0,7) |
| 48 |
\pstThreeDLine[linecolor=red]{->}(-1,0,0)(4,0,0) |
| 49 |
\pstThreeDLine[linecolor=red]{->}(0,-1,0)(0,4,0) |
| 50 |
\end{pspicture} |
| 51 |
} |
| 52 |
\end{postscript} |
| 53 |
|
| 54 |
|
| 55 |
\begin{postscript} |
| 56 |
\begin{pspicture*}(-4,-2)(3,6.5) |
| 57 |
\pstThreeDCoor[zMax=7] |
| 58 |
\pstIIIDCylinder[RotY=30,fillstyle=solid,fillcolor=red!20,linecolor=black!60](0,0,0){2}{5} |
| 59 |
\pstThreeDLine[linecolor=red]{->}(0,0,5)(0,0,7) |
| 60 |
\pstThreeDLine[linecolor=red]{->}(-1,0,0)(4,0,0) |
| 61 |
\pstThreeDLine[linecolor=red]{->}(0,-1,0)(0,4,0) |
| 62 |
\end{pspicture*} |
| 63 |
\end{postscript} |
| 64 |
|
| 65 |
|
| 66 |
\end{document} |