手册48.3,找border
\begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw [help lines](-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture} \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,-3pt);}}] \draw [help lines] (-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}
pgfmanual3.0.1a.pdf 577/1161, 48 Decoration library
\begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw [help lines](-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}\qquad \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,-3pt);}}] \draw [help lines] (-1,-1) grid (1,1); \draw [postaction={decorate}] (0,0) circle[radius=1cm]; \end{tikzpicture}\qquad \begin{tikzpicture}[decoration={markings, mark=between positions 0 and 1 step 0.1 with { \draw (0pt,0pt) -- (0pt,3pt);}}] \draw[semithick,line cap=round,postaction={decorate}] (0cm,0cm)..controls(1.25,0.45)..(2.25,0) ..controls(3.25,-0.45)..(4.5,0); \end{tikzpicture}
\draw[pattern= north east lines]
本文档展示了如何使用TikZ的Decoration库在LaTeX中创建带有特殊边框装饰的图形,包括圆和曲线,并提供了详细的代码示例。
1834

被折叠的 条评论
为什么被折叠?



