![如何管理 tkz 点的大小?](https://linux22.com/image/363427/%E5%A6%82%E4%BD%95%E7%AE%A1%E7%90%86%20tkz%20%E7%82%B9%E7%9A%84%E5%A4%A7%E5%B0%8F%EF%BC%9F.png)
\documentclass{article}
\usepackage{pgfplots}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmax=25,ymax=25]
\tkzDefPoint(0,0){C}
\tkzDefPoint(0,2){B}
\tkzDefPoint(0,4){A}
\tkzDefPoint(4,0){F}
\tkzDefPoint(4,2){E}
\tkzDefPoint(4,4){D}
\tkzDrawPoints[color=black,shape=circle,fill=black](C, B, A, D, E, F)
\tkzLabelPoint[left](C){$C$}
\tkzLabelPoint[left](B){$B$}
\tkzLabelPoint[left](A){$A$}
\tkzLabelPoint[right](D){$D$}
\tkzLabelPoint[right](E){$E$}
\tkzLabelPoint[right](F){$F$}
\tkzDrawSegments(A,D A,E A,F)
\tkzDrawSegments(B,D B,E B,F)
\tkzDrawSegments(C,D C,E C,F)
\end{tikzpicture}
\end{document}
问题:如何增加和减少 tkz 点的大小?
答案1
size=<number>
,以磅为单位指定大小,或size=<length>
(例如size=5mm
)。添加到\tkzDrawPoints
选项中。
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\begin{document}
\begin{tikzpicture}
\tkzInit[xmax=25,ymax=25]
\tkzDefPoint(0,0){C}
\tkzDefPoint(0,2){B}
\tkzDefPoint(0,4){A}
\tkzDefPoint(4,0){F}
\tkzDefPoint(4,2){E}
\tkzDefPoint(4,4){D}
\tkzDrawPoints[color=black,shape=circle,fill=black,size=15](C, B, A, D, E, F)
\tkzLabelPoints[left](A,B,C)
\tkzLabelPoints[right](D,E,F)
\tkzDrawSegments(A,D A,E A,F)
\tkzDrawSegments(B,D B,E B,F)
\tkzDrawSegments(C,D C,E C,F)
\end{tikzpicture}
\end{document}