Go to the first, previous, next, last section, table of contents.


Chapter Structuring

chapter structuring ¸í·ÉÀº ÇÑ°³ÀÇ ¹®¼­¸¦ chapter, section, subsection, ±×¸®°í subsubsectionµéÀÇ °èÃþÀ¸·Î ³ª´«´Ù. ÀÌ ¸í·ÉµéÀº Å« headingÀ» ¸¸µé¾î ³½´Ù; ¶Ç ÀμâµÈ ¸Å´º¾óÀÇ ¸ñÂ÷¿¡ ´ëÇÑ Á¤º¸¸¦ Á¦°øÇÑ´Ù (see section Generating a Table of Contents).

chapter structuring ¸í·ÉÀº Info node ±¸Á¶¸¦ ¸¸µéÁö ¾Ê´Â´Ù. ±×·¡¼­ º¸Åë °¢ chapter structuring ¸í·É ¹Ù·Î ¾Õ¿¡ @node ¸í·ÉÀ» ½á¾ß ÇÑ´Ù (see section Nodes). node structuring ¸í·É ¾øÀÌ chapter structuring ¸í·ÉÀ» ¾µ ¶§´Â Info Çü½ÄÀ¸·Î º¯È¯µÇÁö ¾Ê°í, »óÈ£ ÂüÁ¶°¡ ¾ø´Â ¹®¼­¸¦ ÀÛ¼ºÇÒ¶§ »ÓÀÌ´Ù.

ÀμâµÈ ¹®¼­°¡ ¾Æ´Ï¶ó Info È­Àϸ¸ ÀǵµÇÑ Texinfo È­ÀÏÀ» ÀÛ¼ºÇÒÀÏÀº °ÅÀÇ ÀϾÁö ¾Ê´Â´Ù. ¸¸¾à ±×·¸°Ô ÇÑ´Ù°í Çصµ, °¢ nodeÀÇ ¾Õ¿¡ headingÀ» ¸¸µé±â À§ÇØ chapter structuring ¸í·ÉÀ» ¾µ ¼ö ÀÖ´Ù---ÇÏÁö¸¸, ±×·² ÇÊ¿ä´Â ¾ø´Ù.

Tree Structure of Sections

ÇÑ°³ÀÇ Texinfo ÆÄÀÏÀº º¸Åë chapter, section, subsection°ú °°Àº °ÍÀ¸·Î ±¸¼ºµÈ Ã¥°ú °°ÀÌ ±¸Á¶°¡ Â¥¿©Áø´Ù. ÀÌ ±¸Á¶´Â ¸ÇÀ§¿¡ root°¡ ÀÖ°í, chapter, section, subsection, ±×¸®°í subsubsection¿¡ ÇØ´çÇÏ´Â level·Î µÈ tree·Î (ȤÀº µÚÁý¾îÁø tree·Î) visualizeÇÒ ¼ö ÀÖ´Ù.

¿©±â °¢°¢ µÎ°³¾¿ÀÇ sectionÀÌ ÀÖ´Â ¼¼°³ÀÇ chapter·Î ±¸¼ºµÈ Texinfo ÆÄÀÏÀ» º¸¿©ÁÖ´Â diagramÀÌ ÀÖ´Ù.

                          Top
                           |
         -------------------------------------
        |                  |                  |
     Chapter 1          Chapter 2          Chapter 3
        |                  |                  |
     --------           --------           --------
    |        |         |        |         |        |
 Section  Section   Section  Section   Section  Section
   1.1      1.2       2.1      2.2       3.1      3.2

ÀÌ·¯ÇÑ ±¸Á¶¸¦ °®´Â Texinfo ÆÄÀÏ¿¡¼­, Chapter 2ÀÇ ½ÃÀۺκÐÀº ´ÙÀ½°ú °°´Ù;

@node    Chapter 2,  Chapter 3, Chapter 1, top
@chapter Chapter 2

