2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-19 11:38:05 +02:00

round markers for right angle

This commit is contained in:
Martin Thoma 2014-10-20 22:35:14 +02:00
parent be51ade19c
commit efd0a1f908

View file

@ -1,5 +1,9 @@
\documentclass[varwidth=true, border=2pt]{standalone} \documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{amsmath,scalerel}
\DeclareMathOperator*{\Bigcdot}{\scalerel*{\cdot}{\bigodot}}
\usepackage{tkz-euclide} \usepackage{tkz-euclide}
\usetikzlibrary{angles,quotes}
\begin{document} \begin{document}
\usetkzobj{all} \usetkzobj{all}
@ -18,10 +22,10 @@
% Draw polygons and mark right angle % Draw polygons and mark right angle
\tkzDrawPolygon[fill=red,fill opacity=0.3](A,B,X) \tkzDrawPolygon[fill=red,fill opacity=0.3](A,B,X)
\tkzMarkRightAngle[very thick](A,X,B) \draw pic[very thick, draw, angle radius=3mm,"$\Bigcdot$",angle eccentricity=.6]{angle= A--X--B};
\tkzDrawPolygon[fill=green,fill opacity=0.3](A,B,Y) \tkzDrawPolygon[fill=green,fill opacity=0.3](A,B,Y)
\tkzMarkRightAngle[very thick](A,Y,B) \draw pic[very thick, draw, angle radius=3mm,"$\Bigcdot$",angle eccentricity=.6]{angle= A--Y--B};
% lines should not colored % lines should not colored
\tkzDrawPolygon(A,B,X) \tkzDrawPolygon(A,B,X)