From baea2de648941d9a729477cbdcbcbfb096253dde Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Apr 2020 22:43:09 +0000 Subject: tkz-euclide (6apr20) git-svn-id: svn://tug.org/texlive/trunk@54669 c570f23f-e606-0410-a88d-b1316a301751 --- .../tkz-euclide/TKZdoc-euclide-rapporteur.tex | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-rapporteur.tex') 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 -- cgit v1.2.3