如何更改 A、B、C 标签以使其成为数学符号?例如,我想将 A 更改为 $\mathbb{A}$?
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document} % preamble added by a rodent ;-)
\begin{tikzpicture}[scale=2]
\tkzDefPoint(0,0){O}
\tkzDefPoint(1,0){Z}
%
\tkzDefPoint(-0.7,-0.1){A}
\tkzDefPoint(0.4,-0.3){B}
\tkzDefPoint(0.1,0.4){C}
%
%
%
\tkzClipCircle(O,Z)
%
\tkzMarkAngles[fill= orange,size=0.45cm,opacity=.3](B,A,C)
\tkzLabelAngle[pos=0.35](B,A,C){$\alpha$}
\tkzMarkAngles[fill= orange,size=0.4cm,opacity=.3](C,B,A)
\tkzLabelAngle[pos=0.3](C,B,A){$\beta$}
\tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](A,C,B)
\tkzLabelAngle[pos=0.2](A,C,B){$\gamma$}
%
\tkzDrawCircle[fill,orthogonal through=A and B,color=white](O,Z)
\tkzDrawCircle[fill,orthogonal through=A and C,color=white](O,Z)
\tkzDrawCircle[fill,orthogonal through=B and C,color=white](O,Z)
%
\tkzDrawCircle(O,Z)
%
\tkzDrawCircle[orthogonal through=A and B,color=green](O,Z)
\tkzDrawCircle[orthogonal through=A and C,color=blue](O,Z)
\tkzDrawCircle[orthogonal through=B and C,color=red](O,Z)
%
\tkzDrawPoints[color=black,fill=red,size=11](A,B,C)
\tkzLabelPoints(A,B,C)
\end{tikzpicture}
\end{document} % line added by a rodent
答案1
您必须使用\tkzLabelPoint
(单数)而不是\tkzLabelPoints
(复数)。
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{tkz-euclide}
\usepackage{amsmath,amssymb}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}[scale=2]
\tkzDefPoint(0,0){O}
\tkzDefPoint(1,0){Z}
%
\tkzDefPoint(-0.7,-0.1){A}
\tkzDefPoint(0.4,-0.3){B}
\tkzDefPoint(0.1,0.4){C}
%
\tkzClipCircle(O,Z)
%
\tkzMarkAngles[fill= orange,size=0.45cm,opacity=.3](B,A,C)
\tkzLabelAngle[pos=0.35](B,A,C){$\alpha$}
%
\tkzMarkAngles[fill= orange,size=0.4cm,opacity=.3](C,B,A)
\tkzLabelAngle[pos=0.3](C,B,A){$\beta$}
%
\tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](A,C,B)
\tkzLabelAngle[pos=0.2](A,C,B){$\gamma$}
%
\tkzDrawCircle[fill,orthogonal through=A and B,color=white](O,Z)
\tkzDrawCircle[fill,orthogonal through=A and C,color=white](O,Z)
\tkzDrawCircle[fill,orthogonal through=B and C,color=white](O,Z)
%
\tkzDrawCircle(O,Z)
%
\tkzDrawCircle[orthogonal through=A and B,color=green](O,Z)
\tkzDrawCircle[orthogonal through=A and C,color=blue](O,Z)
\tkzDrawCircle[orthogonal through=B and C,color=red](O,Z)
%
\tkzDrawPoints[color=black,fill=red,size=11](A,B,C)
\tkzLabelPoint[below](A){$\mathbb{A}$}
\tkzLabelPoint[above right](B){$\mathcal{B}$}
\tkzLabelPoint(C){$\boldsymbol{C}$}
\end{tikzpicture}
\end{document}