3

\tkzMarkAngle is affecting the size of the following points. Is there any logical explanation to this strange behavior?

Without \tkzMarkAngle (Normal point size)

\documentclass[tikz,border=10pt]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}

\tkzDefPoint(-3,-1){A}
\tkzDefPoint(3,-1){B}
\tkzDefPoint(2,2){C}
\tkzDrawPolygon(A,B,C)

%\tkzMarkAngle[color=gray,thick,size=0.75](B,A,C)
\tkzLabelAngle[color=gray,pos=1.1](B,A,C){$\alpha$}

\tkzDrawPoints[color=red,fill=red](A,B,C)

\end{tikzpicture}
\end{document}

enter image description here

With \tkzMarkAngle BEFORE \tkzDrawPoints (Increased point size)

\documentclass[tikz,border=10pt]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}

\tkzDefPoint(-3,-1){A}
\tkzDefPoint(3,-1){B}
\tkzDefPoint(2,2){C}
\tkzDrawPolygon(A,B,C)

\tkzMarkAngle[color=gray,thick,size=0.75](B,A,C)
\tkzLabelAngle[color=gray,pos=1.1](B,A,C){$\alpha$}

\tkzDrawPoints[color=red,fill=red](A,B,C)

\end{tikzpicture}
\end{document}

enter image description here

With \tkzMarkAngle AFTER \tkzDrawPoints (Normal point size)

\documentclass[tikz,border=10pt]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}

\tkzDefPoint(-3,-1){A}
\tkzDefPoint(3,-1){B}
\tkzDefPoint(2,2){C}
\tkzDrawPolygon(A,B,C)

\tkzDrawPoints[color=red,fill=red](A,B,C)

\tkzMarkAngle[color=gray,thick,size=0.75](B,A,C)
\tkzLabelAngle[color=gray,pos=1.1](B,A,C){$\alpha$}

\end{tikzpicture}
\end{document}

enter image description here

3
  • Don't quite understand what happens, but seems like the thick option becomes "active", and thus used in \tkzDrawPoints as well. If you do \tikzset{thin} after \tkzMarkAngle the size of the points doesn't change. Jul 25, 2019 at 21:43
  • My workaround is \tkzDrawPoints[color=red,fill=red,size=3](A,B,C). The size=3 does the job. Jul 26, 2019 at 6:34
  • 1
    When you get this kind of problem a good solution is to insert the commands in a group . Nov 22, 2019 at 16:15

1 Answer 1

4

No problem with the new version (beta) of tkz-euclide Euclide v 2.40b

\documentclass[tikz,border=10pt]{standalone}
\usepackage{tkz-euclide}

\begin{document}

\begin{tikzpicture}
\tkzDefPoint(-3,-1){A}
\tkzDefPoint(3,-1){B}
\tkzDefPoint(2,2){C}
\tkzDrawPolygon(A,B,C)

\tkzMarkAngle[color=gray,thick,size=0.75](B,A,C)
\tkzLabelAngle[color=gray,pos=1.1](B,A,C){$\alpha$}

\tkzDrawPoints[color=red,fill=red](A,B,C)
\end{tikzpicture}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .