KTUGFaq
KTUG FAQ
FrontPage › pgf
´Ù¾çÇÑ ±â´ÉÀ» Á¦°øÇÏ´Â ±×·¡ÇÈ ÆÐÅ°Áö
[ÆíÁý]
Download ¶
°¡Àå ½±°Ô´Â mpm --install=pgf ·Î ÇÏ¸é µÈ´Ù.
´ÙÀ½ÀÇ À§Ä¡¿¡¼ ´Ù¿î·Îµå ÇÑ´Ù.
http://sourceforge.net/forum/?group_id=142562
[ÆíÁý]
dvipdfmx¿Í ÇÔ²² »ç¿ëÇϱ⠶
\def\pgfsysdriver{pgfsys-dvipdfm.def}
ÀÌ ÇÑ ÁÙÀ» pgf³ª tikz¸¦ ·ÎµåÇϱâ Àü¿¡ ¼±¾ðÇÑ´Ù. pgf.cfg ÆÄÀÏÀ» ¸¸µé¾î ÀÌ ¼±¾ðÀ» ³Ö¾îµÎ¸é ¸Å¹ø Àû¾î³ÖÀ» ÇÊ¿ä°¡ ¾ø´Ù.
¸¸ÀÏ dvipdfmx ¿Í pdflatex ¿¡¼ µ¿½Ã¿¡ »ç¿ëÇÏ°í ½ÍÀ¸¸é ´ÙÀ½°ú °°ÀÌ Ã³¸®ÇÑ´Ù. °£´ÜÇÑ ¿¹Á¦·Î ½ÇÇèÇÑ °á°ú·Î´Â pdflatex ¿¡¼ ÄÄÆÄÀÏ ÇÑ °ÍÀÌ ´õ ÀÛÀº pdf ¸¦ »ý¼ºÇß´Ù.
\usepackage{ifpdf} \ifpdf \else \def\pgfsysdriver{pgfsys-dvipdfm.def} \fi
dvipdfm, dvips µå¶óÀ̹ö°¡ ±âº» ¿É¼ÇÀÎ pdftex°ú ¿ÏÀüÈ÷ µ¿ÀÏÇÑ °á°ú¸¦ Ãâ·ÂÇÏÁö ¾Ê´Â °æ¿ì°¡ ÀÖ¾ú´Ù. ±×·¯³ª ÀϹÝÀûÀ¸·Î ȣȯ°¡´ÉÇÑ °ÍÀ¸·Î º¸ÀÓ.
[ÆíÁý]
¿¹Á¦µé ¶
¿©±â¿¡¼ state machine ÀÇ ¿¹Á¦´Â ±×´ë·Î ÄÄÆÄÀÏ ÇÏ¸é ¿¡·¯°¡ ³´Ù. ´ÙÀ½ÀÇ ¿¹¸¦ »ç¿ëÇÑ´Ù.
°á°ú´Â ´ÙÀ½°ú °°´Ù.
% Author: Till Tantau % Source: The PGF/TikZ manual \documentclass{article} %\usepackage{pgf} \usepackage{tikz} \usetikzlibrary{arrows,patterns,plotmarks,shapes,snakes,er,3d,automata,backgrounds,topaths,trees,petri,mindmap} \usepackage[latin1]{inputenc} \begin{document} \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm, semithick] \tikzstyle{every state}=[fill=red,draw=none,text=white] \node[initial,state] (A) {$q_a$}; \node[state] (B) [above right of=A] {$q_b$}; \node[state] (D) [below right of=A] {$q_d$}; \node[state] (C) [below right of=B] {$q_c$}; \node[state] (E) [below of=D] {$q_e$}; \path (A) edge node {0,1,L} (B) edge node {1,1,R} (C) (B) edge [loop above] node {1,1,L} (B) edge node {0,1,L} (C) (C) edge node {0,1,L} (D) edge [bend left] node {1,0,R} (E) (D) edge [loop below] node {1,1,R} (D) edge node {0,1,R} (A) (E) edge [bend left] node {1,0,R} (A); \end{tikzpicture} \end{document}
[ÆíÁý]
°ü·Ã ÀÚ·á ¶
- TeX ±×·¡ÇÈ ½Ã½ºÅÛ - PGF¿Í TikZ ¼Ò°³
- TnX°Ô½ÃÆÇ °Ô½Ã¹° - tikz frontend·Î ¾µ ¼ö ÀÖ´Â µµ±¸ : geogebra, inkscape2tikz