summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/ltximg/test.tex
blob: 32872a9ec330e715a9c7729cf8377416248f6cf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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}