http://www.texample.net/tikz/examples/area/computer-science/

Latex提供直接画图的命令,其参考手册是pgf/tikz.
下面给个简单例子:
\documentclass[11pt]{article}
...
\usepackage{tikz}
% Optional PGF libraries
\usepackage{pgflibraryarrows}
\usepackage{pgflibrarysnakes}
...
\begin{document}
...
\begin{tikzpicture}
\draw (1,0) -- (0,1) -- (-1,0) -- (0,-1) -- cycle;
\end{tikzpicture}
...
\end{document}


SecondLife
1.9k 声望252 粉丝

引用和评论

0 条评论