chapter ±¸Á¶ ¸í·ÉÀº ´ÙÀ½ section¿¡¼­ ¼³¸íÇÑ´Ù; @node¿Í @menu ¸í·ÉÀº ´ÙÀ½ chapter¿¡¼­ ¼³¸íÇÑ´Ù. (See section Nodes, and see section Menus.)

Types of Structuring Command

chapter ±¸Á¶ ¸í·ÉÀº 4°³ÀÇ ±×·ì ȤÀº ½Ã¸®Áî·Î ºÐ·ùµÇ°í, °¢°¢Àº chapter, section, subsection, ±×¸®°í subsubsectionÀÇ °èÃþÀû ´Ü°è¿¡ ÇØ´çÇÏ´Â ±¸Á¶ ¸í·ÉÀÌ ÀÖ´Ù.

ÀÌ ³×°³ÀÇ ±×·ìÀº @chapter ½Ã¸®Áî, @unnumbered ½Ã¸®Áî, @appendix ½Ã¸®Áî, ±×¸®°í @heading ½Ã¸®ÁîÀÌ´Ù.

°¢ ¸í·ÉÀº ÀμâµÈ ÆäÀÌÁö ȤÀº Info ÆÄÀÏ¿¡¼­ ´Ù¸¥ ¸ð¾çÀÇ Á¦¸ñÀ» ¸¸µç´Ù; ÀÌÁß ¸î°³ÀÇ ¸í·É¸¸ÀÌ ÀμâµÈ Ã¥ ȤÀº ¸Å´º¾óÀÇ ¸ñÂ÷¿¡ ¿­°ÅµÈ´Ù.

¿©±â chapter ±¸Á¶ ¸í·ÉÀÇ ³×°³ ±×·ìÀÌ ÀÖ´Ù:

@top

@top ¸í·ÉÀº Texinfo ÆÄÀÏÀÇ Ã³À½¿¡ @node Top ´ÙÀ½¿¡¸¸ »ç¿ëÇϴ Ưº° sectioning ¸í·ÉÀÌ´Ù. @top ¸í·ÉÀº makeinfo¿¡°Ô ¾î¶² node°¡ `Top' nodeÀÎÁö ¾Ë·ÁÁØ´Ù. @top ¸í·ÉÀº @unnumbered¿Í °°Àº È¿°ú°¡ ÀÖ´Ù (see section @unnumbered, @appendix). ÀÚ¼¼ÇÑ Á¤º¸´Â section The @top Sectioning Command.

@chapter

@chapter´Â ¹®¼­ÀÇ chapter¸¦ ¾Ë·ÁÁØ´Ù. ÀÌ ¸í·ÉÀº ÁÙÀÌ ½ÃÀÛÇÒ ¶§ ¾²°í, °°Àº ÁÙ¿¡ ±× chapterÀÇ Á¦¸ñÀ» ¾´´Ù.

¿¹¸¦ µé¾î, ÀÌ ¸Å´º¾óÀÇ ÀÌ chapterÀÇ Á¦¸ñÀº "Chapter Structuring"ÀÌ´Ù; @chapter ÁÙÀº ´ÙÀ½°ú °°´Ù:

@chapter Chapter Structuring

TeX¿¡¼­, @chapter ¸í·ÉÀº ¹®¼­¿¡ chapter¸¦ ¸¸µé°í, chapterÀÇ Á¦¸ñÀ» ÁöÁ¤ÇÑ´Ù. chapter´Â ÀÚµ¿À¸·Î ¹øÈ£°¡ ºÙ¿©Áø´Ù.

Info¿¡¼­, @chapter ¸í·ÉÀº Á¦¸ñÀÌ ÇÑÁÙ¿¡ ³ª¿À°í, ±× ¹Ø¿¡ asterisk·Î µÈ ¹ØÁÙÀÌ ±×¾îÁö°Ô ÇÑ´Ù. Áï, Info¿¡¼­, À§ÀÇ ¿¹´Â ´ÙÀ½°ú °°Àº Ãâ·ÂÀ» ³½´Ù:

Chapter Structuring
*******************

¶Ç Texinfo´Â @centerchap ¸í·ÉÀ» Á¦°øÇÑ´Ù. ÀÌ ¸í·ÉÀº @unnumbered¿Í ºñ½ÁÇÏÁö¸¸, ±× argument¸¦ Àμ⹰¿¡¼­ Áß¾Ó¿¡ ³õ´Â´Ù. ÀÌ·¯ÇÑ ·ùÀÇ ½ºÅ¸ÀÏ°ú °ü·ÃµÈ ¼±ÅÃÀº º¸Åë Texinfo¿¡¼­ Á¦°øÇÏÁö ¾Ê´Â´Ù.

@unnumbered, @appendix

¾î¶² Á¾·ùÀÇ chapter ¹øÈ£ ¾øÀÌ Àμ⹰¿¡¼­ chapter¸¦ ¸¸µå·Á¸é @unnumbered ¸í·ÉÀ» »ç¿ëÇÑ´Ù. @appendix ¸í·ÉÀº ¼ýÀÚ ´ë½Å¿¡ ¾ËÆĺªÀÌ ºÙ´Â appendix¸¦ ÀμâµÈ ¸Å´º¾ó¿¡¼­ ¸¸µé¶§ ¾´´Ù.

Info ÆÄÀÏ Ãâ·Â¿¡¼­, @unnumbered¿Í @appendix ¸í·ÉÀº @chapter¿Í µ¿ÀÏÇÏ´Ù: Á¦¸ñÀº ÇÑ ÁÙ¿¡ ³ªÅ¸³ª°í, asterisk·Î µÈ ¹ØÁÙÀÌ ±×¾îÁø´Ù. (See section @chapter.)

ºÎ·ÏÀ̳ª, ¹øÈ£ ¾ø´Â chapter¸¦ ¸¸µå·Á¸é, chapter¸¦ ¸¸µé ¶§¿Í ¸¶Âù°¡Áö·Î @appendix ȤÀº @unnumbered ¸í·ÉÀº ÁÙÀÌ ½ÃÀÛÇÒ ¶§ ¾²°í, °°Àº ÁÙ¿¡ Á¦¸ñÀ» ¾´´Ù.

@majorheading, @chapheading

@majorhaeding°ú @chapheading ¸í·ÉÀº chapter¿Í °°Àº headingÀ» ¹®¼­ÀÇ body¿¡ Áý¾î ³Ö´Â´Ù.

ÇÏÁö¸¸, ¾î´À ¸í·Éµµ TeXÀÌ ¹øÈ£°¡ ºÙ¿©Áø headingÀ̳ª ¸ñÂ÷¿¡ Ç׸ñÀ» ¸¸µé°Ô ÇÏÁö ¾Ê´Â´Ù: ±×¸®°í ¾î´À ¸í·Éµµ TeXÀÌ ÀμâµÈ ¸Å´º¾ó¿¡¼­ »õ·Î¿î ÆäÀÌÁö¸¦ ½ÃÀÛÇÏ°Ô ÇÏÁö ¾Ê´Â´Ù.

TeX¿¡¼­, @majorheading ¸í·ÉÀº @chapheading ¸í·Éº¸´Ù heading ¾Õ¿¡ ´õ Å« ¼öÁ÷ °ø¹éÀ» ³Ö´Â °Í¿Ü¿¡´Â °°´Ù.

Info¿¡¼­, @majorheading°ú @chapheading ¸í·ÉÀº @chapter¿Í µ¿ÀÏÇÏ´Ù: Á¦¸ñÀº ÇÑÁÙ¿¡ ³ªÅ¸³ª°í, asterisk·Î µÈ ¹ØÁÙÀÌ ±×¾îÁø´Ù. (See section @chapter.)

@section

ÀμâµÈ ¸Å´º¾ó¿¡¼­, @section ¸í·ÉÀº chapter ³»ÀÇ ¼ýÀÚ°¡ ºÙ¿©Áø sectionÀ» Ç¥½ÃÇÑ´Ù. section Á¦¸ñÀº ¸ñÂ÷¿¡ ³ªÅ¸³­´Ù. Info¿¡¼­, @section ¸í·ÉÀº ¹®¼­ÀÇ ÇÑ ºÎºÐ¿¡ ´ëÇÑ Á¦¸ñÀ» `='·Î ¹ØÁÙ ±×¾îÁø ä Ç¥½ÃÇØ ÁØ´Ù.

ÀÌ sectionÀº @section ¸í·ÉÀÌ ¾Õ¿¡ ºÙ¾î ÀÖ°í, Texinfo ÆÄÀÏ¿¡¼­ ´ÙÀ½°ú °°ÀÌ ¾²¿© ÀÖ´Ù:

@section @code{@@section}

sectionÀ» ¸¸µå·Á¸é, @section ¸í·ÉÀ» ÁÙÀÌ ½ÃÀÛÇÒ ¶§ ¾²°í, °°Àº ÁÙ¿¡ sectionÀÇ Á¦¸ñÀ» ¾´´Ù.

Áï,

@section This is a section

Àº Info¿¡¼­

This is a section
=================

¿Í °°ÀÌ ¸¸µé¾î ÁØ´Ù.

@unnumberedsec, @appendixsec, @heading

@unnumberedsec, @appendixsec, ±×¸®°í @heading ¸í·ÉÀº °¢°¢ ¹øÈ£°¡ ¾ø´Â, ºÎ·Ï°ú °°Àº, ±×¸®°í heading°ú °°Àº µ¿ÀÏÇÑ @section ¸í·ÉÀÌ´Ù. (See section @section.)

@unnumberedsec
@unnumberedsec ¸í·ÉÀº ¹øÈ£°¡ ¾ø´Â chapter ³»ºÎ ȤÀº ÀϹÝÀûÀÎ chapter ȤÀº ºÎ·Ï¿¡¼­ ¹øÈ£¾ø´Â sectionÀ» ¸¸µç´Ù.
@appendixsec
@appendixsection
@appendixsectionÀº @appendixsec ¸í·ÉÀ» ´õ ±æ°Ô ¾´ °ÍÀÌ´Ù: µÎ ¸í·ÉÀº µ¿ÀǾîÀÌ´Ù. ÀüÅëÀûÀ¸·Î, @appendixsec ȤÀº @appendixsection ¸í·ÉÀº ºÎ·Ï ³»¿¡¼­¸¸ ¾²ÀδÙ.
@heading
@heading ¸í·ÉÀº ¾îµð¼­µç ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö ¾Ê´Â section°ú °°Àº headingÀ» ¸¸µé°í ½ÍÀ» ¶§ ¾µ ¼ö ÀÖ´Ù.

The @subsection Command

subsection°ú sectionÀÇ °ü°è´Â section°ú chapterÀÇ °ü°è¿Í °°´Ù. (See section @section.) Info¿¡¼­, subsectionÀÇ Á¦¸ñÀº `-'·Î ¹ØÁÙÀÌ ±×¾îÁ® ÀÖ´Ù. ¿¹¸¦ µé¾î,

@subsection This is a subsection

Àº Info¿¡¼­

This is a subsection
--------------------

°ú °°ÀÌ Ç¥½ÃµÈ´Ù.

ÀμâµÈ ¸Å´º¾ó¿¡¼­, subsectionÀº ¸ñÂ÷¿¡¼­ ¼¼´Ü°è ´õ ±íÀº ´Ü°è·Î ¹øÈ£°¡ ºÙ¿©Á® ¿­°ÅµÈ´Ù.

The @subsection-like Commands

@unnumberedsubsec, @appendixsubsec, ±×¸®°í @subheading ¸í·ÉÀº °¢°¢ ¹øÈ£¾ø´Â, ºÎ·Ï°ú °°Àº, heading°ú °°Àº °Í¿¡ ÇØ´çµÇ´Â @subsection ¸í·ÉÀÌ´Ù. (See section The @subsection Command.)

Info¿¡¼­, @subsection°ú °°Àº ¸í·ÉÀº hyphenÀ¸·Î ¹ØÁÙ ±×¾îÁø Á¦¸ñÀ» ¸¸µç´Ù. ÀμâµÈ ¸Å´º¾ó¿¡¼­, @subheading ¸í·ÉÀº ¹øÈ£°¡ ¾ø°í, ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö ¾Ê´Â °ÍÀ» Á¦¿ÜÇÏ°í subsection°ú °°Àº headingÀ» ¸¸µç´Ù. ºñ½ÁÇÏ°Ô, @unnumberedsubsec ¸í·ÉÀº subsection°ú °°Àº headingÀ» ¸¸µé°í, @appendixsubsec ¸í·ÉÀº subsection°ú °°Àº headingÀ» ¾ËÆĺª°ú ¼ýÀڷΠǥ½ÃµÈ ä ¸¸µç´Ù; ÀÌ µÎ ¸í·É ¸ðµÎ ¸ñÂ÷¿¡ ³ªÅ¸³ª´Â headingÀ» ¸¸µç´Ù.

The `subsub' Commands

Texinfo¿¡¼­ ³×¹ø°ÀÌ°í, °¡Àå ³·Àº ´Ü°èÀÇ sectioning ¸í·ÉÀº `subsub' ¸í·ÉµéÀÌ´Ù. ±×°ÍÀº:

@subsubsection
Subsubsection°ú subsectionÀÇ °ü°è´Â subsection°ú sectionÀÇ °ü°è¿Í °°´Ù. (See section The @subsection Command.) ÀμâµÈ ¸Å´º¾ó¿¡¼­, subsubsection Á¦¸ñÀº ¸ñÂ÷¿¡ ³ªÅ¸³ª°í, ³×¹ø° ´Ü°è·Î ±íÀº ´Ü°è·Î ¸ñÂ÷¿¡¼­ ¹øÈ£°¡ ºÙ¿©Áø´Ù.
@unnumberedsubsubsec
¹øÈ£ ¾ø´Â subsubsection Á¦¸ñÀº ÀμâµÈ ¸Å´º¾ó¿¡¼­ ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö¸¸, ¹øÈ£°¡ ¾ø´Ù. ÇÑÆí, ¹øÈ£ ¾ø´Â subsubsectionÀº subsubsection°ú °°´Ù. Info¿¡¼­, ¹øÈ£ ¾ø´Â subsubsectionÀº º¸Åë subsubsection°ú ¿ÏÀüÈ÷ ¶È°°ÀÌ º¸ÀδÙ.
@appendixsubsubsec
ÀüÅëÀûÀ¸·Î, appendix ¸í·ÉÀº ºÎ·Ï¿¡¸¸ ¾²ÀÌ°í, ÀμâµÈ ¸Å´º¾ó¿¡¼­ ¾ËÆĺª°ú ¹øÈ£°¡ ÀûÀýÈ÷ ºÙ¿©Áø´Ù. ¶Ç ¸ñÂ÷¿¡µµ ³ªÅ¸³­´Ù. Info¿¡¼­, appendix subsubsectionÀº º¸Åë subsubsection°ú ¿ÏÀüÈ÷ ¶È°°ÀÌ º¸ÀδÙ.
@subsubheading
@subsubheading ¸í·ÉÀº ¸ñÂ÷¿¡ ³ªÅ¸³ªÁö ¾ÊÀ» ÀÛÀº headingÀ» ¸¸µé°í ½ÍÀ» ¶§ ¾îµð¼­µç ¾µ ¼ö ÀÖ´Ù. Info¿¡¼­, subsubheadingÀº º¸Åë subsubsection heading°ú ¿ÏÀüÈ÷ ¶È°°ÀÌ º¸ÀδÙ.

Info¿¡¼­, `subsub' Á¦¸ñÀº Á¡À¸·Î ¹ØÁÙÀÌ ±×¾îÁø´Ù. ¿¹¸¦ µé¾î,

@subsubsection This is a subsubsection

˼

This is a subsubsection
.......................

À» ¸¸µç´Ù.

@raisesections and @lowersections

@raisesections¿Í @lowersections ¸í·ÉÀº chapter, section, subsection, µîÀÇ °èÃþÀûÀÎ ´Ü°è¸¦ ¿Ã¸®°Å³ª ³»¸°´Ù. @raisesections ¸í·ÉÀº sectionÀ» chapter·Î ¹Ù²Ù°í, subsectionÀ» sectionÀ¸·Î ¹Ù²Ù°í, ´Ù¸¥ °Íµéµµ ¸¶Âù°¡Áö·Î ¹Ù²Û´Ù. @lowersections ¸í·ÉÀº chapter¸¦ sectionÀ¸·Î ¹Ù²Ù°í, sectionÀ» subsectionÀ¸·Î ¹Ù²Ù°í, ´Ù¸¥ °Íµéµµ ¸¶Âù°¡Áö·Î ¹Ù²Û´Ù.

@lowersection ¸í·ÉÀº ¶Ç´Ù¸¥ ¿ÜºÎ ȤÀº µ¶¸³µÈ ÆÄÀÏ·Î ¾²¿©Áø Texinfo ÆÄÀÏÀ» ³»ºÎ¿¡ Æ÷ÇÔÇÏ°í ½ÍÀ» ¶§ À¯¿ëÇÏ´Ù. ÆÄÀÏÀÌ ½ÃÀÛÇÒ ¶§ ÀÌ ¸í·ÉÀ» ¾²¸é, ¸ðµç @chapter ¸í·ÉÀº @section ¸í·ÉÀ» ¾´ °Í°ú °°ÀÌ formatµÇ°í, ¸ðµç @section ¸í·ÉÀº @subsection ¸í·ÉÀ» ¾´ °Íó·³ formatµÇ°í, ¸¶Âù°¡Áö·Î ´Ù¸¥ °Íµéµµ ÀÌ·¸°Ô formatµÈ´Ù.

@raisesections´Â chapter °èÃþ ±¸Á¶¿¡¼­ ÇÑ ´Ü°è¾¿ ²ø¾î¿Ã¸°´Ù.

  Change           To

@subsection     @section,
@section        @chapter,
@heading        @chapheading,
          etc.

@lowersections´Â chapter °èÃþ±¸Á¶¿¡¼­ ÇÑ ´Ü°è¾¿ ²ø¾î³»¸°´Ù.

  Change           To

@chapter        @section,
@subsection     @subsubsection,
@heading        @subheading,
          etc.

@raisesections ȤÀº @lowersections ¸í·ÉÀº Texinfo ÆÄÀÏÀÇ ¸í·ÉÀ» µû¸£´Â structuring ¸í·É¸¸À» ¹Ù²Ü »ÓÀÌ´Ù. @raisesections ȤÀº @lowersections ¸í·ÉÀº ÇÑÁÙ¿¡ ´Üµ¶À¸·Î ¾´´Ù.

@lowersections ¸í·ÉÀº @raisesections ¸í·ÉÀÇ È¿°ú¸¦ Ãë¼ÒÇÏ°í, ±× ¹Ý´ëµµ ¸¶Âù°¡ÁöÀÌ´Ù.

°èÃþÀûÀÎ ´Ü°è¸¦ ÇÑ´Ü°è½Ä ³ôÀ̰ųª ³»¸®´Â ¸í·ÉÀ» °è¼Ó»ç¿ëÇϸé, ¾î´ÀÁ¤µµ ½Ã°£ÀÌ °É¸°´Ù.

chapterÀ§¿¡¼­ ´Ü°è¸¦ ¿Ã¸®·Á°í Çϸé, chapter ¸í·ÉÀ» ´Ù½Ã ¸¸µç´Ù; `subsubsection' ¾Æ·¡¿¡¼­ ´Ü°è¸¦ ³»¸®·Á°í Çϸé subsubsection ¸í·ÉÀ» ´Ù½Ã ¸¸µç´Ù.


Go to the first, previous, next, last section, table of contents.