Floating Objects. Floats. `ºÎµ¿Ã¼`¶ó ¹ø¿ªÇϱ⵵ ÇÑ´Ù. `¶°´Ù´Ï´Â °³Ã¼`´Â lshort-krÀÇ ¿ª¾îÀÌ´Ù. [[TableOfContents]] == ¶°´Ù´Ï´Â °³Ã¼¶õ? == ''¶°´Ù´Ï´Â °³Ã¼''´Â º»¹®ÀÇ È帧À» ¹æÇØÇÏÁö ¾ÊÀ¸¸é¼­ Ç¥(Table)¿Í ±×¸²(Figure)À» ¹èÄ¡Çϱâ À§ÇÑ Á¶ÆÇ »óÀÇ µµ±¸ÀÌ´Ù. Ç¥¿¡ ´ëÇؼ­´Â [Tableȯ°æ]À», ±×¸²¿¡ ´ëÇؼ­´Â [Figureȯ°æ]À», ±×¸®°í ³­¿ÜÁÖ¿¡ ´ëÇؼ­´Â MarginalNote¸¦ º¸¶ó. ¶°´Ù´Ï´Â °³Ã¼¸¦ ¾²´Â ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù. {{{#!vim tex \begin{table}[À§Ä¡ÁöÁ¤ÀÚ] % ¶Ç´Â figure %.....¿©±â¿¡ ³»¿ëÀÌ ¿Â´Ù.... \caption{ĸ¼Ç}\label{·¹À̺í} \end{table} }}} 2´Ü ÆíÁý([´Ù´ÜÆíÁý])¿¡¼­ µÎ ´Ü¿¡ ¸ðµÎ °ÉÄ¡´Â Å« ±×¸²À̳ª Ç¥(½ÉÁö¾î ±ä ¼ö½ÄÀ» floating object·Î ¸¸µé¾î)¸¦ ³ÖÀ¸·Á¸é figure*, table* µî ''º°Ç¥ºÙÀº'' ȯ°æÀ» ¾²¸é µÈ´Ù. ¿¹¸¦ µé¾î {{{ \begin{table*}[!t] ... \end{table*} }}} ·Î ¾²¸é µÈ´Ù. See KTUGOperate:17023'''''' == ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤ÀÚ == || À§Ä¡ÁöÁ¤ÀÚ || °³Ã¼ÀÇ À§Ä¡ || || `h` || ''here''. || || `t` || ''top''. ÆäÀÌÁöÀÇ À­ºÎºÐ. || || `b` || ''bottom''. ÆäÀÌÁöÀÇ ¾Æ·¡ºÎºÐ. || || `p` || ''page''. ±×¸²°ú Ç¥·Î¸¸ ÀÌ·ç¾îÁø Ưº°ÇÑ ÆäÀÌÁö || || `!` || float À§Ä¡°ü·Ã ³»ºÎº¯¼ö °ªÀ» ¸ðµÎ ¹«½ÃÇÏ°Ô ÇÔ || ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡´Â LaTeXÀÌ ½º½º·Î °áÁ¤Çϵµ·Ï ÇÏ´Â °ÍÀÌ °¡Àå ¹Ù¶÷Á÷ÇÏ´Ù. `[h]` À§Ä¡ÁöÁ¤ÀÚ´Â ÀÌ Çϳª¸¸ ¾²ÀÌÁö ¾Ê´Â´Ù. LaTeX¿¡¼­ À§Ä¡ÁöÁ¤ÀÚÀÇ ±âº»°ªÀº `[tbp]`ÀÌ°í, `[h]`¸¸ ¾²´õ¶óµµ `[htbp]`ÀÎ °Í°ú µ¿ÀÏÇÏ°Ô µ¿ÀÛÇÑ´Ù. ±×·¯¹Ç·Î, ¾î¶² ±×¸²À̳ª Ç¥¸¦ ±»ÀÌ Æ¯Á¤ À§Ä¡¿¡ ¹Ýµå½Ã À§Ä¡ÇÏ°Ô ÇÏ°í ½Í´Ù¸é, ±× ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾Ê¾Æ¾ß ÇÑ´Ù. ±×¸²À̳ª Ç¥¸¦ floating ½ÃÅ°Áö ¾ÊÀ¸·Á¸é [Figureȯ°æ]À̳ª [Tableȯ°æ] ¾È¿¡ ³ÖÀ¸¸é ¾È µÈ´Ù. `\caption` ¸í·ÉÀº ¿ÀÁ÷ floating ȯ°æ ¾È¿¡¼­¸¸ ÀÛµ¿ÇÏÁö¸¸, Ç÷ÎÆýÃÅ°Áö ¾ÊÀº °³Ã¼¿¡ ¸¶Ä¡ ĸ¼ÇÀÌ ÀÖ´Â °Íó·³ ĸ¼ÇÀ» ºÙÀÌ´Â ¹æ¹ýÀÌ ÀÖ´Ù. [http://doc.ktug.or.kr/gfaqprj/gfaq-html/node50.html GFAQ no. 50]À» Âü°íÇ϶ó. == ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ ¸í·É == 1. `\clearpage` ¹× `\cleardoublepage` 1. `\suppressfloats` ÇöÀç ÆäÀÌÁö¿¡´Â Ç÷ÎÆ®°¡ À§Ä¡ÇÏÁö ¸øÇϵµ·Ï ÇÑ´Ù. == ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ º¯¼ö(parameters) == 1. topnumber, bottomnumber, totalnumber (''counter'') 1. `\topfraction`, `\bottomfraction` ¶Ç´Â `\dbltopfraction` 1. `\textfraction` 1. dbltopnumber (''counter'') 1. `\floatpagefraction` ¶Ç´Â `\dblfloatpagefraction` Àüü ÆäÀÌÁöÀÇ ¾î´À Á¤µµÀÇ ºñÀ²ÀÌ ³ÑÀ¸¸é `floatpage`¸¦ ¸¸µé °ÍÀΰ¡¸¦ °áÁ¤ÇÏ´Â º¯¼öÀÌ´Ù. Ç¥ÁØ Å¬·¡½º¿¡¼­´Â `0.5`·Î ¼³Á¤µÇ¾î ÀÖ´Ù. ÀÌ °ªÀ» ¼³Á¤ÇÒ ¶§´Â `\topfraction`ÀÇ °ªÀ» `\floatpagefraction`º¸´Ù Å©°Ô ÁÖ´Â °ÍÀÌ ¾ÈÀüÇÏ´Ù. ¿¹¸¦ µé¸é, {{{#!vim tex \renewcommand\topfraction{.88} \renewcommand\floatpagefraction{.75} }}} 1. `\floatsep`, `\textfloatsep`, `\intextsep`, `\dblfloatsep`, `\dbltextfloatsep` \floatsep : ÆäÀÌÁö ¸Ó¸®¿¡¼­ top À§Ä¡ÀÇ float±îÁö ¼öÁ÷±æÀÌ Ãß°¡ºÐ \textfloatsep : float°¡ top/bottom¿¡ ¿Ã ¶§ ÅؽºÆ®±îÁöÀÇ ¼öÁ÷±æÀÌ Ãß°¡ºÐ \intextsep : float°¡ here¿¡ ¿Ã ¶§ ÅؽºÆ®¿ÍÀÇ ±æÀÌ Ãß°¡ºÐ 1. `\topfigrule`, `\botfigrule`, `\dblfigrule` == ĸ¼Ç == ¶°´Ù´Ï´Â °³Ã¼¿¡´Â ĸ¼ÇÀÌ ºÙÀ» ¼ö ÀÖ´Ù. See [CaptionOfFloats]. == ¶°´Ù´Ï´Â °³Ã¼ ³»ÀÇ °¢ÁÖ == See [¶°´Ù´Ï´Â°³Ã¼ÀÇ °¢ÁÖ] == ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡ ÁöÁ¤Çϱâ(2) == ÀÌ ¼ÒÀý¿¡¼­´Â afterpage¸¦ ÀÌ¿ëÇÑ ±â¹ýÀ» ¼Ò°³ÇÕ´Ï´Ù. {{{ \usepackage{afterpage} }}} ´ÙÀ½ ÄÚµå´Â, ÆäÀÌÁö°¡ ³ª´©¾îÁö´Â ½ÃÁ¡¿¡ \clearpage¸¦ ½ÇÇàÇÕ´Ï´Ù. \clearpageÀÇ µ¿ÀÛÀº ÇöÀç±îÁö Å¥¿¡ µé¾î ÀÖ´ø floatµéÀ» ¸ðµÎ flushÇÏ´Â °ÍÀÔ´Ï´Ù. µû¶ó¼­ ¹Ýµå½Ã ÀÌ ±×¸²ÀÌ ´ÙÀ½ ÆäÀÌÁö°¡ ½ÃÀ۵DZâ Àü¿¡ À§Ä¡ÇÏ°Ô ÇÏ°í ½ÍÀ» ¶§ ¾µ ¼ö ÀÖ½À´Ï´Ù. {{{ \begin{figure} .... \end{figure} \afterpage{\clearpage} }}} ÁÖÀÇÇÒ °ÍÀº, ÀÌ ÆÐÅ°ÁöÀÇ µ¿ÀÛÀÌ ¿ÏÀüÈ÷ ¾ÈÁ¤ÀûÀÌÁö´Â ¾Ê´Ù´Â °ÍÀÔ´Ï´Ù. ¿øº»¿¡¼­ ¶°´Ù´Ï´Â °³Ã¼ÀÇ À§Ä¡°¡ ¸¶Ä§ ÆäÀÌÁö°¡ ³ª´©ÀÌ´Â ¹Ù·Î ±× À§Ä¡¿´´Ù¸é ÀÌ °³Ã¼´Â *À¯½Ç*µË´Ï´Ù. ·Î±×¿¡¼­ ¡°ÀÌ°ÍÀº LaTeXÀÇ ¹ö±×ÀÏ ¼ö ÀÖ´Ù¡±´Â ¸Þ½ÃÁö¸¦ ¸¸³ª°Ô µÉ °ÍÀÔ´Ï´Ù. ÀÌ·² °æ¿ì´Â ¼Ò½º¿¡¼­ ÇØ´ç ºÎºÐÀÇ À§Ä¡¸¦ Á¶±Ý ¹Ù²Ù¾î º¸´Â ¹æ¹ý¹Û¿¡´Â º°´Ù¸¥ ¼ö°¡ ¾ø½À´Ï´Ù. ¿©·¯ °¡Áö ÀÌÀ¯¿¡¼­ ÀÌ ÆÐÅ°ÁöÀÇ ¸í·ÉÀ» ¹ü¿ëÀ¸·Î »ç¿ëÇÏ´Â °ÍÀº ÇÑ°è°¡ ÀÖÀ¸¹Ç·Î ÁÖÀÇÇؼ­ »ç¿ëÇϽñ⠹ٶø´Ï´Ù. == ¶°´Ù´Ï´Â °³Ã¼¿¡ °ü·ÃµÈ LaTeX ÆÐÅ°Áö == 1. '''float ÆÐÅ°Áö''' CTAN:macros/latex/contrib/float/ 1. '''floatflt ÆÐÅ°Áö''' CTAN:macros/latex/contrib/floatflt/floatflt.pdf 1. '''subfigure ÆÐÅ°Áö''', '''subfig ÆÐÅ°Áö''' SubfigPackage 1. '''subfloat ÆÐÅ°Áö''' CTAN:macros/latex/contrib/subfloat/subfloat.dvi 1. '''captcont ÆÐÅ°Áö''' CTAN:macros/latex/contrib/captcont/ 1. '''here ÆÐÅ°Áö''' 1. '''afterpage ÆÐÅ°Áö''' 1. '''morefloats ÆÐÅ°Áö''' 1. '''endfloat ÆÐÅ°Áö''' EndNote 1. '''placeins ÆÐÅ°Áö''' CTAN:macros/latex/contrib/placeins/ 1. '''picinpar ÆÐÅ°Áö''' 1. '''wrapfig ÆÐÅ°Áö''' 1. '''ccaption ÆÐÅ°Áö''' CTAN:/macros/latex/contrib/ccaption/ 1. '''hvfloat ÆÐÅ°Áö''' 1. '''dpfloat ÆÐÅ°Áö''' 1. '''rotfloat ÆÐÅ°Áö''' == 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://doc.ktug.or.kr/gfaqprj/gfaq-html/node43.html 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} }}} ---- CategoryFaq