summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-11 22:43:09 +0000
committerKarl Berry <karl@freefriends.org>2020-04-11 22:43:09 +0000
commitbaea2de648941d9a729477cbdcbcbfb096253dde (patch)
tree83506f7bffef0a91b77444d9514624aa6cacfb5c /Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex
parent225c9a6864c8945d937da8f9c458f6bc5eacb6bb (diff)
tkz-euclide (6apr20)
git-svn-id: svn://tug.org/texlive/trunk@54669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex44
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex
new file mode 100644
index 00000000000..ebd7f3fd804
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex
@@ -0,0 +1,44 @@
+\section{Protractor}
+Based on an idea by Yves Combe, the following macro allows you to draw a protractor.
+The operating principle is even simpler. Just name a half-line (a ray). The protractor will be placed on the origin $O$, the direction of the half-line is given by $A$. The angle is measured in the direct direction of the trigonometric circle.
+
+\begin{NewMacroBox}{tkzProtractor}{\oarg{local options}\parg{$O,A$}}%
+\begin{tabular}{lll}%
+options & default & definition \\
+\midrule
+\TOline{lw} {0.4 pt} {line thickness}
+\TOline{scale} {1} {ratio: adjusts the size of the protractor}
+\TOline{return} {false} {trigonometric circle indirect}
+\end{tabular}
+\end{NewMacroBox}
+
+
+\subsection{The circular protractor}
+Measuring in the forward direction
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}[scale=.5]
+\tkzDefPoint(2,0){A}\tkzDefPoint(0,0){O}
+\tkzDefShiftPoint[A](31:5){B}
+\tkzDefShiftPoint[A](158:5){C}
+\tkzDrawPoints(A,B,C)
+\tkzDrawSegments[color = red,
+ line width = 1pt](A,B A,C)
+ \tkzProtractor[scale = 1](A,B)
+\end{tikzpicture}
+\end{tkzexample}
+
+\subsection{The circular protractor, transparent and returned}
+
+\begin{tkzexample}[latex=7cm,small]
+\begin{tikzpicture}[scale=.5]
+ \tkzDefPoint(2,3){A}
+ \tkzDefShiftPoint[A](31:5){B}
+ \tkzDefShiftPoint[A](158:5){C}
+ \tkzDrawSegments[color=red,line width=1pt](A,B A,C)
+ \tkzProtractor[return](A,C)
+\end{tikzpicture}
+\end{tkzexample}
+
+
+\endinput \ No newline at end of file