How can you specify the precision of the angle and using the absolute value of the angle in ° ' and "
\documentclass{article}
\usepackage{pgfplots}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{center}
\begin{tikzpicture}
\coordinate (M) at (0,0) ;
\coordinate (A) at (canvas polar cs:angle=80,radius=4cm) ;
\coordinate (B) at (canvas polar cs:angle=-40,radius=4cm) ;
\coordinate (C) at (canvas polar cs:angle=30,radius=4cm);
\coordinate (D) at (canvas polar cs:angle=125,radius=4cm);
\coordinate (E) at (canvas polar cs:angle=200,radius=4cm);
\coordinate (F) at (canvas polar cs:angle=245,radius=4cm);
\draw (M) circle (4cm);
\draw (B) -- (A) -- (C);
\draw (B) -- (D) -- (C);
\draw (B) -- (E) -- (C);
\draw (B) -- (F) -- (C);
\tkzDrawPoints(A,B,C,D,E,F,M)
\tkzLabelPoints[above](A)
\tkzLabelPoints(B,C,M)
\tkzLabelPoints[left](D,E,F)
\tkzMarkAngle[fill= red,size=1.5cm, opacity=.4](B,A,C)
\tkzMarkAngle[fill= red,size=1.5cm, opacity=.4](B,D,C)
\tkzMarkAngle[fill= red,size=1.5cm, opacity=.4](B,E,C)
\tkzMarkAngle[fill= red,size=1.5cm, opacity=.4](B,F,C)
%\tkzLabelAngle[pos = 0.8](B,A,C){$\alpha$}
\tkzLabelAngle[pos = 0.8](B,D,C){$\beta$}
\tkzLabelAngle[pos = 0.8](B,E,C){$\gamma$}
\tkzLabelAngle[pos = 0.8](B,F,C){$\delta$}
\tkzGetAngle{angleBAC}
\tkzLabelAngle[pos = 0.8](B,A,C){\tkzAngleResult}
\end{tikzpicture}
\end{center}
\end{document}
siunitx
. But if you want a precise value (for further calculation or to export it) even if it’s not an integer, you will need to use thefpu
library or thefixedpointarithmetic
library of PGF/TikZ. The latter uses thefp
package.tkzGetAngle
gets a wrong value. You need to use\tkzFindAngle(B,A,C)
just before.