KTUGFaq
KTUG FAQ
Deprive a mirror of its silver and even the Czar won't see his face.
FrontPage › NFSS
New Font Selection Scheme.
LaTeX2eÀÇ ÆùÆ® ¼±Åà ½ºÅ´.
LaTeX 2.09¿Í LaTeX2eÀÇ °¡Àå Å« Â÷ÀÌ´Â ÆùÆ® ¼±Åà ¹æ½Ä¿¡ ÀÖ´Ù. LaTeX 2.09¿¡¼´Â Computer Modern METAFONT ±Û²Ã¸¸À» »ç¿ëÇÒ ¼ö ÀÖ¾ú°í µû¶ó¼ ´Ù¸¥ Çü½ÄÀÇ ±Û²ÃÀ» »ç¿ëÇϱâ À§Çؼ´Â »ó´çÇÑ °íÃʸ¦ °ÞÁö ¾ÊÀ¸¸é ¾ÈµÇ¾ú´Ù. ÀÌ ¹®Á¦¸¦ ÇØ°áÇϱâ À§ÇÑ "»õ·Î¿î ÆùÆ® ¼±Åà ½ºÅ´"ÀÌ 1989³â¿¡ Á¦¾ÈµÇ¾úÀ¸¸ç 1993³â¿¡ Á¦2ÆÇÀÌ ³ª¿Ô´Ù. ÇöÀç LaTeX2e¿¡¼ »ç¿ëµÇ´Â °ÍÀº NFSS 2ÀÌ´Ù.
[ÆíÁý]
1.1 ÅؽºÆ® ÆùÆ® ¼Ó¼º ¶
¸ðµç ÅؽºÆ® ÆùÆ®´Â ´Ù¼¸ °¡Áö ¼Ó¼º(attributes)À» °¡Áø´Ù.
- encoding
ÆùÆ® ÀÎÄÚµùÀ̶õ ÆùÆ® ¼Ó¿¡ ±ÛÀÚµéÀÌ ³ª¿µÇ¾î ÀÖ´Â ¼ø¼¸¦ °¡¸®Å²´Ù. TeX·ù¿¡¼ ÈçÈ÷ ¾²ÀÌ´Â ÆùÆ® ÀÎÄÚµùÀº µÎ °¡ÁöÀε¥ Çϳª´Â D. Knuth°¡ ¸¸µç TeX text encoding(OT1)ÀÌ°í ´Ù¸¥ Çϳª´Â Cork EncodingÀ̶ó°í ¾Ë·ÁÁ® ÀÖ´Â (ÁÖ·Î À¯·´¾î¸¦ À§ÇÑ) TeX text extended encoding(T1)ÀÌ´Ù. T1Àº OT1ÀÇ È®ÀåÀ̹ǷΠOT1ÀÇ 127¹®ÀÚ ¿µ¿ªÀº °øÅëµÈ´Ù.
- family
±Û²Ã Á¦Àۻ翡¼ °°Àº °è¿ÀÇ ÆùÆ®µéÀ» ¹¾î¼ ºÎ¸£´Â ¸íĪÀÌ´Ù. º¸Åë roman upright, italic, bold µîÀ» °°Àº ¸íĪ ¾Æ·¡ ¹¾î¼ ÇϳªÀÇ font family·Î ÇÑ´Ù. Computer Modern RomanÀº ÇϳªÀÇ ÆùÆ® Æйи®ÀÌ´Ù.
- series
ÆùÆ®ÀÇ ¹«°Ô(weight)¿Í ÀåÆò(extension)Àº series·Î ºÐ·ùµÈ´Ù. LaTeX¿¡¼ ÈçÈ÷ ¾²ÀÌ´Â ±Û²ÃµéÀº m(Medium), b(Boldface), bx(Boldface extended), sb(Semi-bold), c(Condensed) µîÀÇ series¸¦ Á¤ÀÇÇÏ°í ÀÖ´Ù. ±×·¯³ª ¸ðµç ÆùÆ®°¡ ÀÌ·± ½Ã¸®Á ¸ðµÎ °¡Áø °ÍÀº ¾Æ´Ï´Ù.
- shape
°°Àº Æйи®¿¡ ¼ÓÇÏ´Â ÆùÆ®µéÀÇ ¸ð¾ç(upright ¶Ç´Â roman, italic, slanted ¶Ç´Â oblique, Small caps µîÀÌ ÆùÆ®ÀÇ shape·Î Á¤ÀǵȴÙ.
- size
ÆùÆ® »çÀÌÁî´Â ±æÀÌ´ÜÀ§·Î Á¤ÀǵȴÙ. ¿¹ÄÁ´ë 10pt, 3mm µîÀÌ´Ù. ÆùÆ®ÀÇ »çÀÌÁî¶õ ÁÖ¾îÁø ÆùÆ®ÀÇ µðÀÚÀÎ »çÀÌÁ °¡¸®Å°´Â °ÍÀ¸·Î ½ÇÁ¦ ½ÄÀڵǴ ±ÛÀÚÀÇ Å©±â´Â ÀÌ¿Í ´Ù¸£´Ù.
[ÆíÁý]
1.3 ÆùÆ® ¼±Åà ¸í·É ¶
ÆùÆ® ¼±ÅÃÀ» À§ÇÑ ´ÙÀ½ ¸í·ÉÀÌ ÀÖ´Ù.
- \fontencoding
- \fontfamily
- \fontseries
- \fontshape
- \fontsize
[ÆíÁý]
1.3.2 ÇöÀç °ª ¶
ÇöÀç »ç¿ëµÇ°í ÀÖ´Â ÆùÆ®ÀÇ ¼³Á¤°ªÀº ´ÙÀ½ ¸ÅÅ©·Î·Î È£ÃâÇÒ ¼ö ÀÖ´Ù.
\f@encoding, \f@family, \f@series, \f@shape, \f@size, \f@baselineskip, \tf@size, \sf@size, \ssf@sizeµû¶ó¼, ÆùÆ®ÀÇ baselineskipÀº ¹Ù²ÙÁö ¾ÊÀ¸¸é¼ »çÀÌÁ 12Æ÷ÀÎÆ®·Î º¯È¯ÇÏ·Á¸é
\fontsize{12pt}{\f@baselineskip}\selectfontÀ§¿Í °°ÀÌ ÇÏ¸é µÉ °ÍÀÌ´Ù. (½ºÅ¸ÀÏÀ̳ª Ŭ·¡½º ÆÄÀÏ ¾ÈÀÌ ¾Æ´Ï¶ó¸é ¹°·Ð ÀÌ ÇàÀÇ ¾ÕµÚ¿¡ \makeatletter¿Í \makeatother°¡ ÀÖ¾î¾ß ÇÑ´Ù.)
[ÆíÁý]
1.3.3 default ¸ÅÅ©·Î ¶
\...default ¸ÅÅ©·Î°¡ ÀÖ´Ù. ´ÙÀ½Àº °¢°¢ÀÇ ±âº»°ªÀÌ´Ù.
\encodingdefault = OT1 \familydefault = \rmdefault \seriesdefault = \mddefault \shapedefault = \updefault
fontfamily¿¡ °ü·ÃµÈ \...default ¸ÅÅ©·Î¿Í ±âº»°ªÀº ´ÙÀ½°ú °°´Ù.
\rmdefault = cmr \sfdefault = cmss \ttdefault = cmtt
fontseries¿¡ °ü·ÃµÈ \...default ¸ÅÅ©·Î´Â ´ÙÀ½°ú °°´Ù.
\mddefault = m \bfdefault = bx
fontshape¿¡ °ü·ÃµÈ \...default ¸ÅÅ©·Î¿Í ±âº»°ªÀº ´ÙÀ½°ú °°´Ù.
\updefault = n \itdefault = it \sldefault = sl \scdefault = sc
\normalfont´Â ¹®¼°¡ ½ÃÀÛÇÏ´Â ½ÃÁ¡(\begin{document})¿¡ È£ÃâµÇ´Â ¸ÅÅ©·ÎÀÌ´Ù. ÀÌ ¸ÅÅ©·Î´Â ¹®¼ÀÇ ±ÛÀÚ ±âº» ¼±ÅðªÀ» È°¼ºÈÇÏ°í ¸î °¡Áö °£°ÝÀ» ¼³Á¤ÇÑ´Ù.
[ÆíÁý]
1.4 »ç¿ëÀÚ ·¹º§ ¸í·É ¶
¿©±â±îÁö´Â ½ºÅ¸ÀÏ Á¦ÀÛÀÚ¸¦ À§ÇÑ ¸ÅÅ©·Î¶ó ÇÒ ¼ö ÀÖ´Ù. ¹®¼ÀÛ¼ºÀÚ´Â ÀÌ·± ¹ø°Å·Î¿î ¸ÅÅ©·Î¸¦ ÀÌ¿ëÇÏÁö ¾Ê°í ´ÙÀ½°ú °°ÀÌ °¢°¢ ´ëÀÀÇÏ´Â °£ÆíÇÑ ¸ÅÅ©·Î¸¦ »ç¿ëÇÏ¿© ÆùÆ®¸¦ ¼±ÅÃÇÑ´Ù.
¸ÕÀú ¹®¼ ÀüüÀÇ encodingÀ» ¹Ù²Ù·Á¸é fontenc ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÑ´Ù.
\usepackage[T1]{fontenc}
¹®¼ ÀüüÀÇ ±Û²Ã family Á¶ÇÕÀ» ¹Ù²Ù·Á¸é \rmdefault, \sfdefault, \ttdefault ¼¼ °³ÀÇ ¸ÅÅ©·Î¸¦ ÀçÁ¤ÀÇÇÑ´Ù. ¿¹ÄÁ´ë ´ÙÀ½Àº rm=Times, sf=Helvetica, tt=Courier·Î ¼³Á¤ÇÏ´Â °ÍÀÌ´Ù.
\renewcommand{\rmdefault}{ptm} \renewcommand{\sfdefault}{phv} \renewcommand{\ttdefault}{pcr}
fontfamily¸¦ ¼±ÅÃÇÏ´Â »ç¿ëÀÚ ¸í·ÉÀº ´ÙÀ½°ú °°´Ù.
fontseries¸¦ ¼±ÅÃÇÏ´Â ¸í·ÉÀº ´ÙÀ½°ú °°´Ù.
fontshape¸¦ ¼±ÅÃÇÏ´Â »ç¿ëÀÚ ¸í·ÉÀº ´ÙÀ½°ú °°´Ù.
[ÆíÁý]
1.5 ÆùÆ® ¼±¾ð ¶
LaTeX2e¿¡°Ô ÆùÆ®´Â ¹Ì¸® Á¤ÀǵǾî ÀÖ¾î¾ß ÇÑ´Ù. ÅؽºÆ® ÆùÆ® Á¤ÀǸ¦ À§ÇÑ ¸ÅÅ©·Î·Î Áß¿äÇÑ °ÍÀº ´ÙÀ½°ú °°Àº °ÍÀÌ ÀÖ´Ù.
\DeclareFontFamily
ÀÌ ¸ÅÅ©·Î´Â ¼¼ °³ÀÇ ÀÎÀÚ¸¦ ÃëÇÑ´Ù.
\DeclareFontShape
- encoding
- family
- setting
ÀÌ ¸ÅÅ©·Î´Â ¿©¼¸ °³ÀÇ ÀÎÀÚ¸¦ ÃëÇϴµ¥ °¢°¢ ´ÙÀ½°ú °°Àº ÀǹÌÀÌ´Ù.
- encoding
- family
- series
- shape
- loading-info
- loading-option
[ÆíÁý]
1.6 Ưº°ÇÑ ¸í·É ¶
»ç¿ë·Ê¸¸À» º¸ÀÌ°Ú´Ù.
- \DeclareFixedFont{\picturechar}{OT1}{cmr}{m}{n}{5} \picturechar¶ó´Â »õ·Î¿î ¸í·ÉÀ» Á¤ÀÇÇÑ´Ù. µÎ¹ø° ÀÌÈÄ ÀÎÀÚ´Â Â÷·Ê·Î encoding, family, series, shape, size(pt)Àε¥ º£À̽º¶óÀÎ µî ¾î¶² °Íµµ ¹Ù²ÙÁö ¾Ê°í ÀϽÃÀûÀ¸·Î ÁÖ¾îÁø ÆùÆ®¸¦ ¼±ÅÃÇÒ ¼ö ÀÖ°Ô ÇÏ´Â °ÍÀÌ´Ù. À§¿Í °°ÀÌ Á¤ÀÇÇÑ ´ÙÀ½ {\picturechar a}¿Í °°ÀÌ ¾´´Ù.
- \DeclareTextFontCommand{\textxx}{<font selection>} ÀÌ°ÍÀº \text.. ·ùÀÇ ¸í·ÉÀ» Á¤ÀÇÇÒ ¼ö ÀÖ°Ô ÇØÁØ´Ù. ¿¹¸¦ µé¾î \DeclareTextFontCommand{\textrm}{\rmfamily}´Â \textrm ¸í·ÉÇü ¸ÅÅ©·Î¸¦ Á¤ÀÇÇÏ´Â ¹æ½ÄÀÌ´Ù.
- \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} LaTeX2e¿¡¼´Â Áö¿øµÇÁö ¾Ê´Â LaTeX 2.09 Çü½ÄÀÇ ¸í·ÉÀ» Á¤ÀÇÇϱâ À§ÇÑ ¸ÅÅ©·ÎÀÌ´Ù. Ç¥ÁØ Å¬·¡½º¿¡¼´Â ÀÌ°ÍÀÌ ¹Ì¸® Á¤ÀǵǾî ÀÖÀ¸¹Ç·Î »ç¿ëÀÚ°¡ º°µµ·Î Á¤ÀÇÇÒ ÇÊ¿ä´Â ¾ø´Ù. ±×·¯³ª LaTeX 2.09 ÆùÆ® ¼±Åà ¸ÅÅ©·Î¸¦ Áö¿øÇÏÁö ¾Ê´Â Ŭ·¡½º¿¡¼ ¹Ýµå½Ã ÀÌÀü Çü½ÄÀÇ ¸ÅÅ©·Î¸¦ ½á¾ß ÇÑ´Ù¸é ÀÌ¿Í °°Àº Á¤ÀÇ°¡ À¯¿ëÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù.
[ÆíÁý]
1.7 ÆùÆ® Á¤ÀÇ(fd) ÆÄÀÏ ¶
À§ÀÇ \DeclareFontFamily¿Í \DeclareFontShape ¸í·ÉÀÇ Á¶ÇÕÀ¸·Î ¹Ì¸® ƯÁ¤ ÆùÆ®¸¦ Á¤ÀÇÇصδ ÆÄÀÏÀº È®Àå¸íÀÌ .fdÀÌ´Ù.
ÀÌ ÆÄÀÏÀÇ À̸§Àº <''ENC''><''family''>.fd Çü½ÄÀ» ¶ì´Âµ¥, LaTeX2e´Â ¿¹¸¦ µé¾î ÇöÀç ¹®¼¿¡¼(fontenc ÆÐÅ°Áö¿¡ ÀÇÇÏ¿©, Áï \DeclareFontEncoding ¸ÅÅ©·Î¿¡ ÀÇÇÏ¿©) ¼±¾ðµÈ \encodingdefault°¡ T1ÀÌ°í \fontfamily{utm}\selectfont¿Í °°Àº ¸ÅÅ©·Î¿¡ ÀÇÇÏ¿© T1/utm/m/n/10pt ÆùÆ®¸¦ ¿äû¹Þ¾ÒÀ» ¶§ ¿ì¼± '''T1utm.fd'''¶ó´Â ÆÄÀÏÀ» ã´Â´Ù. ÀÌ ÆÄÀÏ¿¡´Â \DeclareFontFamily{T1}{utm}{}`°ú °°Àº Çà°ú \DeclareFontShape{T1}{utm}{m}{n}{....}{}`°ú °°Àº Á¤ÀǵéÀÌ Æ÷ÇԵǾî ÀÖ¾î¾ß ÇÑ´Ù.
[ÆíÁý]
2 LaTeX 2.09ÀÇ ÆùÆ® ¼±Åà ¸í·ÉÀÇ È£È¯¼º ¶
LaTeX 2.09¿¡¼´Â \it, \bf µîÀÇ ¸ÅÅ©·Î·Î ÆùÆ®¸¦ ¼±ÅÃÇß´Ù. ¼±¾ðÇü¸¸ÀÌ Á¤ÀǵǾî ÀÖ¾ú°í ¸í·ÉÇüÀº ¾ø¾ú´Ù. ±×·¯¹Ç·Î {\it Italicized text}¿Í °°Àº ¹æ½ÄÀ¸·Î ÄÚµùÇÏ¿´´Ù.
ÀÌ·¯ÇÑ ¸ÅÅ©·Î¸¦ ÇÏÀ§È£È¯¼º ¶§¹®¿¡ ¸¹Àº Ŭ·¡½º¿¡¼ Áö¿øÇÏÁö¸¸ 100% ȣȯÀÌ º¸ÀåµÇ¾î ÀÖÁö ¾Ê´Ù. Ç¥ÁØ LaTeX ¸ÅÅ©·Î°¡ ¾Æ´Ñ ¿¹ÄÁ´ë MemoirClass¿Í °°Àº Ŭ·¡½º¸¦ ¾²°Ô µÇ¸é ÀÌ·¯ÇÑ ¸ÅÅ©·Î´Â Á¤ÀǵǾî ÀÖÁö ¾Ê´Ù´Â ¿À·ù¸¦ ³¾ °ÍÀÌ´Ù(ȣȯ¼º ¸ðµå°¡ ¸¶·ÃµÇ¾î ÀÖ±â´Â ÇÏÁö¸¸).
±×·¯¹Ç·Î NFSS ¹æ½Ä¿¡ ¾Ë¸ÂÀº ÆùÆ® ¼±Åà ¸ÅÅ©·Î¸¦ »ç¿ëÇÏ´Â °ÍÀÌ ÁÁ´Ù. ¸¸¾à {\it some stuffs}¿Í °°ÀÌ ÀÌ¹Ì ÄÚµùÀÌ µÇ¾î ÀÖ´Ù¸é ÀÌ°ÍÀ» \textit{some stuffs}³ª {\itshape some stuffs}·Î ¹Ù²Ùµµ·Ï ÇÑ´Ù. LaTeX2e¿¡¼´Â ÅؽºÆ®ÆùÆ®¿Í ¼öÇÐÆùÆ®¸¦ ÁöÁ¤ÇÏ´Â ¹æ½ÄÀÌ ±¸ºÐµÇ¾î ÀÖ´Ù. ±×·¯¹Ç·Î ¼öÇÐ ¸ðµå ¾È¿¡¼´Â \itÀ» \mathitÀ¸·Î, \rmÀ» \mathrmÀ¸·Î ¹Ù²Ù¾îÁÖ¾î¾ß ÇÒ °ÍÀÌ´Ù.
´ëºÎºÐÀÇ °æ¿ì ¹üÀ§¸¦ Áß°ýÈ£·Î ÁöÁ¤ÇØÁÖ¾î¾ß ÇÏ´Â ¼±¾ðÇü ¸ÅÅ©·ÎÀÇ »ç¿ëÀº Áß°ýÈ£ ¾ÈÀÇ ³»¿ëÀÌ ±æ¾îÁú °æ¿ì °ýÈ£ ¦¸ÂÃãÀÌ Àß µÇÁö ¾Ê¾Æ¼ ¿À·ù ÃßÀûÀÌ ¾î·Á¿öÁø´Ù. ±×·¯¹Ç·Î \text... ÇüÀÇ ÆùÆ® ¼±Åà ¸í·ÉÀ» »ç¿ëÇÏ´Â °ÍÀÌ ÀÛ¾÷À» °£ÆíÇÏ°Ô ÇÏ°í ¿À·ù¸¦ ½±°Ô ãÀ» ¼ö ÀÖ°Ô ÇÏ´Â ¹æ¹ýÀÌ µÈ´Ù.
(to be continued)