KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
With clothes the new are best, with friends the old are best.
FrontPage › ¶°´Ù´Ï´Â°³Ã¼
Floating Objects. Floats.
<!> ºÎµ¿Ã¼(Ý©ÔÑô÷)¶ó ¹ø¿ªÇϱ⵵ ÇÑ´Ù. ¶°´Ù´Ï´Â °³Ã¼´Â lshort-kr¿¡¼­ »ç¿ëµÈ ¿ª¾îÀÌ´Ù.

¸ñÂ÷

1 ¶°´Ù´Ï´Â °³Ã¼¶õ?
1.1 ¶°´Ù´Ï´Â °³Ã¼¿¡ ´ëÇÑ ¸î °¡Áö ±âº» Áö½Ä
1.2 »ç¿ë¹æ¹ý
1.3 ¶°´Ù´Ï´Â °³Ã¼ÀÇ Ä¸¼Ç
1.4 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤ÀÚ
2 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ ¸í·É
3 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ º¯¼ö(parameters)
4 ¶°´Ù´Ï´Â °³Ã¼ ³»ÀÇ °¢ÁÖ
5 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤Çϱâ(2)
5.1 flafter, placeins
5.2 afterpage
6 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ LaTeX ÆÐÅ°Áö
7 Q & A

1 ¶°´Ù´Ï´Â °³Ã¼¶õ?

¶°´Ù´Ï´Â °³Ã¼´Â º»¹®ÀÇ È帧À» ¹æÇØÇÏÁö ¾ÊÀ¸¸é¼­ Ç¥(Table)¿Í ±×¸²(Figure)À» ¹èÄ¡Çϱâ À§ÇÑ Á¶ÆÇ »óÀÇ µµ±¸ÀÌ´Ù. Ç¥¿¡ ´ëÇؼ­´Â Tableȯ°æÀ», ±×¸²¿¡ ´ëÇؼ­´Â Figureȯ°æÀ», ±×¸®°í ³­¿ÜÁÖ¿¡ ´ëÇؼ­´Â MarginalNote¸¦ º¸¶ó.

1.1 ¶°´Ù´Ï´Â °³Ã¼¿¡ ´ëÇÑ ¸î °¡Áö ±âº» Áö½Ä

  1. ¶°´Ù´Ï´Â °³Ã¼´Â ±×¸²À̳ª Ç¥°¡ ³õÀÏ À§Ä¡¸¦ LaTeX¿¡°Ô ¸Ã±â´Â °ÍÀÌ´Ù. ±×·¯¹Ç·Î ÀÚ½ÅÀÌ ¿¹»óÇÏ´ø À§Ä¡¿¡ ±×¸²À̳ª Ç¥°¡ ³õÀÌÁö ¾ÊÀ» ¼ö ÀÖ´Ù.
  2. ¶°´Ù´Ï´Â °³Ã¼¿Í °ü·ÃµÈ ¸¹Àº ÆĶó¹ÌÅ͸¦ Á¶ÀýÇÏ¸é ±×¸²À̳ª Ç¥°¡ ³õÀÌ´Â À§Ä¡¸¦ ÀÚ½ÅÀÇ Àǵµ¿¡ ¸Â°Ô °³¼±ÇÒ ¼ö ÀÖÁö¸¸, óÀ½»ç¿ëÀÚ¿¡°Ô ÀÌ ¸¹Àº ÆĶó¹ÌÅ͸¦ ¸ðµÎ ÀÌÇØÇÏ°í ÃÖÀû°ªÀ» ¼±ÅÃÇÏ´Â °ÍÀº °ÅÀÇ ºÒ°¡´ÉÇÑ ÀÏÀÌ´Ù. ±×·¯¹Ç·Î,
  3. ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ¼±Á¤ÀÌ ¸¶À½¿¡ µéÁö ¾Ê°í ¾î¶»°Ô Çؼ­µç ±×¸²À̳ª Ç¥ÀÇ À§Ä¡¸¦ ÀÚ½ÅÀÌ Á¦¾îÇÏ°í ½Í´Ù¸é, ¶°´Ù´Ï´Â °³Ã¼¸¦ ¾²Áö ¾Ê¾Æ¾ß ÇÑ´Ù.
  4. figure¿Í tableÀº ĸ¼ÇÀÇ À̸§À» Figure ¶Ç´Â Table·Î Àû¾îÁÖ°í list of figures¿Í list of tables ¾î´À ÂÊ ¸ñ·Ï¿¡ ¿­°ÅÇÒ °ÍÀΰ¡¸¸ °áÁ¤ÇØÁÖ¸ç ³»ºÎÀûÀ¸·Î´Â °ÅÀÇ µ¿ÀÏÇÏ´Ù. Áï, figureµç tableÀÌµç ±×¸²À̳ª Ç¥(tabular)³ª ¾î¶² °ÍÀÌµç ¿Íµµ µÈ´Ù.
  5. 2´Ü ÆíÁý ½Ã¿¡´Â ¿©·¯ °¡Áö Á¦¾àÀÌ µû¸¥´Ù. ¿¹¸¦ µé¸é ÆäÀÌÁöÀÇ ÇÏ´Ü(b)¿¡ ±×¸²À» ³õÀ» ¼ö ¾ø´Ù. (ÀÌ°ÍÀ» °¡´ÉÇÏ°Ô ÇØÁÖ´Â ÆÐÅ°Áöµµ ¹°·Ð ÀÖ´Ù.)

