Ç¥¿Í ±×¸²°ú °°Àº [¶°´Ù´Ï´Â °³Ã¼]¿¡´Â ĸ¼ÇÀÌ ºÙ´Â´Ù. [[TableOfContents]] === `\caption` ¸í·É === ==== CaptionÀ» ¿©·¯ ¶óÀο¡ °ÉÃļ­ ±â·ÏÇϱâ ==== hangcaption ÆÐÅ°Áö¸¦ ÀÌ¿ëÇϸé CaptionÀ» ¿©·¯ ¶óÀο¡ °ÉÃļ­ ±â·ÏÇÏ´Â °ÍÀÌ °¡´ÉÇÏ´Ù. \captionwidth ·Î captionÀÇ ³ÐÀ̸¦ ÁöÁ¤ÇØ ÁÙ ¼ö ÀÖ´Ù. {{{#!vim tex \usepackage{hangcaption} \begin{table}[htpb] \captionwidth 4.0in \centering \hangcaption{The discrete energies $E_i$ (MeV) used for deriving the approximate line-beam response function. This is a long caption that extends over several line.} \label{t8b} \begin{tabular}{|c|c|c|} \hline A & B & C \\ \hline \end{tabular} \end{table} }}} ÀÌ°æ¿ì listoffigure¿¡ ³Ê¹« ±ä ¹®ÀåÀÌ µé¾î°¡°Ô µÈ´Ù. {{{\hangcaption*[Aha]{...} }}} listoffigures ¿¡ ´Ù¸¥ ³»¿ëÀÌ µé¾î°¡°Ô ÇÒ ¼öµµ ÀÖ´Ù. ==== Float°¡ ¾Æ´Ñ °æ¿ì¿¡µµ `\caption` ³Ö±â ==== [¶°´Ù´Ï´Â °³Ã¼]°¡ ¾Æ´Ñ °æ¿ì¿¡ `\caption`À» ºÙ¿©¾ß ÇÒ °æ¿ì°¡ ¾øÁö ¾Ê´Ù. ccaption ÆÐÅ°Áö´Â ÀÌ ¹®Á¦¸¦ ÇØ°áÇÏ¿© ÁØ´Ù. {{{ \usepackage{ccaption} \newfixedcaption{\figcaption}{figure} \newfixedcaption{\tabcaption}{table} \tabcaption{¾Ö±¹°¡} \begin{tabbing} µ¿Çع°°ú \= ¹éµÎ»êÀÌ\\ ¸¶¸£°í \> ´âµµ·Ï\\ \end{tabbing} \includegraphics{foo} \figcaption{½ÃÇè} }}} ÀÌ °æ¿ì Ç¥ ¶Ç´Â ±×¸²°ú ĸ¼ÇÀÌ ºÐ¸®µÇ¾î µÎ ÆäÀÌÁö¿¡ °ÉÄ¥ ¼ö ÀÖÀ¸¹Ç·Î ÁÖÀÇÇØ¾ß ÇÑ´Ù. ==== Minipage¿¡ ±×¸² ¶Ç´Â Ç¥ `\caption` ³Ö±â ==== ±×¸² ¶Ç´Â Ç¥¸¦ ³ª¶õÈ÷ ¿Ã¸®°í °¢°¢ÀÇ Ä¸¼ÇÀ» ºÙÀÏ ¶§µµ Æí¸®ÇÏ´Ù. See KTUGOperate:16586 {{{ \documentclass{article} \usepackage{graphicx} \usepackage{ccaption} \newfixedcaption{\figcaption}{figure} \begin{document} \begin{minipage}{55mm} \includegraphics[width=50mm]{test1} \figcaption{Test1} \end{minipage} \hfil \begin{minipage}{55mm} \includegraphics[width=50mm]{test2} \figcaption{Test2} \end{minipage} \end{document} }}} ==== Table ȯ°æ¿¡ ±×¸² `\caption` ³Ö±â ==== Ç¥¿Í ±×¸²ÀÌ Ç×»ó ºÙ¾î ´Ù³à¾ß ÇÒ °æ¿ì¿¡µµ Æí¸®ÇÏ´Ù. See KTUGOperate:16900 {{{ \documentclass{article} \usepackage{graphicx} \usepackage{ccaption} \newfixedcaption{\figcaption}{figure} \begin{document} \begin{table} \centering% \caption{The width of columns} \begin{tabular}{l|c} \hline F & $u^{\ast}$ \\ \hline G & 0 \\ K & $\frac{1}{40} \left( 11+\sqrt{409} \right) $ \\ CM & $\frac{1+3\lambda}{4}$ \\ New & $\frac{11+5\lambda +\sqrt{409+15\lambda (22+15\lambda)}}{40}$ \\ \hline \end{tabular}\\ \smallskip \includegraphics[width=50mm]{test1} \figcaption{Test1} \end{table} \end{document} }}} ==== ĸ¼Ç ȸÀü À§Ä¡¹Ù²Ù±â ==== ==== ¿¬¼Ó ĸ¼Ç ==== ½ÇÁ¦·Î´Â ¿©·¯ °³ÀÇ Ç¥°¡ À̾îÁö°í ÀÖÁö¸¸ ³í¸®ÀûÀ¸·Î ÇϳªÀÇ Ç¥·Î °£ÁÖÇÏ°í ½ÍÀ» ¶§´Â, ù¹ø° ³ª¿À´Â Ç¥¿¡ ºÙÀº ĸ¼Ç ¹øÈ£°¡ ÀÌÈÄÀÇ Ç¥¿¡µµ '''µ¿ÀÏÇÏ°Ô''' ºÙ¾î¾ß ÇÏ°í, µÎ¹ø° ÀÌÈÄÀÇ Ä¸¼ÇÀº `(continued)`·Î Ç¥½ÃµÇ¾î¾ß ÇÑ´Ù. ÀÌ·¯ÇÑ Ä¸¼ÇÀ» ºÙÀÌ´Â ¹æ¹ýÀº ccaption ÆÐÅ°ÁöÀÇ `\contcaption` ¸í·ÉÀ» »ç¿ëÇÏ¸é °¡´ÉÇÏ´Ù. ¶Ç °¢ Ç¥ÀÇ Ã¹ Ç൵ ¸ðµÎ µÇÇ®ÀÌ µÇµµ·Ï ÇÒ ¼ö ÀÖ´Ù. captionÀ̳ª caption2 ÆÐÅ°Áö¸¦ ÀÌ¿ëÇÑ ¿¹°¡ KTUGOperate:16287''''''°ú KTUGOperate:16264''''''¿¡ ÀÖ´Ù. ==== Side Caption ==== Uploads:sidecap1.jpg ¾Æ·¡ ¼Ò½º ÆÄÀÏÀ» ÄÄÆÄÀÏÇϸé À§ ±×¸²°ú °°ÀÌ ±×¸² ¿·¿¡ ĸ¼ÇÀÌ ºÙ´Â´Ù. {{{ \documentclass{article} \usepackage{caption} \usepackage{sidecap} \newenvironment{Example}% {\ifvmode\else\unskip\par\fi \minipage{\linewidth}\smallskip}% {\smallskip\endminipage} \begin{document} \begin{Example} \newsavebox\scbox \begin{lrbox}{\scbox} \setlength{\unitlength}{.75cm} \setlength{\fboxsep}{0pt} \fbox{\begin{picture}(4,4) \put(1,3){\circle{1}} \put(3,3){\circle{1}} \put(2,2){\circle{1}} \put(1,1){\circle{1}} \put(3,1){\circle{1}} \end{picture}} \end{lrbox} \newlength\scboxwidth \setlength\scboxwidth{\wd\scbox} \makebox[\linewidth][c]{ \parbox[b]{\scboxwidth}{\unhbox\scbox} \hspace\marginparsep \parbox[b]{1.5\scboxwidth}{ \captionsetup{justification=RaggedRight,labelfont=bf} \captionof{figure}[]{A small example with the caption beside the figure.} } } \end{Example} \end{document} }}} === Q&A === ==== CaptionÀÇ ¸ð¾ç°ú Á¤·Ä ==== '''Q1:''' (From KTUGOperate:14733'''''') ¿øÇÏ´Â ¸ð¾çÀº ¾Æ·¡¿Í °°½À´Ï´Ù. {{{ Table 1 Å×À̺í ĸ¼Ç..... ------------------------------------ ------------------------------------ }}} ºÎŹµå¸³´Ï´Ù. '''A:''' (From KTUGOperate:14734'''''') `ccaption` ÆÐÅ°Áö¸¦ ¾µ °æ¿ì See->[http://ftp.ktug.or.kr/mirrors/CTAN//macros/latex/contrib/ccaption/ccaption.pdf ccaption.pdf] {{{ \documentclass{article} \usepackage{hfont} \usepackage{ccaption} \begin{document} \begin{table} \captiondelim{}%Ç¥¹øÈ£¿Í ĸ¼Ç »çÀÌ : - -- --- . µîÀ» ³Ö¾îµµ µË´Ï´Ù. \captionstyle{\\}%Ç¥¹øÈ£¿Í ĸ¼ÇÀ» °°Àº ÁÙ¿¡ ¾²·Á¸é ¸Ç¾Õ¿¡ %¸¦ ºÙÀ̼¼¿ä \caption{Fancy Caption} \begin{center} \begin{tabular}{|c|c|} \hline ¾Æ¾Æ & ´ëÇѹα¹ \\ \hline ¿µ¿ø & ¿µ¿øÇϸ®¶ó. \\ \hline \end{tabular} \end{center} \end{table} \end{document} }}} `caption` ÆÐÅ°Áö¸¦ ¾µ °æ¿ì See->CTAN:macros/latex/contrib/caption/caption.pdf {{{ \documentclass{article} \usepackage{hfont} \usepackage[labelsep=newline]{caption}%¿É¼ÇÀ¸·Î´Â newline ´ë½Å none, colon, period, space, quad µîÀÌ ÀÖÀ½ \begin{document} \begin{table} \caption{Fancy Caption} \begin{center} \begin{tabular}{|c|c|} \hline ¾Æ¾Æ & ´ëÇѹα¹ \\ \hline ¿µ¿ø & ¿µ¿øÇϸ®¶ó. \\ \hline \end{tabular} \end{center} \end{table} \end{document} }}}