角弧尺寸不够完美

角弧尺寸不够完美

梅威瑟:

\documentclass{article}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\draw (O) circle (3);
\coordinate[label = above left:$A$] (A) at (130:3);
\coordinate[label = above right:$D$] (D) at (58:3);
\coordinate[label = above :$E$] (E) at (98:1.8);
\coordinate[label = right:$C$] (C) at (0:3);
\coordinate[label = left:$B$] (B) at (180:3);
\draw (B) -- (D) -- (C);
\draw (B) -- (A) -- (C);
\draw (B) -- (C);
\tkzMarkAngle[size=0.60cm,%
opacity=.9](B,E,C)
\tkzLabelAngle[pos = 0.9](B,E,C){$120^{\circ}$}
\tkzMarkAngle[size=0.9cm,%
opacity=.9](D,C,E)
\tkzLabelAngle[pos = 1.3](D,C,E){$20^{\circ}$}
\end{tikzpicture}
\end{document}

问题:我想调整120度和20度角的弧长,意思是120度的弧稍大,20度的弧稍短。

在此处输入图片描述

答案1

\tkzMarkAngle(B,E,C)\tkzMarkAngle(D,C,E)没有给出正确输出的原因是,实际上并没有被定义为和E的真正交点。ACBD

使用这个tkz-euclide答案TikZ:两条线的交点E您可以使用以下方法计算并标记真正的交点

\tkzInterLL(A,C)(B,D) \tkzGetPoint{E}
\tkzLabelPoints[above](E)

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
    \begin{tikzpicture}
    \coordinate (O) at (0,0);
    \draw (O) circle (3);
    \coordinate[label = above left:$A$] (A) at (130:3);
    \coordinate[label = above right:$D$] (D) at (58:3);
    %\coordinate[label = above :$E$] (E) at (98:1.8);
    \coordinate[label = right:$C$] (C) at (0:3);
    \coordinate[label = left:$B$] (B) at (180:3);
    \draw (B) -- (D) -- (C);
    \draw (B) -- (A) -- (C);
    \draw (B) -- (C);

    \tkzInterLL(A,C)(B,D) \tkzGetPoint{E}
    \tkzLabelPoints[above](E)

    \tkzMarkAngle[size=0.60cm,%
    opacity=.9](B,E,C)
    \tkzLabelAngle[pos = 0.9](B,E,C){$120^{\circ}$}
    \tkzMarkAngle[size=0.9cm,%
    opacity=.9](D,C,E)
    \tkzLabelAngle[pos = 1.3](D,C,E){$20^{\circ}$}
    \end{tikzpicture}
\end{document}

相关内容