|
觉得画初中平面几何的图,tkz-euclide包最好用:- \documentclass[a4paper]{article}
- \usepackage{amssymb,amsmath,amsthm}
- \usepackage{tkz-euclide}
- \usepackage{pgf,tikz,graphicx}
- \usepackage[slantfont,boldfont]{xeCJK}
- \punctstyle{kaiming}
- \begin{document}
- \begin{tikzpicture}[scale=0.8,label style/.style={font=\scriptsize}]
- \tkzDefPoints{14.3/2.4/O,0/0/A,14.3/0/B,17.5/0/C};
- \tkzDefPointBy[reflection = over O--A](B)\tkzGetPoint{B'}
- \tkzDefPointBy[reflection = over O--C](B)\tkzGetPoint{B''}
- \tkzDefPointWith[linear,K=39/32](C,B'')\tkzGetPoint{D}
- \tkzDefPointBy[reflection = over O--D](B'')\tkzGetPoint{B'''}
- \tkzDrawSegments[color=blue](O,A O,B O,C O,B' O,B'' O,B''' A,C C,D D,B''' A,B' O,D);
- \tkzLabelSegment[blue,left=1,pos=0.5,rotate=16](A,B'){$143$}
- %\tkzLabelPoints[above right][color=blue](O,A,B,C,D,B',B''');
- \end{tikzpicture}
- \end{document}
复制代码 |
|