KTUGFaq
KTUG FAQ
You can do very well in speculation where land or anything to do with earth is concerned.
FrontPage › XeTeX
[ÆíÁý]
1 XeLaTeX ÇÑ±Û Ç¥Çö ¶
ÇѱÛÀ» ½ÄÀÚÇÏ´Â Å×½ºÆ®.
\documentclass{article} \usepackage{kotex} %% kotex ÆÐÅ°Áö´Â XeTeX ¿£ÁøÀÌ ½ÇÇàµÇ¸é xetexko°¡ µÈ´Ù. % or, \usepackage{xetexko} %% xetexko´Â fontspec, xunicode, xltxtra¸¦ ºÒ·¯µéÀ̸ç %% Çѱ۰ú ¿µ¹® ±Û²ÃÀ» ºÐ¸®ÇÏ°í ÇÑ±Û ½ÄÀÚ¿¡ ÇÊ¿äÇÑ ¼³Á¤À» ÇàÇÑ´Ù. %% ±Û²Ã ¼±¾ð. fontspecÀÇ ¹®¹ýÀ» µû¸¥´Ù. %\defaultfontfeatures{Mapping=tex-text} %\setmainfont{Minion Pro} %\setmainhangulfont[BoldFont=¼¿ï³²»êü M]{¼¿ïÇѰü L} %\setsanshangulfont[BoldFont=¼¿ï³²»êü B]{¼¿ï³²»êü M} \usepackage{hyperref} %% pdf bookmark¸¦ À§ÇÑ Á¤ÀÇ %\pdfstringdefDisableCommands{\def\XeTeX{XeTeX}\def\XeLaTeX{XeLaTeX}} \begin{document} %% \XeTeX, \XeLaTeX µîÀÇ ·Î°í´Â xltxtra ÆÐÅ°Áö¿¡ %% ¼±¾ðµÇ¾î ÀÖÀ¸¸ç, xetexko°¡ ¹Ì¸® ·ÎµåÇÏ¿´´Ù. %% xetexko¸¦ ¾²´Â °æ¿ì°¡ ¾Æ´Ï¶ó¸é xltxtra¸¦ º°µµ·Î ¼±¾ð. \title{\XeLaTeX ¿¡¼ ÇÑ±Û Ç¥Çö} \author{³ë¹Ùµð} \date{2008³â 10¿ù} \maketitle \section{\XeTeX À̶õ?} \XeTeX Àº Á¶³ª»ê Å¥(Janathan Kew)°¡ ¸¸µç modern font technologies¸¦ ÀÌ¿ëÇÏ´Â À¯´ÏÄÚµå ÅØ ¿£ÁøÀÌ´Ù. \section{\XeLaTeX °ú ÇѱÛ} \XeTeX Àº ±× ÀÚü À¯´ÏÄÚµå ´ÙÁß¾ð¾î Á¶ÆÇ ÇÁ·Î±×·¥À̹ǷΠÀ¯´ÏÄÚµå ÇѱÛÀ» ÀÌ¿ëÇÒ Áغñ°¡ µÇ¾î ÀÖ´Ù. ÀûÀýÇÑ ÆùÆ®¸¦ ÁöÁ¤ÇÏ´Â °ÍÀ¸·Î ÇÑ±Û ÀÚü ½ÄÀÚ´Â ÇØ°áµÈ´Ù. \XeTeX\ ¿£Áø¿¡ ±â¹ÝÇÑ \LaTeX À» \XeLaTeX À̶ó°í ÇÑ´Ù. \XeTeX Àº \LaTeX °ú Con\TeX{t}¿¡¼ ¸ðµÎ Àß µÈ´Ù. \end{document}
°á°ú
- xetexkotest.pdf (27.09 KB)
[ÆíÁý]
2 XeTeX + ConTeXt ¶
KC2008¿¡¼´Â °£´ÜÈ÷ ´ÙÀ½°ú °°Àº °úÁ¤¸¸À¸·Î »ç¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.
1. texexec --make en °ú texexec --make --xtx en ÈÄ (ÀÌ °úÁ¤À» °ÅÄ¡Áö ¾Ê¾Æµµ µÊ)
2. ¾Æ·¡ °°ÀÌ ¿¹Á¦¸¦ ÀÛ¼ºÇÏ¿© "filename.tex"À» utf-8 no BOMÀ¸·Î ÀúÀåÇÏ°í
3. ¿øÇÏ´Â ÆùÆ®·ÎÀÇ º¯°æÀº ¾Æ·¡ ¿¹Á¦ ÆÄÀÏ¿¡¼ SeoulHangangL °°Àº ÆùÆ®¸íÀ» ¹Ù²ã ÁÝ´Ï´Ù.
\definetypeface[myface][rm][Xserif][SeoulHangangL][default] \definetypeface[myface][ss][Xsans][SeoulNamsanL] \definetypeface[myface][tt][Xmono][Malgun Gothic]
4. ¿¹Á¦ ÆÄÀÏ
% engine=xetex \enableregime[utf] %% not necessary since it is default regime, but can remind %% you that you must provide UTF-8–coded text \definetypeface[myface][rm][Xserif][SeoulHangangL][default] \definetypeface[myface][ss][Xsans][SeoulNamsanL] \definetypeface[myface][tt][Xmono][Malgun Gothic] %% or any else font in your /windows/fonts folder; %% run "fc-list >namelist.txt" to get them all \setupbodyfont[myface, 9pt] \XeTeXlinebreaklocale [ko] \starttext ÇÑ±Û Å×½ºÆ®ÀÔ´Ï´Ù. \stoptext
5. ÀúÀå ÈÄ texexec --xtx filename