diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/ltximg/test.tex')
-rw-r--r-- | Master/texmf-dist/doc/support/ltximg/test.tex | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/ltximg/test.tex b/Master/texmf-dist/doc/support/ltximg/test.tex new file mode 100644 index 00000000000..32872a9ec33 --- /dev/null +++ b/Master/texmf-dist/doc/support/ltximg/test.tex @@ -0,0 +1,47 @@ +\documentclass{article} +\usepackage[cmyk]{xcolor} +\usepackage{tikz} +\usepackage{pstricks-add} +\begin{document} +Text inline \verb|\begin{pspicture*} o \begin{tikzpicture} \begin{other}| + +\begin{tikzpicture} +\shadedraw [shading=ball] (0,0) circle (2cm); +\end{tikzpicture} + +\begin{verbatim} +\begin{tikzpicture} +\shadedraw [shading=ball] (0,0) circle (2cm); +\end{tikzpicture} +\end{verbatim} + +\begin{pspicture}(-0.5,-0.5)(5,3.5) +\psset{unit=1.0cm,algebraic=true,dimen=middle,linewidth=0.8pt} +\pscustom[linewidth=0.7pt,linecolor=red,fillcolor=red,fillstyle=solid,opacity=0.25]{ +\parametricplot{-2.39}{-1.14}{0.52*cos(t)+3.25|0.52*sin(t)+3} +\lineto(3.25,3)\closepath} +\pspolygon[linewidth=0.7pt,linecolor=cyan,fillcolor=green,fillstyle=solid,opacity=0.25](0.25,0.25)(3.25,3)(4.5,0.25) +\begin{scriptsize} +\uput[d](0.25,0.25){\red{$A$}} +\uput[u](3.25,3){\red{$B$}} +\uput[d](4.5,0.25){\red{$C$}} +\uput{7pt}[-100](3.25,3){\red{$\alpha$}} +\end{scriptsize} +\end{pspicture} + +\begin{verbatim} +\begin{pspicture}(-0.5,-0.5)(5,3.5) +\psset{unit=1.0cm,algebraic=true,dimen=middle,linewidth=0.8pt} +\pscustom[linewidth=0.7pt,linecolor=red,fillcolor=red,fillstyle=solid,opacity=0.25]{ +\parametricplot{-2.39}{-1.14}{0.52*cos(t)+3.25|0.52*sin(t)+3} +\lineto(3.25,3)\closepath} +\pspolygon[linewidth=0.7pt,linecolor=cyan,fillcolor=blue,fillstyle=solid,opacity=0.25](0.25,0.25)(3.25,3)(4.5,0.25) +\begin{scriptsize} +\uput[d](0.25,0.25){\red{$A$}} +\uput[u](3.25,3){\red{$B$}} +\uput[d](4.5,0.25){\red{$C$}} +\uput{7pt}[-100](3.25,3){\red{$\alpha$}} +\end{scriptsize} +\end{pspicture} +\end{verbatim} +\end{document} |