看板LaTeX
标 题[问题] 请问有关 Asymptote 的安装
发信站(null) (Wed Jul 17 05:42:56 2013)
转信站ptt!news.ntu!ctutu-pe!ctu-peer!news.nctu!csnews..s.nctu!news.cs.nctu!f
I knew there is an asymptote for plotting, but have never tried it.
If you keep your options open, the following smile face is obtained via tikz
-- highly recommended in the Internet.
Here is the MWE
\documentclass{article}
\usepackage{tikz} % required package, with a very thick manual
\begin{document}
\begin{tikzpicture}
\draw[black,very thick] (0,0) circle (1);
\filldraw[yellow] (0,0) circle (1);
\filldraw[black] (-0.3,0.4) circle (0.1);
\filldraw[black] (0.3,0.4) circle (0.1);
\draw[black] (-45:0.5) arc (-40:-140:0.5);
\end{tikzpicture}
\end{document}
As you can see, the commands are somewhat similar.