Re: [問題] \picture中 上色後圖卻偏掉

看板LaTeX (論文排版)作者時間12年前 (2013/04/13 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
If I may, PGF/TikZ by Till Tantau (Google search for its manuals) is very powerful and prevails in TeX community. The following code is an attempt based on your question. \documentclass{beamer} % LaTeX classes also work \usetheme{Warsaw} % for beamer only \usepackage{tikz} % you need this package, a must \begin{document} \begin{frame} % for beamer only \begin{center} \begin{tikzpicture} % begin of tikzpicture \foreach \t/\x/\y in {1/18/1.5, 2/90/1.5, 3/162/1.5, 4/234/1.5, 5/306/1.5} {\node (\t) at (\x:\y) {\textbullet};} \foreach \from/\to in {1/2,2/3,3/4,4/5,5/1} {\draw[->,color=red] (\from)--(\to);} \end{tikzpicture} % end of tikzpicture \end{center} \end{frame} % for beamer only \end{document}
文章代碼(AID): #1HQJGZ66 (LaTeX)
文章代碼(AID): #1HQJGZ66 (LaTeX)