KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You have the power to influence all with whom you come in contact.
FrontPage › XYPic
Xy-pic

Xy-picÀº TeX¿¡¼­ ±×·¡ÇÁ¿Í ´ÙÀ̾î±×·¥À» Á¶ÆÇÇϱâ À§ÇÑ ¹ü¿ë ±×·¡ÇÈ ÆÐÅ°ÁöÀÌ´Ù. LaTeX, AMSTeX, PlainTeX µîÀ» Æ÷ÇÔÇÑ ´ëºÎºÐÀÇ Æ÷¸Ë¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù.

Xy-pic ÆÐÅ°Áö´Â ±âº»°ªÀ¸·Î Ç¥ÁØ TeX°ú MetaFont¸¸ »ç¿ëÇÏ°í PostScript¸¦ »ç¿ëÇÏÁö ¾Ê´Â´Ù. µû¶ó¼­ PDFLaTeXÀ¸·Î PDF ÆÄÀÏÀ» ¸¸µé ¶§ PSTricks ÆÐÅ°Áö¿Í °°Àº ¹®Á¦¸¦ ÀÏÀ¸Å°Áö ¾Ê´Â´Ù.


¸ñÂ÷

1 Ư¡
2 °£´ÜÇÑ »ç¿ë¹ý
2.1 LaTeX ¹®¼­
2.2 LaTeX ÀÌ¿ÜÀÇ Æ÷¸Ë
3 Xy-pic°ú PSTricks¸¦ ÇÔ²² »ç¿ëÇÏ´Â °æ¿ì
4 Xy-pic ÆÐÅ°Áö

1 Ư¡



2 °£´ÜÇÑ »ç¿ë¹ý

2.1 LaTeX ¹®¼­

xy ÆÐÅ°Áö¸¦ all ¿É¼ÇÀ» ÁÖ¾î ·ÎµåÇÑ´Ù. all ¿É¼ÇÀ» ÁÖ¸é ¸ðµç extension°ú feature¸¦ ÀоîµéÀδÙ. Xy-pic »ç¿ë¹ýÀ» ´õ ÀÚ¼¼È÷ ¾Ë°Ô µÇ¸é ÇÊ¿äÇÑ ±â´É¸¸ ¿É¼ÇÀ¸·Î ÁÖ¾î »ç¿ëÇÒ ¼ö ÀÖ´Ù. ±×¸²À» ±×¸®±â À§ÇÑ ¸í·ÉÀº xy ȯ°æ ¾È¿¡ ³Ö¾î ÁØ´Ù. ´ÙÀ½Àº °£´ÜÇÑ ¿¹ÀÌ´Ù.

\documentclass{article}

\usepackage[all]{xy}

\begin{document}

\begin{xy}
 0*+[o][F]{DL};<2cm,1cm>*+[F]{UR} **@{.}
 ?<*@{<<} ?(0.5)*!/_3mm/{\Omega} ?>>>*@{>}
\end{xy}


\end{document}


ÄÄÆÄÀÏÀº ´ÙÀ½ ¹æ¹ý Áß ¾î´À °ÍÀ¸·Î Çصµ µÈ´Ù. PostScript¸¦ »ç¿ëÇÏÁö ¾ÊÀ¸¹Ç·Î PSTricks ÆÐÅ°Áöó·³ ±×¸² ºÎºÐÀ» À§ÇØ µû·Î ó¸®ÇØ ÁÖ¾î¾ß ÇÒ °ÍÀÌ ¾ø´Ù.

  • pdflatex
  • latex -> dvips -> ps2pdf
  • latex -> dvipdfm

/!\ À§ ¿¹¸¦ dvipdfmx¸¦ »ç¿ëÇÒ °æ¿ì ±×¸²ÀÌ ±úÁö´Âµ¥ ÀÌ¿¡ °üÇؼ­ °Ô½ÃÆÇ¿¡ ¹®ÀÇÇÑ ÈÄ Á¤¸®ÇÏ°Ú½À´Ï´Ù.
See KTUGOperate:22523