1.2 »ç¿ë¹æ¹ý

¶°´Ù´Ï´Â °³Ã¼¸¦ ¾²´Â ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.
 \begin{table}[À§Ä¡ÁöÁ¤ÀÚ]  % ¶Ç´Â figure
 %.....¿©±â¿¡ ³»¿ëÀÌ ¿Â´Ù....
 \caption{ĸ¼Ç}\label{·¹À̺í}
 \end{table}

<!> 2´Ü ÆíÁý(´Ù´ÜÆíÁý)¿¡¼­ µÎ ´Ü¿¡ ¸ðµÎ °ÉÄ¡´Â Å« ±×¸²À̳ª Ç¥(½ÉÁö¾î ±ä ¼ö½ÄÀ» floating object·Î ¸¸µé¾î)¸¦ ³ÖÀ¸·Á¸é figure*, table* µî º°Ç¥ºÙÀº ȯ°æÀ» ¾²¸é µÈ´Ù. ¿¹¸¦ µé¾î
 \begin{table*}[!t]
 ...
 \end{table*}
·Î ¾²¸é µÈ´Ù. See KTUGOperate:17023

1.3 ¶°´Ù´Ï´Â °³Ã¼ÀÇ Ä¸¼Ç

1.4 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤ÀÚ


À§Ä¡ÁöÁ¤ÀÚ °³Ã¼ÀÇ À§Ä¡
h here.
t top. ÆäÀÌÁöÀÇ À­ºÎºÐ.
b bottom. ÆäÀÌÁöÀÇ ¾Æ·¡ºÎºÐ.
p page. ±×¸²°ú Ç¥·Î¸¸ ÀÌ·ç¾îÁø Ưº°ÇÑ ÆäÀÌÁö
! float À§Ä¡°ü·Ã ³»ºÎº¯¼ö °ªÀ» ¸ðµÎ ¹«½ÃÇÏ°Ô ÇÔ

  • <!> ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡´Â LaTeXÀÌ ½º½º·Î °áÁ¤Çϵµ·Ï ÇÏ´Â °ÍÀÌ °¡Àå ¹Ù¶÷Á÷ÇÏ´Ù.
  • <!> [h] À§Ä¡ÁöÁ¤ÀÚ´Â ÀÌ Çϳª¸¸ ¾²ÀÌÁö ¾Ê´Â´Ù. LaTeX¿¡¼­ À§Ä¡ÁöÁ¤ÀÚÀÇ ±âº»°ªÀº tbpÀÌ°í, [h]¸¸ ¾²´õ¶óµµ htbpÀÎ °Í°ú µ¿ÀÏÇÏ°Ô µ¿ÀÛÇÑ´Ù. ±×·¯¹Ç·Î, ¾î¶² ±×¸²À̳ª Ç¥¸¦ ±»ÀÌ Æ¯Á¤ À§Ä¡¿¡ ¹Ýµå½Ã À§Ä¡ÇÏ°Ô ÇÏ°í ½Í´Ù¸é, ±× ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾Ê¾Æ¾ß ÇÑ´Ù. ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾ÊÀ¸·Á¸é Figureȯ°æÀ̳ª Tableȯ°æ ¾È¿¡ ³ÖÀ¸¸é ¾È µÈ´Ù. \caption ¸í·ÉÀº ¿ÀÁ÷ floating ȯ°æ ¾È¿¡¼­¸¸ ÀÛµ¿ÇÏÁö¸¸, Ç÷ÎÆýÃÅ°Áö ¾ÊÀº °³Ã¼¿¡ ¸¶Ä¡ ĸ¼ÇÀÌ ÀÖ´Â °Íó·³ ĸ¼ÇÀ» ºÙÀÌ´Â ¹æ¹ýÀÌ ÀÖ´Ù. [http]GFAQ no. 50À» Âü°íÇ϶ó.

