![tkz-euclide InterLC 获取交叉点时出错](https://linux22.com/image/466792/tkz-euclide%20InterLC%20%E8%8E%B7%E5%8F%96%E4%BA%A4%E5%8F%89%E7%82%B9%E6%97%B6%E5%87%BA%E9%94%99.png)
因此tkz-euclide
,我希望通过重新创建此图像
和AB = BC = CD = DE = EF
。
到目前为止我所做的就是遵循 MWE:
\documentclass[tikz]{standalone}
\usepackage{tkz-euclide,tkz-base}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,15/0/G} % I use G since I thought AB is limited as a segment not a line or something else
\tkzDefPoint(18:3){B}
\tkzDrawCircle(B,A)
\tkzInterLC(A,G)(A,B) \tkzGetPoint{C}
\tkzDefCircle(C,B)
\tkzInterLC(A,C)(B,C) \tkzGetPoint{D}
\tkzDefCircle(D,C)
\tkzInterLC(A,B)(C,D) \tkzGetPoint{E}
\tkzDefCircle(D,E)
\tkzInterLC(A,C)(D,E) \tkzGetPoint{F}
\tkzDrawPoints(A,B,...,F)
\end{tikzpicture}
\end{document}
错误是代码没有生成图中的点C
、D
和。有人能帮我解决这个E
问题吗?希望也能解决。谢谢!F
tkz-euclide
答案1
这是一个使用tkz-euclide
包的解决方案(抱歉,字母与您的示例中的字母不一样,我猜您可以修复它):)
\documentclass{standalone}
\usepackage{tkz-euclide}
\tkzSetUpPoint[size=2,color=black,fill=black]
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,7/0/B,1/2/C,3/-2/D}
\tkzDefPointBy[rotation=center A angle 16](B)\tkzGetPoint{E}
\tkzDefPointOnLine[pos=0.27](A,B)\tkzGetPoint{F}\tkzDrawPoints(F)
\tkzMarkAngle[size=1.2](B,A,E)\tkzLabelAngle[pos=1.45](B,A,E){\scriptsize {$18^\circ$}}
\tkzInterLC(A,E)(F,A)\tkzGetFirstPoint{G}\tkzDrawPoints(G)
\tkzInterLC(A,B)(G,F)\tkzGetSecondPoint{H}\tkzDrawPoints(H)
\tkzInterLC(A,E)(H,G)\tkzGetFirstPoint{I}\tkzDrawPoints(I)
\tkzInterLC(A,B)(I,H)\tkzGetSecondPoint{J}\tkzDrawPoints(J)
\tkzDrawSegments(A,B A,E F,G G,H H,I I,J B,J)
\tkzMarkSegments[mark=|,size=1.2,very thin](A,F F,G G,H H,I I,J)
\tkzLabelPoints[left](A){A}\tkzDrawPoint[](A)
\tkzLabelPoints[above](G,I){G,I}
\tkzLabelPoints(F,H,J){F,H,J}
\end{tikzpicture}
\end{document}