KTUGFaq
KTUG FAQ
You have literary talent that you should take pains to develop.
FrontPage › ÀåÀý¸í·É
¸ñÂ÷
- 1 ÀåÀý¸í·É(Sectioning Commands) ±âÃÊ
- 2 ÀåÀý¸í·É ÅÛÇø´
- 3 ÀåÀý¸í·ÉÀÇ ÀÀ¿ë°ú ÀçÁ¤ÀÇ (in progress)
- 3.1 ÀåÀý Á¦¸ñÀÇ ÀÚ¸®¸¦ Áß¾ÓÀ̳ª ¿À¸¥ÂÊÀ¸·Î ¹Ù²Ù°Å³ª, Á¦¸ñÀÇ font¸¦ ¾î¶»°Ô ¹Ù²Ù³ª¿ä?
- 3.2 subsubsubsection´Â ¾î¶»°Ô ¸¸µå³ª¿ä?
- 3.3 ÀåÀ̳ª ÀýÀÇ ¾Õ¿¡ ºÙ´Â ¹øÈ£¸¦ ÀüüÀûÀ¸·Î ¾ø¾Ö°í ½ÍÁö¸¸ ¸ñÂ÷´Â ¸¸µé°í ½Í½À´Ï´Ù. ¾î¶±ÇÏÁÒ?
- 3.4 ÀåÀý Á¦¸ñ ¾Õ¿¡ ºÙ´Â ¹øÈ£¸¦ ·Î¸¶ ¼ýÀÚ³ª ¾ËÆĺªÀ¸·Î ¹Ù²Ù·Á¸é ¾î¶»°Ô Çմϱî?
- 3.5 ÀåÀý Á¦¸ñÀÌ header¿¡ µé¾î°¡±â¿¡ ³Ê¹« ±é´Ï´Ù. ¾î¶±ÇÏÁÒ?
- 3.6 ¼ö½Ä, ±×¸², Ç¥, Âü°í »çÇ×, theorem µîÀÇ ¹øÈ£¸¦ ÀåÀ̳ª Àý¿¡ µû¶ó¼ ´Ù½Ã ½ÃÀÛÇÒ ¼ö ÀÖ³ª¿ä?
- 3.7 report Ŭ·¡½º¿¡¼ Àå Ç¥Á¦ ¸ð¾çÀ» ¹Ù²Ù°í ½Í¾î¿ä.
- 4 ±×¹ÛÀÇ »çÇ×µé
[ÆíÁý]
1.1 level number ¶
ÀåÀý ¸í·ÉÀº ´ÙÀ½ ¼ø¼·Î ¾²ÀδÙ. ¿©±â¿¡ °¢°¢ level number°¡ ºÙ´Â´Ù.
\part \chapter \section \subsection \subsubsection \paragraph \subparagraphÀÌ°ÍÀ» Ç¥¿¡ Á¤¸®ÇÑ´Ù¸é,
¸í·É¾î | Level |
\part (book/report) | -1 |
\part (article) | 0 |
\chapter | 0 |
\section | 1 |
\subsection | 2 |
\subsubsection | 3 |
\paragraph | 4 |
\subparagraph | 5 |
ÀåÀý ¸í·É¾îµéÀÇ Çü½Ä°ú Ư¼ºµéÀ» º¸¸é,
Çü½Ä | ¹øÈ£ ºÙÀ̱â(numbering) | ¸ñÂ÷¿¡ µé¾î°¥ Á¦¸ñ(.toc) | header/footer¿¡ µé¾î°¥ Á¦¸ñ |
\section{Á¦¸ñ} | Y | Á¦¸ñ | Á¦¸ñ |
\section[¸ñÂ÷¿¡ ³ÖÀ» Á¦¸ñ]{º»¹®¿¡ ³ÖÀ» Á¦¸ñ} | Y | ¸ñÂ÷¿¡ ³ÖÀ» Á¦¸ñ | ¸ñÂ÷¿¡ ³ÖÀ» Á¦¸ñ |
\section*{Á¦¸ñ} | N | Á¦¸ñÀÌ µé¾î °¡Áö ¾ÊÀ½ | Á¦¸ñÀÌ µé¾î °¡Áö ¾ÊÀ½ |
ÁÖÀÇ: º¸Åë ¸ñÂ÷(TOC)¿¡ µé¾î°¥ ¼öÁØ(Level)Àº ¸í·ÉÇà
\setcounter{tocdepth}{5}µîÀ¸·Î ¼³Á¤ÇÏ´Â µ¥ ÀÌ¹Ì cls ÆÄÀÏ¿¡¼ µðÆúÆ®·Î ¼³Á¤ÇÏ¿© µÐ °ÍÀÌ ÀÖ´Ù. ¹®Á¦´Â cls ÆÄÀÏ¿¡ µû¶ó ¼öÁØ(Level)À» ³ªÅ¸³»´Â ¼ýÀÚ°¡ ´Ù¸¦ ¼ö°¡ ÀÖ´Ù´Â °ÍÀÌ´Ù. ¿¹·Î½á Utah ´ëÇб³ÀÇ ÇÐÀ§ ³í¹® clsÀÎ uuthesis2e.cls¸¦ º¸¸é
\def\section{\@Ustartsection{section}{3} {\z@} %indent. \z@ == 0pt {\HFsectionSKIP} % before=\baselineskip for \large {1sp} %after {\center %style \HFsection\bfseries}} \def\subsection{\@Ustartsection{subsection}{4} {\z@} %indent {\HFsubsectionSKIP} % before=\baselineskip for \normalsize {1sp} %after {\HFsubsection\bfseries}} %style \def\subsubsection{\typeout{No subsubsections allowed with three levels.}} \def\paragraph{\@Ustartsection{paragraph}{5} {\parindent} %indent {1sp} %before {-1em} %after {\HFparagraph\bfseries}} %style·Î book.clsÀÇ ¼öÁØ°ú´Â »ç¹µ ´Ù¸£´Ù. µû¶ó¼ ÇÁ¸®¾Úºí¿¡
\setcounter{tocdepth}{3}À» ½è´Ù¸é section ±îÁö ¹Û¿¡´Â ³ªÅ¸³ªÁö ¾Ê´Â´Ù. subsection ±îÁö ³ªÅ¸³ª°Ô ÇÒ·Á¸é ¼ýÀÚ 4¸¦ ½á¾ß ÇÑ´Ù.
- Âü°í: uuthesis2e.cls´Â 13926¿¡ ÷ºÎµÈ Byung.zipÀ» Ç®¸é µé¾î ÀÖ´Ù.
[ÆíÁý]
1.2 secnumdepth¿Í tocdepth ¶
ÀåÀý ¸í·ÉÀº ´ÙÀ½ ¼ø¼·Î ¾²ÀδÙ.
\part \chapter \section \subsection \subsubsection \paragraph \subparagraph
- ¿©±â¿¡ °¢°¢ level number°¡ ºÙ´Âµ¥, ÇöÀç ÀÛ¼ºÇÏ·Á ÇÏ´Â ÀåÀý ±¸È¹ÀÇ level number°¡ secnumdepthº¸´Ù À۰ųª °°´Ù¸é ±× ÀåÀý¸í·ÉÀº ¹®¼¿¡¼ ¹øÈ£(1.1.1 µî)°¡ ºÙ´Â´Ù.
- ÇöÀç ÀÛ¼ºÇÏ·Á ÇÏ´Â ÀåÀý ±¸È¹ÀÇ level number°¡ tocdepthº¸´Ù À۰ųª °°´Ù¸é toc(Table of Contents)¿¡ ¿£Æ®¸®¸¦ ¸¸µç´Ù. Áï, level number°¡ tocdepthº¸´Ù Å©´Ù¸é ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö ¾Ê´Â´Ù.
- secnumdepth¿Í tocdepth´Â ³»ºÎ Ä«¿îÅÍ º¯¼öÀ̹ǷÎ, \setcounter ¸í·ÉÀ¸·Î ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. article Ŭ·¡½º¿¡¼ \paragraph±îÁö ¸ñÂ÷¿¡ ³ªÅ¸³ª°Ô ÇÏ·Á¸é
\setcounter{tocdepth}{4}
¸¦ ÇÁ¸®¾Úºí¿¡ ³Ö´Â´Ù. - Ç¥ÁØ article Ŭ·¡½º¿¡¼ ÀÌ µÎ(secnumdepth¿Í tocdepth) counter´Â ¸ðµÎ 3À¸·Î ¼³Á¤µÇ¾î ÀÖ´Ù. book¿¡¼´Â ¸ðµÎ 2·Î ¼³Á¤µÇ¾î ÀÖ´Ù..
[ÆíÁý]
1.3 startsection ¸í·É ¶
\section ÀÌÇÏ ¸í·ÉÀº \@startsection À̶ó´Â ¸ÅÅ©·Î¸¦ ÀÌ¿ëÇÏ¿© Á¤ÀÇÇÑ´Ù. ´ÙÀ½ ¿¹´Â \section ¸í·ÉÀ» ÀçÁ¤ÀÇÇÏ´Â °ÍÀÌ´Ù.
ÀÌ ¸ÅÅ©·Î´Â ¸ðµÎ ¿©¼¸ °³ÀÇ ÀÎÀÚ¸¦ °®´Â´Ù.
- #1 Ä«¿îÅÍ ¸íĪ. sectionÀº sectionÀ̶ó´Â Ä«¿îÅÍ, subsectionÀº subsectionÀ̶ó´Â Ä«¿îÅ͸¦ »ç¿ëÇϱâ·Î µÇ¾î ÀÖ°í ÀÌ Ä«¿îÅ͵éÀº LaTeX°ú class¿¡¼ ÀÌ¹Ì Á¤ÀǵǾî ÀÖÀ¸¹Ç·Î ¹Ù²ÙÁö ¾Ê´Â´Ù.
- #2 ´Ü°è(level). sectionÀÇ levelÀº 1ÀÌ´Ù. ÀåÀý¸í·ÉÀÇ level °ªÀº »çÀü¿¡ ¾à¼ÓµÈ °ªÀ̹ǷΠÀ§ÀÇ µµÇ¥¸¦ Âü°íÇÑ´Ù.
- #3 ´Ü¶ô ¸Ó¸® µé¿©¾²±â. Ç¥Á¦ ¹®´ÜÀÇ µé¿©¾²±â °ªÀÌ´Ù.
- #4 Ç¥Á¦ ¾Õ ¼öÁ÷°£°Ý. ¾Õ ´Ü¶ô ¸¶Áö¸·°ú ÀåÀý Ç¥Á¦±îÁöÀÇ ¼öÁ÷ ±æÀÌ´Â ¿©±â¼ ÁÖ¾îÁö´Â ±æÀÌ°ªÀÇ Àý´ë°ªÀÌ´Ù.
- °¡·É
{-3.5ex \@plus -1ex \@minus -.2ex}
ÀÏ ¶§, ¿©±â ¼³Á¤ÇÑ °ªÀÇ Àý´ë°ª¸¸ »ý°¢Çϸé 3.5ex plus 1ex minus .2exÀÌ´Ù. ÀÌ°ÍÀº 3.5ex ±âÁØÀ¸·Î 3.3ex¿¡¼ 4.5ex±îÁö ÇüÆí¿¡ µû¶ó ´Ã¸®°Å³ª ÁÙÀÏ ¼ö ÀÖ´Â °¡º¯°£°Ý(¼ÒÀ§ skip)À̶ó´Â ÀǹÌÀÌ°í, ½ÇÁ¦ ÀåÀý Ç¥Á¦ ÀÌÀü ¸¶Áö¸· ´Ü¶ôÀÇ ¸¶Áö¸· ÁÙ º£À̽º¶óÀο¡¼ºÎÅÍ \baselineskip + \parskip + ¿©±â ¼³Á¤ÇÑ °ª ¸¸ÅÀÇ °£°ÝÀÌ ÁÖ¾îÁö°Ô µÈ´Ù. Ç¥ÁØ ¹®¼¿¡¼´Â baselineskip=12pt, parskip=0ptÀ̹ǷÎ, 12pt+0pt+3.5ex°¡ ½ÇÁ¦ °£°ÝÀ¸·Î ¹ú¾îÁö°Ô ¼³Á¤µÇ¾î ÀÖ´Â °ÍÀÌ´Ù. ¸¶À̳ʽº ºÎÈ£°¡ ºÙ¾ú´Ù°í Çؼ ÀýÇ¥Á¦ ±âÁØÀ¸·Î ÀÂÊÀ¸·Î °Å½½·¯ ¿Ã¶ó°¡´Â ±æÀ̸¦ ÀǹÌÇÏ´Â °ÍÀÌ ¾Æ´Ï´Ù. ¸¶À̳ʽº °ªÀº ´ÜÁö, ÀýÇ¥Á¦ ´ÙÀ½¿¡ óÀ½ ½ÃÀÛÇÏ´Â ¹®´ÜÀÇ µé¿©¾²±â(indenting)¸¦ ÇÏÁö ¸»¶ó´Â ¶æÀÏ »ÓÀÌ´Ù. indentfirst¶ó´Â ÆÐÅ°Áö´Â °Á¦·Î ÀÌ °ªµéÀ» ¸ðµÎ ¾ç¼ö·Î ¸¸µé¾îÁØ´Ù. À½¼öµç ¾ç¼öµç ÀýÇ¥Á¦ ¾ÕÂÊ ±æÀÌ´Â ¶È°°ÀÌ ¼³Á¤µÇ¸ç, ´ÜÁö ù´Ü¶ô µé¿©¾²±â¸¦ Á¦¾îÇϱâ À§ÇÑ "±âÈ£"°¡ ¸¶À̳ʽº¶ó°í »ý°¢ÇÏ¸é µÈ´Ù.
- °¡·É
- #5 Ç¥Á¦ ´ÙÀ½ ¼öÁ÷°£°Ý. Ç¥Á¦¿¡¼ ´ÙÀ½ ù ´Ü¶ô±îÁöÀÇ ±æÀÌ´Â ¿©±â¼ ÁÖ¾îÁö´Â ±æÀÌ°ªÀÇ Àý´ë°ªÀÌ´Ù. ÀÌ °ªÀÌ À½¼öÀÌ¸é µ¿ÇàÇ¥Á¦À̱⠶§¹®¿¡ Ç¥Á¦¿¡¼ºÎÅÍ ¼öÆò±æÀÌ°ªÀÌ°í ¾ç¼öÀ̸é ù´Ü¶ô±îÁöÀÇ ¼öÁ÷±æÀÌ°ªÀÌ µÈ´Ù.
- #6 Ç¥Á¦ ½ºÅ¸ÀÏ. Ç¥Á¦°¡ ½ÄÀڵDZâ Àü¿¡ »ðÀÔÇÒ ¸ÅÅ©·ÎµéÀÌ ¿Â´Ù. ÁÖ·Î ±Û²Ã, Á¤·Ä µî¿¡ ´ëÇÑ ¸ÅÅ©·Î¸¦ ¹èÄ¡ÇÔ.
[ÆíÁý]
2.1 articleÀÇ °£´ÜÇÑ ÅÛÇø´ ¶
\documentclass{article} \begin{document} \maketitle \section{Á¦¸ñ} \subsection{ºÎ Á¦¸ñ} \subsubsection{ºÎ Á¦¸ñ} \section*{Á¦¸ñ} % *°¡ ºÙÀ¸¸é ¼ýÀÚµµ ¾Õ¿¡ ¾ÈºÙ°í % .toc¿¡µµ µé¾î°¡Áö ¾Ê½À´Ï´Ù. \begin{thebibliography} ... \end{thebibliography} \end{document}
ÁÖÀÇ: article Ŭ·¡½º¿¡´Â \chapter°¡ ¾ø½À´Ï´Ù.
[ÆíÁý]
2.2 bookÀÇ °£´ÜÇÑ ÅÛÇø´ ¶
\documentclass{book} \begin{document} %-------------------------Ã¥ÀÇ ¼µÎ (frontmatter) \maketitle \section*{¼¹®} \tableofcontents \listoffigures \listoffigures %------------------------º»¹® \part{Á¦¸ñ} \chapter{Á¦¸ñ} \section{Á¦¸ñ} \subsection{Á¦¸ñ} \subsubsection{Á¦¸ñ} \chapter{Á¦¸ñ} \part{Á¦¸ñ} %----------------------µÞ±Û (backmatter) \appendix \chapter{Á¦¸ñ} \chapter{Á¦¸ñ} \begin{thebibliography} ... \end{thebibliography} \begin{theindex} ... \end{theindex} \end{document}
[ÆíÁý]
3 ÀåÀý¸í·ÉÀÇ ÀÀ¿ë°ú ÀçÁ¤ÀÇ (in progress) ¶
SamplesAndTemplatesÀÇ Ç׸ñ "ŸÀÌƲ ÆäÀÌÁö•Àå(íñ)•Àý(ï½)ÀÇ ¸ð¾ç" ÂüÁ¶
[ÆíÁý]
3.1 ÀåÀý Á¦¸ñÀÇ ÀÚ¸®¸¦ Áß¾ÓÀ̳ª ¿À¸¥ÂÊÀ¸·Î ¹Ù²Ù°Å³ª, Á¦¸ñÀÇ font¸¦ ¾î¶»°Ô ¹Ù²Ù³ª¿ä? ¶
- ¹æ¹ý1) °£´ÜÇÏ°Ô ÀåÀý¸í·É(Sectioning commands)µéÀ» »õ·Ó°Ô ´Ù¸¥ À̸§À¸·Î ´Ù½Ã Á¤ÀÇÇÑ´Ù.
¿¹¸¦ µé¸é:
±×·¯³ª ÀÌ ¹æ¹ýÀº Section ¹øÈ£°¡ Bold·Î ³ªÅ¸³ª°Å³ª *Çü½Ä(¿¹, \ssection*{})µéµµ ´Ù½Ã ÀÌ·± ½ÄÀ¸·Î Á¤ÀÇÇؾßÇÑ´Ù´Â ´ÜÁ¡À» °¡Áö°í ÀÖ´Ù. preambleÀ̶õ, \documentclass[]{} ¿Í \begin{document} »çÀÌ, º¸Åë \usepackage{} ÀÌÈÄ \begin{document} ÀüÀ» ¸»ÇÑ´Ù.
%<preamble¿¡¼ > \newcommand{\ssection}[1]{% Áß¾Ó¿¡ \section[#1]{\centering\sc #1}} \newcommand{\ssubsection}[1]{% ¿À¸¥ ÂÊ¿¡ \subsection[#1]{\raggedleft\it #1}} %<º»¹®¿¡¼> \ssection°ú \ssubsectionÀ» \section°ú \subsection ´ë½Å »ç¿ëÇÑ´Ù.
- ¹æ¹ý2) sectsty ÆÐÅ°Áö ÀÌ¿ë
ÀÌ ÆÐÅ°Áö´Â ÀÌ·± »óȲ¿¡¼ ½±°Ô »ç¿ëÇÒ ¼ö ÀÖ´Â Åø(tool)µéÀ» Á¦°øÇÑ´Ù.
- ¹æ¹ý3) titlesec ÆÐÅ°Áö ÀÌ¿ë ÀÌ ÆÐÅ°Áö´Â sectsty¿Í ºñ½ÁÇϳª Á» ´õ Çü½ÄÀûÀ¸·Î °®Ãß¾îÁ® ÀÖ´Â ¹æ¹ýÀ» Á¦°øÇÑ´Ù. ÀÌ ÆÐÅ°Áö¸¦ »ç¿ëÇϸé Á¦¸ñ¿¡ ´õ ¸¹Àº º¯È¸¦ ÁÙ ¼öµµ ÀÖ´Ù. ¿¹: titlesec_hfont.tex, titlesec_hfont.pdf
- ¹æ¹ý4) fncychap ÆÐÅ°Áö ÀÌ¿ë, Çѱ۰ú ÇÔ²² »ç¿ëÇÒ ¶§´Â hfncychap »ç¿ë
ÀÌ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº µµÀ̱â´ÔÀÇ hfncychap¸¦ º»´Ù. ºÒÇàÈ÷µµ fncychap´Â book class¿¡¼ÀÇ frontmatter, backmatter¿¡ ´ëÇØ ÀüÇô °ü¿©ÇÏÁö ¾ÊÀ¸¹Ç·Î,ÀÌ ¶§ ¸ñÂ÷³ª frontmatter, backmatterµéµµ ¹Ù²Ù°í ½Í´Ù¸é tocbibind ÆÐÅ°Áöµµ ÇÔ²² »ç¿ë ÇÑ´Ù.
- ¹æ¹ý5) °¡Àå ½±°í ÁÁÀº ¹æ¹ý -- book/report/article class ´ë½Å memoir class ³ª KOMA-script »ç¿ë
memoir.cls´Â sectsty³ª titlesec¿Í ºñ½ÁÇÑ Åø(tool)µéÀ» Ŭ·¡½º ¾È¿¡¼ ÇÔ²² Á¦°øÇÏ°í ÀÖ´Ù. KOMA-scriptµµ \partformat, \chapterformat, \sectionformat, µîÀ» ÅëÇØ ºñ½ÁÇÑ ±â´ÉµéÀ» Á¦°øÇÑ´Ù.
[ÆíÁý]
3.2 subsubsubsection´Â ¾î¶»°Ô ¸¸µå³ª¿ä? ¶
LaTeX´Â section¿¡ ´ëÇÑ ¸í·É¾îµéÀ» \subsubsection±îÁö¸¸ Á¤ÀÇ ÇÏ°í ÀÖ´Ù. ÀÌ´Â LaTeXÀÇ Ã¢Á¶ÀÚÀÎ Leslie Lamport°¡ ¾î´À ´©°¡ ¼ýÀÚ°¡ ¾Õ¿¡ ±æ°Ô ´Þ¸° Á¦¸ñÀ» ¿øÇϰڴ°¡¶ó´Â »ý°¢¿¡¼ ³ª¿Â µðÀÚÀÎ °áÁ¤¿¡ µû¸¥ °ÍÀÌ´Ù. ÇÏÁö¸¸ »ç½Ç»ó ´ëºÎºÐÀÇ LaTeXÀÇ classµéÀº \subsubsection ÀÌÇÏÀÇ ÀýÀ» Á¤ÀÇÇÏ´Â ¸í·É¾îµéÀ» °®Ãß°í ÀÖ´Ù. \paragraph°ú \subparagraph°¡ À̵éÀε¥, ÀÌ ¸í·É¾îµéÀº ¾Õ¿¡ ¼ýÀÚµµ ¾È ºÙ°í, º»¹®ÀÌ Á¦¸ñ ¿·¿¡ ¾à°£ÀÇ °£°ÝÀ» µÎ°í À̾îºÙ´Â´Ù. ÀÌ´Â ¹°·Ð LaTeXÀÇ ¾ðÁ¦µç ´Ù½Ã Á¤ÀÇÇÒ ¼ö ÀÖ´Ù(\renewcommand)´Â ÀåÁ¡À» ÀÌ¿ëÇØ ÇØ°áÇÒ ¼ö ÀÖ´Ù.
- ¹æ¹ý1) titlesec ÆÐÅ°Áö »ç¿ë
ÀÌ ÆÐÅ°Áö¸¦ ÅëÇØ \paragraphÀÇ typesettingÀ» º¯È¯½ÃÄÑ \sectionÀÇ typesetting°ú ºñ½ÁÇÏ°Ô ¸¸µé ¼ö ÀÖ´Ù.
- ¹æ¹ý2) ltsect.dtx, <»ç¿ëÁßÀÎ class>.dtx¿Í The LaTeX Companion¸¦ Âü°íÇÏ¿© ´Ù½Ã Á¤ÀÇÇϱâ
¿¹) report class¸¦ »ç¿ëÁßÀÏ ¶§
\documentclass{report} %-------------------------<preamble> % section number depth counter¸¦ ¿ì¼± ¸ÕÀú levelÀ» 7¿¡¼ 9·Î ´Ã¸³´Ï´Ù. \setcounter{secnumdepth}{9} %¾Õ¿¡ ºÙÀ» ¼ýÀÚ¸¦ ¾î¶»°Ô Ç¥±âÇÒ Áö¸¦ Á¤ÇÕ´Ï´Ù \renewcommand{\theparagraph}{\thesubsubsection.\roman{paragraph}} \renewcommand{\thesubparagraph}{\theparagraph.\alph{subparagraph}} %-------------------------<º»¹®> \begin{document} \part{Part} \chapter{Chapter} \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \paragraph{Paragraph} \subparagraph{Subparagraph} \end{document}
[ÆíÁý]
3.3 ÀåÀ̳ª ÀýÀÇ ¾Õ¿¡ ºÙ´Â ¹øÈ£¸¦ ÀüüÀûÀ¸·Î ¾ø¾Ö°í ½ÍÁö¸¸ ¸ñÂ÷´Â ¸¸µé°í ½Í½À´Ï´Ù. ¾î¶±ÇÏÁÒ? ¶
À§ÀÇ Ç¥1¿¡¼ ¸»¾¸µå¸° °Íó·³ ÀåÀý ¸í·ÉÀÇ *Çü½ÄÀ» »ç¿ëÇϸé
±× ÀåÀ̳ª ÀýÀÇ Á¦¸ñÀº ¸ñÂ÷¿¡ µé¾î °¡Áö ¾È½À´Ï´Ù. ±×·¡¼ ÀÌ·² ¶§´Â
¶ó°í ÇÏ°í, º¸Åë ¶§¿Í °°ÀÌ ÀåÀý ¸í·É¾î¸¦ »ç¿ë ÇÕ´Ï´Ù.
%------<preamble> \setcounter{secnumdepth}{-2}
[ÆíÁý]
3.4 ÀåÀý Á¦¸ñ ¾Õ¿¡ ºÙ´Â ¹øÈ£¸¦ ·Î¸¶ ¼ýÀÚ³ª ¾ËÆĺªÀ¸·Î ¹Ù²Ù·Á¸é ¾î¶»°Ô Çմϱî? ¶
%--------<preamble> \renewcommand{\thesection}{\thechapter.\Roman{section}}%article¿¡¼´Â "\thechapter."À» Áö¿ï °Í \renewcommand{\thesubsection}{\thesection.\Alph{subsection}} \renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}} µîµî...
ÀÌ ¶§ \arabic{ctr}, \roman, \Roman, \alph, \AlphµîÀÌ »ç¿ë°¡´ÉÇÏ´Ù.
[ÆíÁý]
3.5 ÀåÀý Á¦¸ñÀÌ header¿¡ µé¾î°¡±â¿¡ ³Ê¹« ±é´Ï´Ù. ¾î¶±ÇÏÁÒ? ¶
ÀϹÝÀûÀ¸·Î LaTeX´Â ÀåÀý Á¦¸ñÀ» ÆäÀÌÁöÀÇ Çì´õ¿¡ ³ÖÀ» ¼ö ÀÖµµ·Ï ÇÑ´Ù. ±×·¯³ª ÆäÀÌÁö Çì´õ°¡ µé¾î°¡´Â ÀÚ¸®°¡ Á¼¾Æ Á¾Á¾ ¹®Á¦°¡ µÇ´Â °æ¿ì°¡ ÀÖ´Ù. ÀÌ ¶§, LaTeXÀÇ ÀåÀý ¸í·É¾îµéÀº À§ÀÇ Ç¥¿¡¼ ¸»ÇÑ °Í °°ÀÌ
\section[ªÀº Á¦¸ñ]{±ä Á¦¸ñ}À̶ó´Â ½ÄÀÇ ¿É¼ÇÀ» °®°í ÀÖ´Ù. ±×·¯³ª ÀÌ Çü½ÄÀ» »ç¿ëÇϸé ªÀº Á¦¸ñÀÌ ¸ñÂ÷¿¡¼µµ »ç¿ëµÈ´Ù. ÀÌ°ÍÀÌ ¹®Á¦°¡ µÈ´Ù¸é ¸ñÂ÷¿¡´Â °£·«ÇÑ Á¦¸ñÀ» ³Ö°í Çì´õ¿¡´Â ´õ ªÀº Á¦¸ñÀ» ³Ö´Â °ÍÀÌ ´õ ¹Ù¶÷Á÷ÇÒ °Í ÀÌ´Ù.
- ¹æ¹ý1) ½ÇÁ¦·Î, ´ëºÎºÐÀÇ Å¬·¡½ºÀÇ ÀåÀý ¸í·ÉµéÀº `mark'¶ó´Â ¸í·ÉÀ» ÅëÇØ Á¦¸ñ¿¡ ´ëÇÑ Á¤º¸¸¦ ÆäÀÌÁö Çì´õ¿¡ ÀüÇÑ´Ù. ¿¹¸¦ µé¸é, \chapter´Â \chaptermark¸¦, \section´Â \sectionmark¸¦ »ç¿ëÇÑ´Â °ÍÀÌ´Ù. À̸¦ ÀÌ¿ëÇÏ¿© Àå¸í·ÉÀ»
À̶ó´Â ½ÄÀ¸·Î »ç¿ëÇÒ ¼öÀÖ´Ù.
\chapter[°£Ã߸° Á¦¸ñ]{¿ø·¡ÀÇ ±ä Á¦¸ñ}%º»¹®¿¡´Â ±ä Á¦¸ñÀÌ, ¸ñÂ÷¿¡´Â °£Ã߸° Á¦¸ñ, \chaptermark{ªÀº Á¦¸ñ} %Çì´õ¿¡´Â ªÀº Á¦¸ñÀÌ »ç¿ëµÈ´Ù.
±×·¯³ª, º¸Åë ÀåÀº »õ ÀåÀÌ ½ÃÀ۵Ǵ ÆäÀÌÁö Çì´õ¿¡ ±× Á¦¸ñÀÌ µé¾î°¡Áö ¾Ê±â¿¡ ÀÌ·± ½ÄÀ¸·Î ½±°Ô µÇÁö¸¸, ÀýÀº ±× ÀýÀÌ ½ÃÀ۵Ǵ ÆäÀÌÁö¿¡ ±× Á¦¸ñÀÌ µé¾î°¡¹Ç·Î ¾à°£ ´õ º¹ÀâÇÏ´Ù. Àý¸í·ÉÀº#! vim tex \section[°£Ã߸° Á¦¸ñ]{¿ø Á¦¸ñ% \sectionmark{ªÀº Á¦¸ñ}} % ÀÌ°ÍÀº »õ ÀýÀÌ ½ÃÀ۵Ǵ ÀåÀÇ Çì´õ¸¦ À§ÇÑ °ÍÀÓ \sectionmark{ªÀº Á¦¸ñ} %º¸Åë ÆäÀÌÁöÀÇ Çì´õ¸¦ À§ÇÑ °ÍÀÓ
¶õ ½ÄÀ¸·Î »ç¿ëµÇ¾ß ÇÑ´Ù. ÀÌ ¶§, °£ÃâÀÎ Á¦¸ñ°ú ¿ø·¡ÀÇ ±ä Á¦¸ñÀÌ °°´õ¶óµµ ¿É¼ÇÇüÀÎ\section[Á¦¸ñ]{Á¦¸ñ}
ÀÌ »ç¿ëµÇ¾ß ÇÏ´Â °Í¿¡ ÁÖÀÇÇÑ´Ù.
»ç¿ëÇϴ Ŭ·¡½º°¡ ÀåÀÌ ½ÃÀ۵Ǵ ÆäÀÌÁö¿¡µµ Çì´õ¸¦ ³Ö´Â´Ù¸é À§ÀÇ ½ÄÀ¸·Î Àå¸í·Éµµ »ç¿ë µÇ¾î¾ß ÇÑ´Ù.
ÁÖÀÇ: titlesec ÆÐÅ°Áö´Â Çì´õ¸¦ ¿ÏÀüÈ÷ ´Ù¸¥ ½ÄÀ¸·Î ´Ù·ç±â¿¡ ÀÌ ¹æ¹ýÀ» »ç¿ëÇÏÁö ¸»°í ±× ÆÐÅ°ÁöÀÇ ¼³¸í¼(documentation)¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù.
- ¹æ¹ý2) memoir Ŭ·¡½º´Â
\section[middling version][terse version]{verbose version}
¶ó´Â ½ÄÀÇ ¿É¼ÇÇüÀ» Àå°ú Àý ¸ðµÎ¸¦ À§ÇØ °®Ãß°í ÀÖ¾î »ç¿ëÀÚ°¡ ½±°Ô ÀÌ¿ëÇÒ ¼ö ÀÖ´Ù.
[ÆíÁý]
3.6 ¼ö½Ä, ±×¸², Ç¥, Âü°í »çÇ×, theorem µîÀÇ ¹øÈ£¸¦ ÀåÀ̳ª Àý¿¡ µû¶ó¼ ´Ù½Ã ½ÃÀÛÇÒ ¼ö ÀÖ³ª¿ä? ¶
book°ú report Ŭ·¡½º¿¡¼´Â ¼ö½Ä, ±×¸², Ç¥, Âü°í »çÇ×µîÀÇ ¹øÈ£°¡ Àå¿¡ µû¶ó ÀÌ·± ½ÄÀ¸·Î µÈ´Ù.ÀÌ´Â master¿Í slave counter¸¦ ÅëÇØ ÀúÀý·Î µÇ´Â °ÍÀ¸·Î master counter°¡ ´õÇØÁö¸é ±× ¹ØÀÇ ¸ðµç slave counterµéÀÇ °ªÀÌ ´Ù½Ã 0À¸·Î Á¤ÇØÁø´Ù.
¿¹¸¦ µé¾î, »ç¿ëÀÚ°¡ Á÷Á¢ programÀ̶õ ȯ°æÀ» Á¤ÀÇÇÒ ¶§, Àý¿¡ µû¶ó °¢ ÇÁ·Î±×·¥¿¡
¹øÈ£°¡ ºÙ±â¸¦ ¿øÇÑ´Ù¸é,
\newcounter{program}[section] % programÀÌ slaveÀÌ°í sectionÀÌ masterÀÌ´Ù.¶ó´Â ½ÄÀ¸·Î °ü·ÃµÈ Ä«¿îÅ͸¦ óÀ½¿¡ Á¤ÀÇÇÒ ¶§ ¾Æ¿¹ °ü°è¸¦ ÇÔ²² Á¤ÀÇÇÏ¸é µÈ´Ù.
±×·¯³ª ÆÐÅ°Áö³ª Ŭ·¡½º¿¡¼ ÀÌ·± ¼ö½Ä°ú ±×¸² °°Àº ¹°°Ç(object)µéÀÌ Á¤ÀǵǾî ÀÖÁö¸¸
±× ¹°°ÇµéÀÇ Ä«¿îÅÍ ¼º°ÝÀ» Àç Á¤ÀÇ ÇÒ ¼ö ÀÖ°Ô ÇÏ´Â programmer interface´Â ÇÔ²²
Á¦°øÇÏÁö ¾Ê´Â °æ¿ì¿¡´Â
- ¹æ¹ý1)
ÀÌ ¶§ amsmath ÆÐÅ°Áö¸¦ »ç¿ëÁßÀ̶ó¸é ¼ö½ÄÀº °£´ÜÈ÷
%-------------<preamble> \makeatletter \@addtoreset{equation}{section} \@addtoreset{figure}{section} \makeatother \renewcommand{\theequation}{\thesection.\arabic{equation}} \renewcommand{\thefigure}{\thesection.\arabic{figure}}
·Î ó¸® ÇÒ ¼ö ÀÖ´Ù.\renewcommand{\theequation}{\thesection.\arabic{equation}} \numberwithin{equation}{section}
¿¹: sec_eqn_fig_num_test.tex, sec_eqn_fig_num_test.pdf - ¹æ¹ý2) chngcntr ÆÐÅ°Áö »ç¿ë
ÀÌ ÆÐÅ°Áö´Â \counterwithinÀ» ÅëÇØ addtoreset ¸í·ÉÀ» »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÑ´Ù.
%-----------<preamble> \usepackage{chngcntr} %----------<º»¹®> \counterwithin*{equation}{section} %equation Ä«¿îÅ͸¦ section Ä«¿îÅÍÀÇ slave·Î ¸¸µç´Ù \counterwithin{figure}{section} %À§¿Í °°ÀÌ figure Ä«¿îÅ͸¦ section Ä«¿îÅÍÀÇ slave·Î ¸¸µé°í °Ô´Ù°¡ % \thefigure¸¦ <section ¹øÈ£>.<figure ¹øÈ£>ÀÇ ½ÄÀ¸·Î Àç Á¤ÀÇÇÑ´Ù.
[ÆíÁý]
3.7 report Ŭ·¡½º¿¡¼ Àå Ç¥Á¦ ¸ð¾çÀ» ¹Ù²Ù°í ½Í¾î¿ä. ¶
À§¿Í °°Àº ¼³Á¤Àº \@makechapterhead¸¦ ÀçÁ¤ÀÇÇÏ¸é µË´Ï´Ù. ´ÙÀ½ ¼³Á¤Àº HLaTeXÀÇ euc-kr.tex¿¡¼ ºô¾î¿Â Äڵ带 ¼öÁ¤ÇÑ °ÍÀÔ´Ï´Ù.
\makeatletter %% from euc-kr.tex (HLaTeX) \def\@makechapterhead#1{% % \vspace*{50\p@}% \vspace*{0pt}% {\parindent \z@ \raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \centering %%% <----------------- % \huge\bfseries \LARGE\bfseries \pre@chaptercnt\thechapter\post@chaptercnt % \par\nobreak % \vskip 20\p@ \fi % \interlinepenalty\@M % \Huge \bfseries #1\par\nobreak \quad #1% \vskip 40\p@ }} \makeatother
memoir¿Í °°Àº Ŭ·¡½º¸¦ »ç¿ëÇÑ´Ù¸é À§¿Í °°Àº renewcommand ¹æ½ÄÀÌ ¾Æ´Ï¶ó Àå Ç¥Á¦¸¦ Á¦¾îÇÏ´Â ¸ÅÅ©·Î¿¡ ÀÇÇÏ¿© º¸´Ù ½±°í ¾ÈÀüÇÏ°Ô ¿øÇÏ´Â ¸ð¾çÀ» ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù.
[ÆíÁý]
4 ±×¹ÛÀÇ »çÇ×µé ¶
DeleteMe À½... Á¢¼ÓÁ¶°ÇÀÌ ½â ÁÁÀ¸½Å ÆíÀº ¾Æ´Ñ µíµµ Çѵ¥, ÁÁÀº ÆäÀÌÁö ¸¸µé¾îÁּż °¨»çÇÕ´Ï´Ù. --Karnes
¾Æ ¿¹... È£ÁÖ´Â ¾ÆÁ÷ ADSLÁ¢¼Ó °¡°ÝÀÌ ½Ø, Àü °è¼Ó 56K ¸ðµ©À¸·Î... Á¦ netconfig°ú emacs Å×½ºÆ®ÇÒ °âÇؼ ±âº»ÀûÀÎ°Í Àΰ͸¸ ´ëÃæ ¸ð¾Æ º¸¾Ò½À´Ï´Ù. notebook °íÄ¡´Â µ¿¾È ¿¾³¯¿¡ ¾²´ø Redhat6.1À¸·Î µ¹¿Ô´õ´Ï ¿Ö À̸® ¾ÈµÇ´Â °Íµµ ¸¹°í ¾÷µ¥ÀÌÆ® ÇÒ °Íµµ ¸¹ÀºÁö ¸ÅÀÏ ÄÄÇ»ÅͶû ½Å°æÀü¸¸ ¹úÀÌ´Ù ÁöÃÄ ¿äÁòÀº Nintendo°ÔÀÓ¿¡ ¿ÁßÇÏ°íÀÖ´ä´Ï´Ù
µÎ¹ø° ºÎºÐÀº ¾Æ¹«·¹µµ Q&A½ÄÀ¸·Î ²Ù¹Ì´Â °ÍÀÌ ³ªÀ»°Í °°¾Æ ÀÚ·áµé¸¸ ¿ì¼± ¸ðÀ¸°í ÀÖ½À´Ï´Ù. --HJhan
¾Ñ½Î~ ¾îÁ¦ºÎÅÍ makeatletter°¡ µµ´ëü ¹¹Áö ¶ó°í °í¹ÎÇÏ°í ÀÖ¾ú´Âµ¥ ¾Æħ¿¡ º¸´Ï ÆäÀÌÁö°¡ ¶±ÇÏ´Ï »ý°å³×¿ä. ±×·¡¼ ¾îÁ¦ º¸´ø ¸î¸î °ü·Ã±Û¿¡ ´ëÇÑ ¸µÅ©¸¦ ´Þ¾Æ º¾´Ï´Ù. ¹°·Ð ´Ù ¾Ë°í °è½Å °Å¶ó »ý°¢µÇÁö¸¸ Á¤¸®ÇϽôµ¥ µµ¿òÀÌ Á» µÇ½Ã¶ó°í 표지만들기µµ Çϳª ¸¸µé¾î¾ß ÇÒ±î¿ä? ¾Ñ½Î~!--hermian
''°¨»çÇÕ´Ï´Ù. \makeatletter ¿Í \makeatother¿¡ ´ëÇؼ´Â ãÀ¸¼Ì´ÂÁö¿ä.Á¦ »ý°¢¿¡´Â ¾ÆÁÖ Ã³À½ºÎÅÍ ´Ù½Ã ¸í·É¾î¸¦ Á¤ÀÇ ÇÏ´Â °Í º¸´Ù, ¿©·¯ ÆÐÅ°ÁöµéÀ» »ç¿ëÇÏ´Â ¹æ¹ýÀ» °Á¶ÇÏ´Â °ÍÀÌ ¾î¶³±î Çß½À´Ï´Ù.Ãʺ¸Àڵ鿡°Ô³ª º¸Åë »óȲ¿¡¼ ±×¸®ÇÏ´Â °ÍÀÌ ´õ ±ò²ûÇÒ°Í°°¾Æ¼¿ä...Âü°íÇÏ°Ú½À´Ï´Ù.'' --HJhan
Contributors : HJhan