summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/visualtikz/Source/tkzangles.tex
blob: 9796f92c8d136029561fb5026cfdda54ea2bface (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

%TODO problème avec "$\alpha$"


\SbSSCT{Images prédéfinies : Marquage des angles}{Drawing angles}
\begin{center}
\RRR{39}
\end{center}

 \maboite{\BS{usetikzlibrary}\AC{angles} }
\label{lib-angles}


\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\
\multicolumn{2}{|c|}{ - - (1,1) coordinate (C)   \RDD{pic} [draw] \AC{angle};}  \\ \hline 
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw] {angle};
&  
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill] {angle};
\\ \hline  
pic [{\color{red}  draw}] \AC{angle}
&  
pic [{\color{red}  fill}] \AC{angle}
\\ \hline 
\end{tabular} 

\bigskip

\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (X) - - (0,0) coordinate (Y) }\\
\multicolumn{2}{|c|}{ - - (1,1) coordinate (Z)  pic [draw] \AC{\RDD{angle}= X- -Y- -Z};}  \\ \hline 
\tikz \draw (2,0) coordinate (X) -- (0,0) coordinate (Y) -- (1,1) coordinate (Z) pic [draw] {angle= X--Y--Z};
&  
\tikz \draw (2,0) coordinate (X) -- (0,0) coordinate (Y) -- (1,1) coordinate (Z) pic [draw] {angle= Z--Y--X};
\\ \hline  
pic [{\color{red}  draw}] \AC{angle= X- -Y- -Z}
&  
pic [{\color{red}  fill}] \AC{angle = Z- -Y- -X}
\\ \hline
\multicolumn{2}{|c|}{\dft{} :  angle= A- -B- -C }
\\ \hline
\end{tabular} 

\bigskip


\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\
\multicolumn{2}{|c|}{ - - (1,1) coordinate (C)   pic [draw,->] \AC{angle};}  \\ \hline 
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw=red,->] {angle};
&  
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill=red!50] {angle};
\\ \hline  
pic [draw,{\color{red}  ->}] \AC{angle}
&  
pic [fill,{\color{red}  fill=red!50}] \AC{angle}
\\ \hline 
\end{tabular}

\bigskip

\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|c|}{\BS{tikz} \BS{draw} (2,0) coordinate (A) - - (0,0) coordinate (B) }\\
\multicolumn{2}{|c|}{ - - (1,1) coordinate (C)   pic [draw,\RDD{angle radius}=1cm] \AC{angle};}  \\ \hline 
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [draw,angle radius=1cm] {angle};
&  
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic [fill,angle radius=1cm] {angle};
\\ \hline  
pic [draw,{\color{red}  angle radius=1cm}] \AC{angle}
&  
pic [fill,{\color{red}  angle radius=1cm}] \AC{angle}
\\ \hline 
\multicolumn{2}{|c|}{\dft{} :  angle radius=5mm }
\\ \hline
\end{tabular}

\bigskip

\maboite{\BS{usetikzlibrary}\AC{quotes}}
\label{quotes}

\begin{tabular}{|c|} \hline  
\BS{tikz} \BS{draw} (3,0) coordinate (A)
- - (0,1) coordinate (B)
- - (1,2) coordinate (C) \\
pic [draw,{\color{red}\verb|"|\$\BS{alpha}\$ \verb|"|}] \AC{angle};
\\ \hline  
\tikz \draw (3,0) coordinate (A)
-- (0,1) coordinate (B)
-- (1,2) coordinate (C)
pic [draw, "$\alpha$"] {angle};
\\ \hline 
\end{tabular} 

\bigskip

\begin{tabular}{|l|} \hline  
\BS{tikz} \BS{draw} (2,0) coordinate (A) \\ -  - (0,0) coordinate (B)
- - (1,2) coordinate (C)
\\ 
pic [draw, \verb|"| \$\BS{alpha}\$\verb|"|, {\color{red}angle eccentricity}=1]] \AC{angle};

\\ \hline 
\end{tabular} 
\begin{tabular}{|l|c|c|} \hline   
 \tikz \draw (2,0) coordinate (A)
-- (0,0) coordinate (B)
-- (1,2) coordinate (C)
pic ["$\alpha$", draw, angle eccentricity=1] {angle};
&
\tikz \draw (2,0) coordinate (A)
-- (0,0) coordinate (B)
-- (1,2) coordinate (C)
pic ["$\alpha$", draw, angle eccentricity=1.5] {angle};

\\ \hline 
\RDD{angle eccentricity}=1 & \RDD{angle eccentricity}=1.5
\\ \hline
 \multicolumn{2}{|c|}{ \dft{} : angle eccentricity= 0.6  } 
 \\ \hline
\end{tabular} 

\bigskip

 \begin{tabular}{|c|}  \hline  
 \BS{tikz} \{ \BS{draw} (2,0) coordinate (A)
 - - (0,0) coordinate (B)
 - - (1,2) coordinate (C) \\
 pic {\color{red}(xxx)} [draw,\verb|"|\$\BS{alpha}\$\verb|"|,angle radius= 1cm ] \AC{angle};\\
\BS{draw} {\color{red}(xxx)}circle [radius=5pt] ; \} 
 \\  \hline  
\tikz {
\draw (2,0) coordinate (A) -- (0,0) coordinate (B) -- (1,1) coordinate (C) pic (xxx) ["$\alpha$", draw,angle radius= 1cm ] {angle};
\draw (xxx) circle [radius=5pt];
} 
 \\  \hline 
 \end{tabular}