颜色设定,显示文字,cap,Huge,thin ,very thin 等功能未能实现。
\documentclass{article}
\usepackage{tkz-base}
\begin{document}
\begin{tikzpicture}
\draw[help lines](0,0)grid(14,17);
4 Parameters
4.1 Line width
\draw[line width=.2cm](0,16)- -(1,17);
\draw[line width=.1pt](2,16)- -(3,17);
\draw[line width=.2pt](4,16)- -(5,17);
\draw[line width=.4pt](6,16)- -(7,17);
\draw[line width=.6pt](8,16)- -(9,17);
\draw[line width=.8pt](10,16)- -(11,17);
\draw[line width=1.6pt](12,16)- -(13,17);
4.2 Dimensions available
\draw[line width=10pt](2,14)- -(2,15);
\draw[line width=10bp](2,13)- -(2,14);
\draw[line width=10mm](2,12)- -(2,13);
\draw[line width=1cm](2,11)- -(2,12);
\draw[line width=1in](2,10)- -(2,11);
\draw[line width=1ex](0,8.5)- -(4,8.5);
\Huge \draw[line width=1ex](0,7.5)- -(4,7.5);
\draw[line width=1em](2,6)- -(2,7);
\draw[line width=1em](2,5)- -(2,6);
4.3 Terminators
\draw[line cap=rect](1,4.5)- -(4,4.5);
\draw[line cap=butt](5,4)- -++(3,0);
\draw[line cap=round color=red](9,4)- -++(3,0);
\end{tikzpicture}
\end{document}
Texpad20190302
网友评论