KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You can do very well in speculation where land or anything to do with earth is concerned.
FrontPage › XeTeX

Jonathan Kew°¡ ¸¸µç »õ·Î¿î °³³äÀÇ TeX ½Ã½ºÅÛ. OS¿¡ ¼³Ä¡µÈ ÆùÆ®¸¦ TeX ½ÄÀÚ¿¡ Á÷Á¢ ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù.

¸ñÂ÷

1 XeLaTeX ÇÑ±Û Ç¥Çö
2 XeTeX + ConTeXt
3 endash, emdash, mapping
4 Âü°í¹®¼­

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}

°á°ú

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]
DeleteMe. À§Ã³·³ ÆùÆ®¸¦ ÁöÁ¤ÇÏ¸é ¿µ¹® ÆùÆ® ±îÁö ´Ù ¹Ù²îÁö ¾Ê³ª¿ä? -- hermian 2009-03-10 04:57:52

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

3 endash, emdash, mapping

  • [Mapping=tex-text] ¿É¼ÇÀ» ÁÖ¸é µû¿ÈÇ¥, ´ë½Ã µîÀ» standard TeX input ¹æ½ÄÀ¸·Î mappingÇØÁØ´Ù.
  • Âü°í. KTUGOperate:20212 (MIKA)

4 Âü°í¹®¼­



^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-09-18 10:49:44
Processing time 0.0428 sec