KTUGFaq
KTUG FAQ
Stop searching forever. Happiness is unattainable.
FrontPage › CJKLaTeXUnderMiKTeX
MiKTeX 2.8¿¡¼ CJKLaTeXÀ¸·Î ÇÑ±Û ¹®¼¸¦ ÀÛ¼ºÇÏ´Â ¹æ¹ý.
[ÆíÁý]
1.2 CJKLaTeX Font ¼³Ä¡¿Í ¼³Á¤ ¶
¸ÅÅ©·Î´Â ÀÚµ¿À¸·Î ¼³Ä¡ÇØÁÖÁö¸¸ ÆùÆ®´Â º°µµ·Î ¼³Ä¡ÇØ¾ß ÇÑ´Ù.
ÆÐÅ°Áö °ü¸®ÀÚ(MiKTeX Package Manager)¸¦ ¿¾î¼ cjk_fonts ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÑ´Ù.
- ±×·¯³ª, MiKTeX 2.8ÀÇ °æ¿ì cjk-fonts¸¦ ¼³Ä¡Çß´Ù°í Çؼ ÇѱÛÀ» ¾µ ¼ö ÀÖ´Â °ÍÀº ¾Æ´Ï´Ù. -
- ´ÙÀ½ ÆÄÀÏÀ» ÀÛ¾÷ µð·ºÅ丮¿¡ µÎ¾î¾ß ÇÑ´Ù. -
- * c63mj.fd.zip (568 Bytes) -
- °°Àº À̸§ÀÇ ÆÄÀÏÀÌ ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇÁö¸¸ ³»¿ëÀÌ ´Ù¸£±â ¶§¹®¿¡ ¹Ýµå½Ã ÀÛ¾÷ µð·ºÅ丮¿¡ °¡Á®´ÙµÎ´Â °ÍÀÌ ÁÁ´Ù. ½Ã½ºÅÛ Æú´õ´Â »ç¿ëÀÚ°¡ ¼öÁ¤ÇÏÁö ¾Ê¾Æ¾ß ÇÑ´Ù. -
- * Âü°í·Î, uhc ÇÑ±Û ±Û²ÃÀ» ¼³Ä¡ÇÑ´Ù¸é fd ÆÄÀÏÀ» ¼öÁ¤Çϰųª º°µµ·Î °¡Á®´ÙµÑ ÇÊ¿ä´Â ¾ø´Ù. ±×·¯³ª MiKTeX 2.8¿¡¼ uhc ÇÑ±Û ±Û²ÃÀ» ¼³Ä¡ÇÒ ¹æ¹ýÀº ¾ø´Ù. HLaTeXÀ» ¼³Ä¡ÇÏ¸é µÇ±â´Â ÇÏÁö¸¸ ±×·² °æ¿ì CJK¸¦ ²À »ç¿ëÇØ¾ß ÇÒ ÇÊ¿ä°¡ Àִ°¡? ÀÌ ±ÛÀº HLaTeXÀ» º°µµ·Î ¼³Ä¡ÇÏÁö ¾Ê°í MiKTeX¸¸À¸·Î ÇÑ±Û ¹®¼¸¦ ÀÛ¼ºÇÏ´Â °ÍÀ» º¸ÀÌ´Â °ÍÀÌ ¸ñÀûÀÌ´Ù. -
- * ¿ÀÁ÷ ¸íÁ¶Ã¼ Çϳª¹Û¿¡ »ç¿ëÇÒ ¼ö ¾ø´Ù. -
- * Âü°í. 12254 -
[ÆíÁý]
2.1 ¿Ï¼ºÇü(EUC-KR) ¹®¼ ÀÛ¼º ¶
ÇѱÛÀº CJK ȯ°æ ¾È¿¡ µÐ´Ù.
- ±½Àº ±Û²ÃÀº poorman's bold ó¸®ÇϹǷΠ»ç¿ëÇÒ ¼ö ÀÖ´Ù.
- \title, \author µî¿¡ ÇѱÛÀÌ ÇÊ¿äÇÑ °æ¿ì ¹Ýµå½Ã \begin{CJK}... ÀÌÈÄ¿¡ ÁöÁ¤ÇØ¾ß ÇÑ´Ù.
%!TEX program = PDFLaTeX %!TEX encoding = system \documentclass{article} \usepackage{CJK} \begin{document} \begin{CJK}[HL]{KS}{} ÇÑ±Û ÅØ »ç¿ëÀÚ ±×·ìÀÔ´Ï´Ù. \end{CJK} \end{document}
- TeXWorks¸¦ À§ÇÑ ÀÎÄÚµù ¸¶Å©¿¡¼ "system"À̶õ cp949¸¦ ÀǹÌÇÑ´Ù. ½ÇÁ¦·Î´Â euc-kr¹®ÀÚ¸¸ 󸮵ȴÙ.
- "system"Àº À©µµ¿ìÁî¿¡¼¸¸ Àǹ̰¡ ÀÖÀ¸¹Ç·Î ¸Æ/¸®´ª½º¿¡¼´Â ÆÄÀÏ ÀÎÄÚµùÀ» cp949 (euc-kr)·Î °Á¦ÇØ¾ß ÇÑ´Ù.
[ÆíÁý]
3 UTF-8 ÇѱÛÀÌ Æ÷ÇÔµÈ ¹®¼ ÀÛ¼º ¶
ÇѱÛÀ» Æ÷ÇÔÇÏ´Â UTF-8 ÀÔ·ÂµÈ ÅؽºÆ®¸¦ ó¸®ÇÒ ¼ö ÀÖ´Â ±â´ÉÀÌ CJKLaTeX¿¡ ÀÖ´Ù.
¿©±â¼´Â CJKLaTeXÀÇ UTF8 ȯ°æ¿¡ ´ëÇؼ¸¸ ´Ù·é´Ù.
[ÆíÁý]
trivcj ÆùÆ® ÀÌ¿ëÇϱ⠶
Hangul-ucsÀÇ trivcj ÆÐÅ°Áö¸¦ ÀÌ¿ëÇϱâ À§ÇÏ¿© Á¦ÀÛÇصРtrivcj ÆùÆ® ¼¼Æ®´Â CJKLaTeX¿¡¼µµ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÇÑ±Û ¸î ±ÛÀÚ Á¤µµ¸¦ Ç¥ÇöÇϱâ À§Çؼ¶ó¸é °¡Àå °£´ÜÇÑ ÇØ°áÃ¥ÀÏ µí.
- CJK ÆÐÅ°Áö ¼³Ä¡. MiKTeXTools ¸¦ »ç¿ëÇÑ´Ù¸é, mpm --install=cjk·Î ÃæºÐ.
- PDFLaTeX Àº »ç¿ëÇÏÁö ¸øÇÔ. latex -> DVIPDFMx ·çÆ®·Î pdf¸¦ ¾òÀ» ¼ö ÀÖ´Ù.
- pdf¿¡´Â ¾Æ¹«·± ÆùÆ®µµ ÀÓº£µåµÇÁö ¾Ê´Â´Ù. AdobeReader·Î ÀÐÀ¸¸é AdobeReaderÀÇ ¾Æ½Ã¾Æ ±Û²Ã ÆÐÅ°Áö¿¡¼ ±âº» ÆùÆ®¸¦ ºÒ·¯¿Í¼ º¸¿©ÁØ´Ù. xpdf¿¡¼´Â ¹é¹¬±Û²Ã, Windows/gsview¿¡¼´Â À©µµ ±âº» ¹ÙÅÁ ±Û²Ã·Î µð½ºÇ÷¹ÀÌµÉ ¼ö ÀÖ´Ù.(ºä¾î¿¡ µû¶ó °á°ú°¡ Á¶±Ý ´Þ¶óÁú ¼ö ÀÖÁö¸¸ ¸¸µé¾îÁø pdf ÆÄÀÏÀÇ Å©±â´Â ´ë´ÜÈ÷ ÀÛ´Ù.)
- ÆùÆ®´Â komj, kogt µÑÀ̸ç, boldü´Â ¾ø´Ù. ÇÑ±Û ÆùÆ®¸¸ ÀÖÀ½. ÀϺ»¾î¿Í Áß±¹¾î ÆùÆ®´Â Æ÷ÇÔÇÏ°í ÀÖÁö ¾ÊÀ½.
- ´ÙÀ½ ÆÄÀÏÀ» ´Ù¿î·Îµå¹Þ¾Æ¼ local texmf Æ®¸®·Î Ç®¾î³õ´Â´Ù.(1¸Þ°¡µµ ¾ÈµÊ)
- teTeX 3.x ¿ë : cjklatex-triv-hangul.tar.gz
- Windows/MiKTeX ¿ë : See Karnes/2007-01
- dvipdfmx.cfg¿Í ttf2pk.cfg¸¦ ÆíÁýÇÑ´Ù.
- dvipdfmx.cfg
f cid-simpletriv.map
- ttf2pk.cfg
+map simpletriv-ttf2pk.map
- dvipdfmx.cfg
- mktexlsr
\documentclass{article} \usepackage{CJK} %%%% \gt, \mj ¸í·ÉÀ» Á¤ÀÇÇؼ ¾²·Á¸é \newcommand\gt{\CJKfamily{kogt}\selectfont} \newcommand\mj{\CJKfamily{komj}\selectfont} \DeclareTextFontCommand\textgt{\gt} \DeclareTextFontCommand\textmj{\mj} \begin{document} \begin{CJK}{UTF8}{komj} .... \end{CJK} \end{document}
[ÆíÁý]
ko.TeX ÆùÆ® ÀÌ¿ëÇϱ⠶
default´Â cyberbit ±Û²ÃÀ» ÀÌ¿ëÇÏ´Â °ÍÀÌÁö¸¸, ÀÌ cyberbit Æ®·çŸÀÔÀÌ ¹èÆ÷ºÒ°¡´ÉÇÑ ±Û²ÃÀ̱⠶§¹®¿¡ Á÷Á¢ »ç¿ëÀÚ°¡ ÀÌ Æ®·çŸÀÔ ±Û²Ã ÆÄÀÏÀ» È®º¸ÇÏ¿© .tfmÀ» º°µµ·Î ÃßÃâÇÏ´Â ¹ø°Å·Î¿î °úÁ¤À» °ÅÃÄ¾ß ÇÑ´Ù.
¸¸¾à ko.TeXÀÇ ±âº» ÆùÆ® (Àº±Û²Ã type 1)¸¦ ¾²°íÀÚ ÇÑ´Ù¸é ´ÙÀ½ ÆÄÀÏÀÇ ¾ÐÃàÀ» Ç®¸é ³ª¿À´Â fd ÆÄÀÏÀ» Àû´çÇÑ °÷¿¡ µÎ°í ¿¹½ÃÇÑ ¹Ù¿Í °°ÀÌ ÆùÆ®¸¦ ÁöÁ¤ÇÏ¸é µÈ´Ù.
- CJKut_fd.zip (1.09 KB)
\documentclass{article} \usepackage{CJK} \newcommand\gt{\CJKfamily{utgt}\selectfont} \newcommand\mj{\CJKfamily{utbt}\selectfont} \DeclareTextFontCommand\textgt{\gt} \DeclareTextFontCommand\textmj{\mj} \begin{document} \begin{CJK}{UTF8}{utbt} °¡³ª´Ù¶ó \textbf{°¡³ª´Ù¶ó} \textit{°¡³ª´Ù¶ó} \textgt{°¡³ª´Ù¶ó} °¡³ª´Ù¶ó \gt Å×½ºÆ® \bfseries Å×½ºÆ® \mj \mdseries ÇÑ±Û ÅØ »ç¿ëÀÚ ±×·ì \end{CJK} \end{document}