2 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ ¸í·É


  1. \clearpage ¹× \cleardoublepage

  2. \suppressfloats
    ÇöÀç ÆäÀÌÁö¿¡´Â Ç÷ÎÆ®°¡ À§Ä¡ÇÏÁö ¸øÇϵµ·Ï ÇÑ´Ù.

3 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ º¯¼ö(parameters)


  1. topnumber, bottomnumber, totalnumber (counter)

  2. \topfraction, \bottomfraction ¶Ç´Â \dbltopfraction

  3. \textfraction

  4. dbltopnumber (counter)

  5. \floatpagefraction ¶Ç´Â \dblfloatpagefraction
    Àüü ÆäÀÌÁöÀÇ ¾î´À Á¤µµÀÇ ºñÀ²ÀÌ ³ÑÀ¸¸é floatpage¸¦ ¸¸µé °ÍÀΰ¡¸¦ °áÁ¤ÇÏ´Â º¯¼öÀÌ´Ù. Ç¥ÁØ Å¬·¡½º¿¡¼­´Â 0.5·Î ¼³Á¤µÇ¾î ÀÖ´Ù. ÀÌ °ªÀ» ¼³Á¤ÇÒ ¶§´Â \topfractionÀÇ °ªÀ» \floatpagefractionº¸´Ù Å©°Ô ÁÖ´Â °ÍÀÌ ¾ÈÀüÇÏ´Ù. ¿¹¸¦ µé¸é,
     \renewcommand\topfraction{.88}
     \renewcommand\floatpagefraction{.75}
    


  6. \floatsep, \textfloatsep, \intextsep, \dblfloatsep, \dbltextfloatsep
    \floatsep : ÆäÀÌÁö ¸Ó¸®¿¡¼­ top À§Ä¡ÀÇ float±îÁö ¼öÁ÷±æÀÌ Ãß°¡ºÐ \textfloatsep : float°¡ top/bottom¿¡ ¿Ã ¶§ ÅؽºÆ®±îÁöÀÇ ¼öÁ÷±æÀÌ Ãß°¡ºÐ \intextsep : float°¡ here¿¡ ¿Ã ¶§ ÅؽºÆ®¿ÍÀÇ ±æÀÌ Ãß°¡ºÐ

  7. \topfigrule, \botfigrule, \dblfigrule


4 ¶°´Ù´Ï´Â °³Ã¼ ³»ÀÇ °¢ÁÖ

5 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤Çϱâ(2)

5.1 flafter, placeins

flafter ÆÐÅ°Áö´Â ¶°´Ù´Ï´Â °³Ã¼°¡ ¼Ò½º »óÀÇ À§Ä¡º¸´Ù ¾ÕÂÊ(ÀÌÀü)¿¡ ³õÀÌÁö ¾Êµµ·Ï ÇØÁÝ´Ï´Ù.
\usepackage{flafter}
placeins ÆÐÅ°Áö´Â ¿¹ÄÁ´ë \section°ú °°Àº ÀåÀý¸í·É ¾ÕÂÊÀ̳ª ÆäÀÌÁö óÀ½¿¡ ¶°´Ù´Ï´Â °³Ã¼°¡ ³õÀÌÁö ¾Êµµ·Ï ¸·¾ÆÁÝ´Ï´Ù. section ¸í·ÉÀ» ±âÁØÀ¸·Î Ç×»ó ±× µÚÂÊ¿¡ ³õÀ̵µ·Ï ÇÏ·Á¸é,
\usepackage[section]{placeins}

5.2 afterpage

ÀÌ ¼ÒÀý¿¡¼­´Â afterpage¸¦ ÀÌ¿ëÇÑ ±â¹ýÀ» ¼Ò°³ÇÕ´Ï´Ù.
\usepackage{afterpage}
´ÙÀ½ ÄÚµå´Â, ÆäÀÌÁö°¡ ³ª´©¾îÁö´Â ½ÃÁ¡¿¡ \clearpage¸¦ ½ÇÇàÇÕ´Ï´Ù. \clearpageÀÇ µ¿ÀÛÀº ÇöÀç±îÁö Å¥¿¡ µé¾î ÀÖ´ø floatµéÀ» ¸ðµÎ flushÇÏ´Â °ÍÀÔ´Ï´Ù. µû¶ó¼­ ¹Ýµå½Ã ÀÌ ±×¸²ÀÌ ´ÙÀ½ ÆäÀÌÁö°¡ ½ÃÀ۵DZâ Àü¿¡ À§Ä¡ÇÏ°Ô ÇÏ°í ½ÍÀ» ¶§ ¾µ ¼ö ÀÖ½À´Ï´Ù.
\begin{figure}
....
\end{figure}
\afterpage{\clearpage}

ÁÖÀÇÇÒ °ÍÀº, ÀÌ ÆÐÅ°ÁöÀÇ µ¿ÀÛÀÌ ¿ÏÀüÈ÷ ¾ÈÁ¤ÀûÀÌÁö´Â ¾Ê´Ù´Â °ÍÀÔ´Ï´Ù. ¿øº»¿¡¼­ ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡°¡ ¸¶Ä§ ÆäÀÌÁö°¡ ³ª´©ÀÌ´Â ¹Ù·Î ±× À§Ä¡¿´´Ù¸é ÀÌ °³Ã¼´Â *À¯½Ç*µË´Ï´Ù. ·Î±×¿¡¼­ ¡°ÀÌ°ÍÀº LaTeXÀÇ ¹ö±×ÀÏ ¼ö ÀÖ´Ù¡±´Â ¸Þ½ÃÁö¸¦ ¸¸³ª°Ô µÉ °ÍÀÔ´Ï´Ù. ÀÌ·² °æ¿ì´Â ¼Ò½º¿¡¼­ ÇØ´ç ºÎºÐÀÇ À§Ä¡¸¦ Á¶±Ý ¹Ù²Ù¾î º¸´Â ¹æ¹ý¹Û¿¡´Â º°´Ù¸¥ ¼ö°¡ ¾ø½À´Ï´Ù. ¿©·¯ °¡Áö ÀÌÀ¯¿¡¼­ ÀÌ ÆÐÅ°ÁöÀÇ ¸í·ÉÀ» ¹ü¿ëÀ¸·Î »ç¿ëÇÏ´Â °ÍÀº ÇÑ°è°¡ ÀÖÀ¸¹Ç·Î ÁÖÀÇÇؼ­ »ç¿ëÇϽñ⠹ٶø´Ï´Ù.

6 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ LaTeX ÆÐÅ°Áö


  1. float ÆÐÅ°Áö
  2. -floatflt ÆÐÅ°Áö- (obsolete)

  3. subfigure ÆÐÅ°Áö, subfig ÆÐÅ°Áö
  4. subfloat ÆÐÅ°Áö
  5. -here ÆÐÅ°Áö-

  6. afterpage ÆÐÅ°Áö

  7. morefloats ÆÐÅ°Áö

  8. endfloat ÆÐÅ°Áö

  9. placeins ÆÐÅ°Áö
  10. picinpar ÆÐÅ°Áö

  11. wrapfig ÆÐÅ°Áö

  12. -ccaption ÆÐÅ°Áö- (obsolete)

  13. hvfloat ÆÐÅ°Áö

  14. dpfloat ÆÐÅ°Áö

  15. rotfloat ÆÐÅ°Áö

  16. floatrow ÆÐÅ°Áö

7 Q & A


Q. ¿©·¯ °³ÀÇ figure¸¦ ¿¬¼ÓÇؼ­ ³Ö¾ú´õ´Ï "too many unprocessed floats" ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
A. figure, table, maginal note µî floats´Â ÀÏ´Ü queue¿¡ µé¾î°£ ÈÄ flushµÇ´Â ¹æ½ÄÀ¸·Î 󸮵Ǵµ¥, LaTeXÀÌ Ã³¸®ÇÒ ¼ö ÀÖ´Â float queue´Â 18°³¸¦ ³ÑÀ» ¼ö ¾ø½À´Ï´Ù. ±×·¯¹Ç·Î 󸮵ÇÁö ¾ÊÀº float°¡ 18°³¸¦ ³ÑÀ» ¶§ À§¿Í °°Àº ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù. Âü°í. ¿À·ùó¸®. ÀÌ·² ¶§´Â Áß°£Áß°£ Àû´çÇÑ °÷¿¡ \clearpage¸¦ µÎ¾î¼­ floatµéÀ» °­Á¦·Î flushÇÏ°Ô ÇÏ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ¶Ç, morefloats ÆÐÅ°Áö¸¦ ¾²¸é 36°³±îÁö ÀÌ °ªÀ» Áõ°¡½Ãų ¼ö ÀÖ½À´Ï´Ù.

Q. ¶°´Ù´Ï´Â °³Ã¼¸¦ ¹®´ÜÀÇ ÀϺηΠÆ÷ÇÔÇÏ°í ½Í½À´Ï´Ù.
A. ±×¸²ÀÇ °æ¿ì [http]GFAQ no. 43¿¡ ¹æ¹ýÀÌ ³ª¿Í ÀÖ½À´Ï´Ù. floatflt ÆÐÅ°Áö¸¦ ÀÌ¿ëÇϽʽÿÀ. ±×¸²°ú ÇÑ±Û ¹®´ÜÀÇ °æ¿ì¿¡´Â picins ¶Ç´Â picinpar ÆÐÅ°Áö°¡ Àß µÉ ¶§µµ ÀÖ½À´Ï´Ù. (TeXLive 2008¿¡´Â floatflt¿Í picins°¡ Æ÷ÇԵǾî ÀÖÁö ¾ÊÀ¸¹Ç·Î wrapfig³ª hvfloat, floatrow ÆÐÅ°Áö¸¦ »ç¿ëÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.)

Q. table, figure, maginpar ÀÌ¿ÜÀÇ ¶°´Ù´Ï´Â °³Ã¼¸¦ ÀÓÀÇ·Î ¸¸µé ¼ö´Â ¾ø³ª¿ä?
A. algorithm ÆÐÅ°Áö´Â algorithm ±â¼úÀ» À§ÇÑ ÀÓÀÇÀÇ float ȯ°æÀ» ¸¸µé ¼ö ÀÖ°Ô ÇØÁÖ°í ÀÖ½À´Ï´Ù. ÀÌ ±â´ÉÀº float ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÑ °ÍÀÔ´Ï´Ù. ±×·¯¹Ç·Î float ÆÐÅ°Áö¸¦ »ç¿ëÇÏ¸é »õ·Î¿î float¸¦ ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ´ÙÀ½Àº floatÀÇ ½ºÅ¸ÀÏ ÆÐÅ°Áö ¹®¼­¿¡ ³ª¿À´Â ¿¹ °¡¿îµ¥ ÇϳªÀÔ´Ï´Ù. ÀÌ ÀÌ¿Ü¿¡µµ ´Ù¾çÇÑ ¼³Á¤À» ÇÒ ¼ö ÀÖÀ¸¹Ç·Î, texdoc float ¸¦ ½ÇÇàÇÏ¿© ÆÐÅ°Áö ¹®¼­¸¦ Âü°íÇϽñ⠹ٶø´Ï´Ù.
\floatstyle{ruled}
\newfloat{Program}{tbp}{lop}[section]

\listof{Program}{List of Programs}

\begin{Program}
\begin{verbatim}
... program codes ...
\end{verbatim}
\caption{...caption...}
\end{Program}




^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2010-10-03 22:59:09
Processing time 0.0689 sec