세리프 없이 tkz-euclide의 포인트에 어떻게 라벨을 붙일 수 있나요?

세리프 없이 tkz-euclide의 포인트에 어떻게 라벨을 붙일 수 있나요?

다음 이미지가 있습니다.

여기에 이미지 설명을 입력하세요

보시다시피 점 $A, B, C$에는 세리프가 있습니다. 나는 그들에게 세리프가 없었으면 좋겠다. ? 의 글꼴을 변경해야 합니다 \tkzLabelPoints. ( font=\sffamily\sansmath작동하지 않습니다)

MWE

\documentclass[varwidth=true, border=2pt]{standalone}

\usepackage{tkz-euclide}
\usetkzobj{all}
% Thanks to Jan Hlavacek for giving an example for hyperbolic triangles
% (http://tex.stackexchange.com/a/16749/5645)

% Thanks to Jonas Granholm for help with the angles
% (http://tex.stackexchange.com/a/204435/5645)

\usepackage{helvet}
\usepackage[eulergreek]{sansmath}

\begin{document}
\begin{tikzpicture}[scale=3,font=\sffamily\sansmath]
    \tkzDefPoint(0,0){O}
    \tkzDefPoint(1,0){Z}

    % Define points
    \tkzDefPoint(-0.7,-0.1){A}
    \tkzDefPoint(0.4,-0.3){B}
    \tkzDefPoint(0.1,0.4){C}

    % Draw big circle
    \tkzDrawCircle[fill=white](O,Z)

    % I have no idea what this does,
    % but when I remove it the rest of the image (the big circles)
    % get visible. So it seems to crop the image to the size of the circle
    \tkzClipCircle(O,Z)

    % Draw angles
    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](B,A,C)
    \tkzLabelAngle[pos=0.2](B,A,C){$\alpha$}

    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](C,B,A)
    \tkzLabelAngle[pos=0.2](C,B,A){$\beta$}

    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](A,C,B)
    \tkzLabelAngle[pos=0.2](A,C,B){$\gamma$}


    % "Clip" angles
    \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)

    % Draw big circle
    \tkzDrawCircle(O,Z)

    % Draw lines
    \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)

    % Draw points and label them
    \tkzDrawPoints[color=black,fill=red,size=5](A,B,C)
    \tkzLabelPoints[below](A)
    \tkzLabelPoints[below left](B)
    \tkzLabelPoints[above left](C)
\end{tikzpicture}
\end{document}

답변1

포인트의 레이블은 TikZ 노드이며 \tkzLabelPoints일반 노드와 마찬가지로 옵션을 추가할 수 있으므로 \tkzLabelPoints[below,font=\sansmath](A)단일 레이블에 대해 작업을 수행할 수 있습니다. 모든 포인트 레이블에 대해 이를 설정하려면 다음을 사용하여 label style해당 레이블에 사용되는 스타일을 수정할 수 있습니다.

label style/.append style={font=\sansmath}

옵션 에 추가되었습니다 tikzpicture.

여기에 이미지 설명을 입력하세요

전체 코드:

\documentclass[varwidth=true, border=2pt]{standalone}

\usepackage{tkz-euclide}
\usetkzobj{all}
% Thanks to Jan Hlavacek for giving an example for hyperbolic triangles
% (http://tex.stackexchange.com/a/16749/5645)

% Thanks to Jonas Granholm for help with the angles
% (http://tex.stackexchange.com/a/204435/5645)

\usepackage{helvet}
\usepackage[eulergreek]{sansmath}

\begin{document}
\begin{tikzpicture}[scale=3,label style/.append style={font=\sansmath}]
    \tkzDefPoint(0,0){O}
    \tkzDefPoint(1,0){Z}

    % Define points
    \tkzDefPoint(-0.7,-0.1){A}
    \tkzDefPoint(0.4,-0.3){B}
    \tkzDefPoint(0.1,0.4){C}

    % Draw big circle
    \tkzDrawCircle[fill=white](O,Z)

    % I have no idea what this does,
    % but when I remove it the rest of the image (the big circles)
    % get visible. So it seems to crop the image to the size of the circle
    \tkzClipCircle(O,Z)

    % Draw angles
    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](B,A,C)
    \tkzLabelAngle[pos=0.2](B,A,C){$\alpha$}

    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](C,B,A)
    \tkzLabelAngle[pos=0.2](C,B,A){$\beta$}

    \tkzMarkAngles[fill= orange,size=0.3cm,opacity=.3](A,C,B)
    \tkzLabelAngle[pos=0.2](A,C,B){$\gamma$}


    % "Clip" angles
    \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)

    % Draw big circle
    \tkzDrawCircle(O,Z)

    % Draw lines
    \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)

    % Draw points and label them
    \tkzDrawPoints[color=black,fill=red,size=5](A,B,C)
    \tkzLabelPoints[below](A)
    \tkzLabelPoints[below left](B)
    \tkzLabelPoints[above left](C)
\end{tikzpicture}
\end{document}

관련 정보