2.2 LaTeX ÀÌ¿ÜÀÇ Æ÷¸Ë

LaTeX ÀÌ¿ÜÀÇ Æ÷¸Ë¿¡¼­´Â ´ÙÀ½°ú °°ÀÌ ·ÎµåÇÑ´Ù.

\input xy
\xyoption{all}








3 Xy-pic°ú PSTricks¸¦ ÇÔ²² »ç¿ëÇÏ´Â °æ¿ì

Xy-pic°ú PSTrikcs ¸ðµÎ ¹ü¿ë ±×·¡ÇÈ ÆÐÅ°Áö·Î ºñ½ÁÇÑ ÀÏÀ» ÇÒ ¼ö Àֱ⠶§¹®¿¡ µÎ ÆÐÅ°Áö¸¦ Á÷Á¢ ÇÔ²² »ç¿ëÇÏ´Â °æ¿ì´Â µå¹° °ÍÀÌ´Ù. ±×·¯³ª, ÀÌ µÎ ÆÐÅ°Áö¿¡ ±â¹ÝÇÑ Æ¯¼ö ¸ñÀûÀÇ ±×·¡ÇÈ ÆÐÅ°ÁöµéÀ» »ç¿ëÇÏ´Ù º¸¸é ÇÔ²² »ç¿ëÇØ¾ß ÇÒ °æ¿ì°¡ ÀÖ´Ù.

´ÙÀ½°ú °°ÀÌ PSTricks/pst-pdf ÆÐÅ°Áö¸¦ »ç¿ëÇÏ°í PDFLaTeXÀ¸·Î ÄÄÆÄÀÏÇÏ´Â °ÍÀÌ ÇÑ ÇØ°áÃ¥ÀÌ´Ù.

\usepackage{pst-pdf}
\usepackage{pst-tree}% PSTricks ÆÐÅ°Áö ¶Ç´Â ±×¿¡ ±â¹ÝÇÑ ÆÐÅ°Áö
\usepackage[all]{xy}% Xy-pic ÆÐÅ°Áö ¶Ç´Â ±×¿¡ ±â¹ÝÇÑ ÆÐÅ°Áö 

4 Xy-pic ÆÐÅ°Áö




Pictureȯ°æÀ» ¾µ·Á¸é ¸Ó¸® ¼Ó¿¡ ÁÂÇ¥(¸ð´« Á¾ÀÌ)¸¦ »ó»óÇÏ¿©¾ß Çϴµ¥ Xy-pic ÆÐÅ°ÁöÀÇ ¸í·É¾î
 \xymatrix{...}%ÆÐÅ°Áö ¿É¼Ç all ÀÌ ÇÊ¿äÇÔ.
´Â ¸¶Ä¡ array ȯ°æÀ̳ª matrix ȯ°æÀ» ¾²´Â °Í°ú ºñ½ÁÇÏ¿© °ñÄ¡ ¾ÆÇ ÁÂÇ¥¸¦ »ý°¢ÇÏÁö ¾Ê¾Æµµ µÈ´Ù. ±×·¯³ª xy ȯ°æ[1]Àº ¿©ÀüÈ÷ ÁÂÇ¥¸¦ »ý°¢ÇÏ¿©¾ß ÇÑ´Ù. \xymatrix{...} ¶Ç´Â xy ȯ°æÀ¸·Î ÀÔ·ÂµÈ data¸¦ ÇϳªÀÇ ±ÛÀÚó·³ Ãë±ÞÇÏ¿© ¶°´Ù´Ï´Â°³Ã¼(Tableȯ°æ, Figureȯ°æ) ¶Ç´Â µð½ºÇ÷¹ÀÌ Çü ¼ö½Ä ¸ðµå¿¡ ³ÖÀ» ¼ö ÀÖ´Ù. See KTUGOperate:21214.

----
  • [1] ÆÐÅ°Áö ¿É¼ÇÀ¸·Î dvips ¸¦ ½á¾ß ±×¸²ÀÇ Çػ󵵰¡ ÁÁ¾ÆÁø´Ù.



^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-03-22 19:16:49
Processing time 0.0408 sec