KTUGFaq
KTUG FAQ
FrontPage › IncludeGraphics
[ÆíÁý]
1 graphicx ÆÐÅ°Áö ¶
¿ÜºÎ¿¡¼ ¸¸µç ±×¸²À» ¹®¼¿¡ Áý¾î ³Ö´Â ¹æ¹ýÀÔ´Ï´Ù..
\usepackage[driver]{graphicx}
- driver´Â pdftex, dvipdfmx, dvips µîÀÌ µÉ ¼ö ÀÖ½À´Ï´Ù. graphicx ÆÐÅ°Áö´Â driver¿¡ ¸Å¿ì ¹Î°¨ÇϹǷΠÀÌ µå¶óÀ̹ö¸¦ ¸íÈ®È÷ ¼±¾ðÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.
- LaTeX2e ÀÌÈÄ graphics´Â graphicx¿¡ ÀÇÇØ È£ÃâµÇ°Ô µÊÀ¸·Î½á Á÷Á¢ ÁöÁ¤ÇÏÁö ¾Ê½À´Ï´Ù.
- graphicx ÆÐÅ°Áö¸¦ usepackage ¼±¾ðÇÑ ÈÄ¿¡ \includegraphics ¸í·ÉÀ» ¾µ ¼ö ÀÖ½À´Ï´Ù.
[ÆíÁý]
2 \includegraphics ¶
¿ÜºÎ ±×¸²À» ³Ö´Â µ¥ Æí¸®ÇÏ°Ô »ç¿ëÇÏ´Â ¸í·ÉÀº graphicx ÆÐÅ°Áö[1]ÀÇ \includegraphics ÀÌ´Ù.
- PDFLaTeXÀ» ½ÇÇàÇϰųª latex -> dvipdfmxÀ» ½ÇÇàÇÏ·Á¸é jpg, pdf µîÀÇ ±×¸² ÆÄÀÏ
°ú bb ÆÄÀÏ(BoundingBox)À» ÁغñÇÏ¿©¾ß ÇÏ°í - LaTeX -> dvips¸¦ ½ÇÇàÇÏ·Á¸é eps ±×¸²À» ÁغñÇÏ¸é µÈ´Ù.
\includegraphics[¿É¼Ç]{±×¸²ÆÄÀϸí}%È®Àå¸íÀ» ³ÖÁö ¾Ê´Â °ÍÀÌ ÁÁÀ½
- [¿É¼Ç]ÀÌ ¾øÀ¸¸é [scale=1]°ú °°´Ù.[2]
- ¿É¼Ç scale=1 ¿¡¼ µîÈ£(=) ¾ÕÂÊ¿¡ ÀÖ´Â °ÍÀ» key ¶ó ÇÏ°í µÚÂÊ¿¡ ÀÖ´Â °ÍÀ» value ¶ó°í ÇÑ´Ù. ±×¸®°í ÇÕÃļ keyvalÀ̶ó°í ÇÑ´Ù.
- \includegraphics ¸í·É°ú ÇÔ²² ¾µ ¼ö ÀÖ´Â keyvalÀº graphicx ¹®¼ 1-4ÂÊ¿¡ ÀÖ´Ù.
- angle=90 ¶Ç´Â angle=-90 Àº 90µµ ¶Ç´Â -90µµ µ¹¸°´Ù. width¿Í height´Â ±×¸²ÀÇ °¡·Î ¶Ç´Â ¼¼·Î Å©±â¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù.
----
- [1] epsfig ÆÐÅ°Áö´Â ¿¹Àü¿¡ ÀÛ¼ºµÈ ¹®¼¿ÍÀÇ ÇÏÀ§ ȣȯ¼ºÀ» À§Çؼ À¯ÁöµÇ´Â ÆÐÅ°Áö·Î¼, ½ÇÁ¦·Î´Â graphicx ÆÐÅ°Áö¸¦ È£ÃâÇÑ´Ù. ±×·¯¹Ç·Î, µÇµµ·Ï epsfig ÆÐÅ°Áö¸¦ »ç¿ëÇÏÁö ¾Ê°í ¹®¼¸¦ ÀÛ¼ºÇÏ´Â °ÍÀÌ ÁÁ´Ù.
- [2] scale=2 ¶Ç´Â scale=0.5 µî ¹è¼ö(ÛÃâ¦)¸¦ ¾²´Â °ÍÀÌ Ãâ·Â¹°¿¡¼ ºñ±³ÀûÀ¸·Î ÁÁÀº Çػ󵵸¦ °¡Áø´Ù. ´Ù¸¥ ¿É¼Ç¿¡´Â height=6.5cm, width=0.75\textwidth µîÀÌ ÀÖ´Ù. height¿Í width¸¦ ÇÔ²² Á¤ÇÏ¸é ±×¸²ÀÇ °¡·Î ¼¼·ÎÀÇ ¹èÀ²ÀÌ ¹Ù²ð ¼ö ÀÖ´Ù.
[ÆíÁý]
3 ¶°´Ù´Ï´Â °³Ã¼ ¾È¿¡ ±×¸²À» ³Ö´Â ¹æ¹ý ¶
¶°´Ù´Ï´Â °³Ã¼ÀÎ Figureȯ°æÀº ÁÖ·Î ±×¸²À» ³Ö´Â µ¥ »ç¿ëµÈ´Ù.
Figureȯ°æ¿¡ ĸ¼ÇÀ» ºÙÀ̸é ĸ¼Ç À̸§ÀÌ "±×¸²" ¶Ç´Â "Figure"·Î ºÙ´Â´Ù. Tableȯ°æ ¾È¿¡ ±×¸²À» ³ÖÁö ¸øÇÒ ÀÌÀ¯´Â ¾ø´Ù. ǥó·³ »ý±ä ±×¸²À» ¿ÜºÎ¿¡¼ ÀÛ¼ºÇÏ¿© Tableȯ°æ ¾È¿¡ ³Ö¾îµµ µÈ´Ù.
SeeAlso ±×¸²Æ÷ÇÔÇϱâ/ÆÁ
[ÆíÁý]
4 PDF, PNG, JPG ±×¸² Æ÷ÇÔÇϱ⠶
ÄÄÆÄÀÏÇÏ´Â ¹æ¹ý¿¡ µû¶ó ´ÙÀ½ URLÀ» ÂüÁ¶ÇÑ´Ù.
»ç¿ë¿£Áø | ÂüÁ¶URL | »ç¿ë°¡´É±×¸² | »ç¿ë°¡´É±×¸²¾ð¾î |
PDFLaTeX | PDFLaTeX±×¸²Æ÷ÇÔÇϱâ | PDF, JPG, PNG, EPS[3] | pgf/tikz, MetaPost |
LaTeX,DVIPDFMx | PDF±×¸²Æ÷ÇÔÇϱâ | PDF, JPG, PNG, EPS | pgf/tikz, MetaPost |
LaTeX, dvips | EPS | PSTricks | |
¸ðµÎ »ç¿ë | pdflatex°úlatexµ¿½Ã»ç¿ë | ||
XeLaTeX | PDF, JPG, PNG, EPS | pgf/tikz, MetaPost, PSTricks |
----
- [3] epstopdf package»ç¿ë, ÂüÁ¶:PDFLaTeX±×¸²Æ÷ÇÔÇϱâ