Debian Codegraph @

texmf-dist/doc/latex/visualpstricks/Source/pst5.tex

raw
1 %\section{Notion de chemin PSTricks }
2 \SSCT{Notion de chemin PSTricks }{Path PSTricks}
3
4 \label{chem}
5
6 \begin{tabular}{|c|c|} \hline
7 \begin{pspicture}*[shift=*](-1,-1)(5,4)
8 \psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
9 \pscustom[linecolor=blue]{ \psline[linecolor=red](0,0)(1,2)(2,2)
10 \psarc[linestyle=dashed](2,2){2}{-60}{60}
11 \fill[fillstyle=solid,fillcolor=green] }
12 \end{pspicture}
13 &
14 \parbox[c]{8cm}{
15 \BSS{pscustom}[{\red linecolor=blue}]\{ \\
16
17 \BS{psline}[{\red linecolor=red} ](0,0)(1,2)\\
18
19 \BS{psarc}[{\red linestyle=dashed}](2,2)\AC{2}\{-60\}\{60\} \\
20
21
22 \BS{fill}[fillstyle=solid,fillcolor=green] \\
23 \} }
24 \\ \hline
25 \end{tabular}
26 \bigskip
27
28
29 \begin{tabular}{|c|c|}\hline
30 \multicolumn{2}{|l|}{\BSS{pscustom} \{ \BS{psline}(0,0)(1,2)(2,2) \BS{psarc}[\RDD{liftpen}=1](2,2)\AC{2}\AC{-60}\AC{60} } \\
31 \multicolumn{2}{|l|}{
32 \BS{fill}[fillstyle=solid,fillcolor=green] \} } \\ \hline
33 \begin{pspicture}*(-1,-1)(5,4)
34 \psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
35 \pscustom{\psline(0,0)(1,2)(2,2)
36 \psarc[liftpen=1](2,2){2}{-60}{60}
37 \fill[fillstyle=solid,fillcolor=green]}
38 \end{pspicture}
39 &
40 \begin{pspicture}*(-1,-1)(5,4)
41 \psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
42 \pscustom[linecolor=blue]{ \psline[linecolor=red](0,0)(1,2)(2,2)
43 \psarc[liftpen=2](2,2){2}{-60}{60}
44 \fill[fillstyle=solid,fillcolor=green]}
45 \end{pspicture}
46 \\
47 \hline \RDD{liftpen}=1 & \RDD{liftpen}=2\\
48 \hline
49 \end{tabular}
50
51 \bigskip
52
53
54 \begin{tabular}{|c|c|} \hline
55 \multicolumn{2}{|l|}{\BSS{pscustom}[fillstyle=\RDD{eofill},fillcolor=green]\{} \\
56 \multicolumn{2}{|l|}{\BS{pscircle}(2,2)\AC{2}
57 \BS{pscircle}(4,2)\AC{2}\}} \\ \hline
58 \begin{pspicture}(6,4)
59 \pscustom[fillstyle=eofill,fillcolor=green]{
60 \pscircle(2,2){2}
61 \pscircle(4,2){2}}
62 \end{pspicture}
63 &
64 \begin{pspicture}(6,4)
65 \pscustom[fillstyle=oefill,fillcolor=green]{
66 \pscircle(2,2){2}
67 \pscircle(4,2){2}}
68 \end{pspicture}
69 \\ \hline
70 fillstyle= \RDDD{eofill}{fillstyle} & fillstyle= \RDDD{oefill}{fillstyle}\\
71 \hline
72 \end{tabular}
73