KTUGFaq
KTUG FAQ
A gift of flower will soon be made to you.
%B9%D9%B2%EF%C1%A1 › KC2008/TeXLive&value=LaTeX/FrontPage › Karnes/2007-01&value=Yhchoe/TitleIndex › UsefulDocuments › TrueType&value=DVIµå¶óÀ̹ö › ¶°´Ù´Ï´Â°³Ã¼
Floating Objects. Floats.
ºÎµ¿Ã¼¶ó ¹ø¿ªÇϱ⵵ ÇÑ´Ù. ¶°´Ù´Ï´Â °³Ã¼´Â lshort-krÀÇ ¿ª¾îÀÌ´Ù.
[ÆíÁý]
1 ¶°´Ù´Ï´Â °³Ã¼¶õ? ¶
¶°´Ù´Ï´Â °³Ã¼´Â º»¹®ÀÇ È帧À» ¹æÇØÇÏÁö ¾ÊÀ¸¸é¼ Ç¥(Table)¿Í ±×¸²(Figure)À» ¹èÄ¡Çϱâ À§ÇÑ Á¶ÆÇ »óÀÇ µµ±¸ÀÌ´Ù.
Ç¥¿¡ ´ëÇؼ´Â Tableȯ°æÀ», ±×¸²¿¡ ´ëÇؼ´Â Figureȯ°æÀ», ±×¸®°í ³¿ÜÁÖ¿¡ ´ëÇؼ´Â MarginalNote¸¦ º¸¶ó.
¶°´Ù´Ï´Â °³Ã¼¸¦ ¾²´Â ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.
2´Ü ÆíÁý(´Ù´ÜÆíÁý)¿¡¼ µÎ ´Ü¿¡ ¸ðµÎ °ÉÄ¡´Â Å« ±×¸²À̳ª Ç¥(½ÉÁö¾î ±ä ¼ö½ÄÀ» floating object·Î ¸¸µé¾î)¸¦ ³ÖÀ¸·Á¸é figure*, table* µî º°Ç¥ºÙÀº ȯ°æÀ» ¾²¸é µÈ´Ù. ¿¹¸¦ µé¾î
·Î ¾²¸é µÈ´Ù. See 17023
\begin{table}[À§Ä¡ÁöÁ¤ÀÚ] % ¶Ç´Â figure %.....¿©±â¿¡ ³»¿ëÀÌ ¿Â´Ù.... \caption{ĸ¼Ç}\label{·¹À̺í} \end{table}
2´Ü ÆíÁý(´Ù´ÜÆíÁý)¿¡¼ µÎ ´Ü¿¡ ¸ðµÎ °ÉÄ¡´Â Å« ±×¸²À̳ª Ç¥(½ÉÁö¾î ±ä ¼ö½ÄÀ» floating object·Î ¸¸µé¾î)¸¦ ³ÖÀ¸·Á¸é figure*, table* µî º°Ç¥ºÙÀº ȯ°æÀ» ¾²¸é µÈ´Ù. ¿¹¸¦ µé¾î
\begin{table*}[!t] ... \end{table*}
[ÆíÁý]
2 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤ÀÚ ¶
À§Ä¡ÁöÁ¤ÀÚ | °³Ã¼ÀÇ À§Ä¡ |
h | here. |
t | top. ÆäÀÌÁöÀÇ ÀºÎºÐ. |
b | bottom. ÆäÀÌÁöÀÇ ¾Æ·¡ºÎºÐ. |
p | page. ±×¸²°ú Ç¥·Î¸¸ ÀÌ·ç¾îÁø Ưº°ÇÑ ÆäÀÌÁö |
! | float À§Ä¡°ü·Ã ³»ºÎº¯¼ö °ªÀ» ¸ðµÎ ¹«½ÃÇÏ°Ô ÇÔ |
¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡´Â LaTeXÀÌ ½º½º·Î °áÁ¤Çϵµ·Ï ÇÏ´Â °ÍÀÌ °¡Àå ¹Ù¶÷Á÷ÇÏ´Ù. [h] À§Ä¡ÁöÁ¤ÀÚ´Â ÀÌ Çϳª¸¸ ¾²ÀÌÁö ¾Ê´Â´Ù. LaTeX¿¡¼ À§Ä¡ÁöÁ¤ÀÚÀÇ ±âº»°ªÀº tbpÀÌ°í, [h]¸¸ ¾²´õ¶óµµ htbpÀÎ °Í°ú µ¿ÀÏÇÏ°Ô µ¿ÀÛÇÑ´Ù. ±×·¯¹Ç·Î, ¾î¶² ±×¸²À̳ª Ç¥¸¦ ±»ÀÌ Æ¯Á¤ À§Ä¡¿¡ ¹Ýµå½Ã À§Ä¡ÇÏ°Ô ÇÏ°í ½Í´Ù¸é, ±× ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾Ê¾Æ¾ß ÇÑ´Ù. ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾ÊÀ¸·Á¸é Figureȯ°æÀ̳ª Tableȯ°æ ¾È¿¡ ³ÖÀ¸¸é ¾È µÈ´Ù. \caption ¸í·ÉÀº ¿ÀÁ÷ floating ȯ°æ ¾È¿¡¼¸¸ ÀÛµ¿ÇÏÁö¸¸, Ç÷ÎÆýÃÅ°Áö ¾ÊÀº °³Ã¼¿¡ ¸¶Ä¡ ĸ¼ÇÀÌ ÀÖ´Â °Íó·³ ĸ¼ÇÀ» ºÙÀÌ´Â ¹æ¹ýÀÌ ÀÖ´Ù. GFAQ no. 50À» Âü°íÇ϶ó.
[ÆíÁý]
3 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ ¸í·É ¶
- \clearpage ¹× \cleardoublepage
- \suppressfloats
ÇöÀç ÆäÀÌÁö¿¡´Â Ç÷ÎÆ®°¡ À§Ä¡ÇÏÁö ¸øÇϵµ·Ï ÇÑ´Ù.
[ÆíÁý]
4 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ º¯¼ö(parameters) ¶
- topnumber, bottomnumber, totalnumber (counter)
- \topfraction, \bottomfraction ¶Ç´Â \dbltopfraction
- \textfraction
- dbltopnumber (counter)
- \floatpagefraction ¶Ç´Â \dblfloatpagefraction
Àüü ÆäÀÌÁöÀÇ ¾î´À Á¤µµÀÇ ºñÀ²ÀÌ ³ÑÀ¸¸é floatpage¸¦ ¸¸µé °ÍÀΰ¡¸¦ °áÁ¤ÇÏ´Â º¯¼öÀÌ´Ù. Ç¥ÁØ Å¬·¡½º¿¡¼´Â 0.5·Î ¼³Á¤µÇ¾î ÀÖ´Ù. ÀÌ °ªÀ» ¼³Á¤ÇÒ ¶§´Â \topfractionÀÇ °ªÀ» \floatpagefractionº¸´Ù Å©°Ô ÁÖ´Â °ÍÀÌ ¾ÈÀüÇÏ´Ù. ¿¹¸¦ µé¸é,
\renewcommand\topfraction{.88} \renewcommand\floatpagefraction{.75}
- \floatsep, \textfloatsep, \intextsep, \dblfloatsep, \dbltextfloatsep
\floatsep : ÆäÀÌÁö ¸Ó¸®¿¡¼ top À§Ä¡ÀÇ float±îÁö ¼öÁ÷±æÀÌ Ãß°¡ºÐ \textfloatsep : float°¡ top/bottom¿¡ ¿Ã ¶§ ÅؽºÆ®±îÁöÀÇ ¼öÁ÷±æÀÌ Ãß°¡ºÐ \intextsep : float°¡ here¿¡ ¿Ã ¶§ ÅؽºÆ®¿ÍÀÇ ±æÀÌ Ãß°¡ºÐ
- \topfigrule, \botfigrule, \dblfigrule
[ÆíÁý]
7 ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤Çϱâ(2) ¶
ÀÌ ¼ÒÀý¿¡¼´Â afterpage¸¦ ÀÌ¿ëÇÑ ±â¹ýÀ» ¼Ò°³ÇÕ´Ï´Ù.
\usepackage{afterpage}´ÙÀ½ ÄÚµå´Â, ÆäÀÌÁö°¡ ³ª´©¾îÁö´Â ½ÃÁ¡¿¡ \clearpage¸¦ ½ÇÇàÇÕ´Ï´Ù. \clearpageÀÇ µ¿ÀÛÀº ÇöÀç±îÁö Å¥¿¡ µé¾î ÀÖ´ø floatµéÀ» ¸ðµÎ flushÇÏ´Â °ÍÀÔ´Ï´Ù. µû¶ó¼ ¹Ýµå½Ã ÀÌ ±×¸²ÀÌ ´ÙÀ½ ÆäÀÌÁö°¡ ½ÃÀ۵DZâ Àü¿¡ À§Ä¡ÇÏ°Ô ÇÏ°í ½ÍÀ» ¶§ ¾µ ¼ö ÀÖ½À´Ï´Ù.
\begin{figure} .... \end{figure} \afterpage{\clearpage}
ÁÖÀÇÇÒ °ÍÀº, ÀÌ ÆÐÅ°ÁöÀÇ µ¿ÀÛÀÌ ¿ÏÀüÈ÷ ¾ÈÁ¤ÀûÀÌÁö´Â ¾Ê´Ù´Â °ÍÀÔ´Ï´Ù. ¿øº»¿¡¼ ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡°¡ ¸¶Ä§ ÆäÀÌÁö°¡ ³ª´©ÀÌ´Â ¹Ù·Î ±× À§Ä¡¿´´Ù¸é ÀÌ °³Ã¼´Â *À¯½Ç*µË´Ï´Ù. ·Î±×¿¡¼ ¡°ÀÌ°ÍÀº LaTeXÀÇ ¹ö±×ÀÏ ¼ö ÀÖ´Ù¡±´Â ¸Þ½ÃÁö¸¦ ¸¸³ª°Ô µÉ °ÍÀÔ´Ï´Ù. ÀÌ·² °æ¿ì´Â ¼Ò½º¿¡¼ ÇØ´ç ºÎºÐÀÇ À§Ä¡¸¦ Á¶±Ý ¹Ù²Ù¾î º¸´Â ¹æ¹ý¹Û¿¡´Â º°´Ù¸¥ ¼ö°¡ ¾ø½À´Ï´Ù.
¿©·¯ °¡Áö ÀÌÀ¯¿¡¼ ÀÌ ÆÐÅ°ÁöÀÇ ¸í·ÉÀ» ¹ü¿ëÀ¸·Î »ç¿ëÇÏ´Â °ÍÀº ÇÑ°è°¡ ÀÖÀ¸¹Ç·Î ÁÖÀÇÇؼ »ç¿ëÇϽñ⠹ٶø´Ï´Ù.
[ÆíÁý]
8 ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ LaTeX ÆÐÅ°Áö ¶
- float ÆÐÅ°Áö
- floatflt ÆÐÅ°Áö
- subfigure ÆÐÅ°Áö, subfig ÆÐÅ°Áö
- subfloat ÆÐÅ°Áö
- captcont ÆÐÅ°Áö
- here ÆÐÅ°Áö
- afterpage ÆÐÅ°Áö
- morefloats ÆÐÅ°Áö
- endfloat ÆÐÅ°Áö
- placeins ÆÐÅ°Áö
- picinpar ÆÐÅ°Áö
- wrapfig ÆÐÅ°Áö
- ccaption ÆÐÅ°Áö
- hvfloat ÆÐÅ°Áö
- dpfloat ÆÐÅ°Áö
- rotfloat ÆÐÅ°Áö
[ÆíÁý]
9 Q & A ¶
Q. ¿©·¯ °³ÀÇ figure¸¦ ¿¬¼ÓÇؼ ³Ö¾ú´õ´Ï "too many unprocessed floats" ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.
A. figure, table, maginal note µî floats´Â ÀÏ´Ü queue¿¡ µé¾î°£ ÈÄ flushµÇ´Â ¹æ½ÄÀ¸·Î 󸮵Ǵµ¥, TeXÀÌ Ã³¸®ÇÒ ¼ö ÀÖ´Â float queue´Â 18°³¸¦ ³ÑÀ» ¼ö ¾ø½À´Ï´Ù. ±×·¯¹Ç·Î 󸮵ÇÁö ¾ÊÀº float°¡ 18°³¸¦ ³ÑÀ» ¶§ À§¿Í °°Àº ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù. Âü°í. ¿À·ùó¸®. ÀÌ·² ¶§´Â Áß°£Áß°£ Àû´çÇÑ °÷¿¡ \clearpage¸¦ µÎ¾î¼ floatµéÀ» °Á¦·Î flushÇÏ°Ô ÇÏ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ¶Ç, morefloats ÆÐÅ°Áö¸¦ ¾²¸é 36°³±îÁö ÀÌ °ªÀ» Áõ°¡½Ãų ¼ö ÀÖ½À´Ï´Ù.
Q. ¶°´Ù´Ï´Â °³Ã¼¸¦ ¹®´ÜÀÇ ÀϺηΠÆ÷ÇÔÇÏ°í ½Í½À´Ï´Ù.
A. ±×¸²ÀÇ °æ¿ì GFAQ no. 43¿¡ ¹æ¹ýÀÌ ³ª¿Í ÀÖ½À´Ï´Ù. floatflt ÆÐÅ°Áö¸¦ ÀÌ¿ëÇϽʽÿÀ. ±×¸²°ú ÇÑ±Û ¹®´ÜÀÇ °æ¿ì¿¡´Â picins ¶Ç´Â picinpar ÆÐÅ°Áö°¡ Àß µÉ ¶§µµ ÀÖ½À´Ï´Ù.
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}