在 tkz-euclide 1.16c 上插入 \markangle

在 tkz-euclide 1.16c 上插入 \markangle

如何\markangle在 tkz-euclid 1.16c 中插入?

\documentclass{article}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}
\usepackage{tkz-euclide}
\usetkzobj{all}

\begin{document}

\begin{tikzpicture}[>=latex]
  \tkzInit
  \tkzDefPoint(2,2){A}
  \tkzDefPoint(0,0){B}
  \tkzDefPoint(5,0){C}
  %angulos
  \tkzMarkAngle[fill=green!50,size=7mm](A,C,B)
  \tkzLabelPoints[right](C)
  \tkzDrawSegments(B,C C,A)
  \draw ($(C)+(165:.5)$) -- ($(C)+(165:.9)$);
  \draw[red,<-] ($(C)+(165:.9)$) to[out=180,in=0] +(-1,.5) node[left] {mark};
\end{tikzpicture}

\end{document}

在此处输入图片描述

答案1

您只是想标记角度吗?如果是的话,只需label={}指定您想要的内容即可。

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}
\usepackage{tkz-euclide}
\usetkzobj{all}

\begin{document}

\begin{tikzpicture}[>=latex]
  \tkzInit
  \tkzDefPoint(2,2){A}
  \tkzDefPoint(0,0){B}
  \tkzDefPoint(5,0){C}
  %angulos
  \tkzMarkAngle[fill=green!50,size=7mm,label={$35^\circ$}](A,C,B)
  \tkzLabelPoints[right](C)
  \tkzDrawSegments(B,C C,A)
  \draw ($(C)+(165:.5)$) -- ($(C)+(165:.9)$);
  %\draw[red,<-] ($(C)+(165:.9)$) to[out=180,in=0] +(-1,.5) node[left] {mark};
\end{tikzpicture}
\end{document}

相关内容