|
kuing
posted 2021-11-16 14:27
- [tikz]\begin{tikzpicture}[line width=2pt]
- \draw[red] (0,0) circle (3 and 1);
- \node at (0,0) {$a<p>a</p>a$};
- \end{tikzpicture}[/tikz]
Copy the Code
对了,这个不能用 \tikz{...},必须用 tikzpicture 环境[小纠结]。
环境前后换行- [tikz]
- \begin{tikzpicture}
- \draw sin(1,1)cos(2,0)sin(3,-1)cos(4,0);
- \end{tikzpicture}
- [/tikz]
Copy the Code
\xymatrix 也可以用- [tikz]
- \xymatrix{A \ar[r]^f \ar[d]_g & B \ar[d]^{g'} \\
- D \ar[r]_{f'} & C}
- [/tikz]
Copy the Code |
|