📜  tikz 独立图片 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:41.605000             🧑  作者: Mango

代码示例1
% tikzpic.tex
\documentclass[crop,tikz]{standalone}% 'crop' is the default for v1.0, before it was 'preview'
%\usetikzlibrary{...}% tikz package already loaded by 'tikz' option
\begin{document}
\begin{tikzpicture}
  \draw (0,0) -- (10,10); % ...
\end{tikzpicture}
\end{document}