图片发自简书App
\documentclass{article}
\usepackage{tkz-base}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\tikzset{help lines=very thin}
\tikzset{wyj's grid/.style={help lines,color=blue!50}}
...
\draw[wyj's grid](0,0)grid(5,5);
\end{tikzpicture}
\\[1cm]
\begin{tikzpicture}[wyj's grid/.style={help lines,color=#1!50},wyj's grid/.default=red,scale=1.5]
\draw[wyj's grid](0,0)grid(5,5);
\end{tikzpicture}
\end{document}
真的步履艰难。每个代码都要翻来覆去的看,最大的障碍,英语单词。转眼就忘,在我这里多么生动,多么令人沮丧!年轻的朋友们,想学点啥,赶早呀!