KTUGFaq
KTUG FAQ
Sin has many tools, but a lie is the handle which fits them all.
FrontPage › SubfigPackage
subfig ÆÐÅ°Áö°¡ subfigure¸¦ ´ëüÇÏ°Ô µÇ¾ú³×¿ä. »ç¿ë¹ý°ú ¸í·É¾î°¡ Á¶±Ý ¹Ù²î¾ú³×¿ä. subfigure ÆÐÅ°Áö(¸í·É¾î: \subfigure), subfig ÆÐÅ°Áö(¸í·É¾î: \subfloat)´Â figure ȯ°æ, table ȯ°æ µî floatÇϴ ȯ°æ ¼Ó¿¡¼ ½á¾ß ÇÕ´Ï´Ù.
subfig ÆÐÅ°Áö -> see macros/latex/contrib/subfig/subfig.pdf
subfigure ÆÐÅ°Áö -> see obsolete/macros/latex/contrib/subfigure/subfigure.pdf
[ÆíÁý]
1.1 Q1 subfigure, subfig ¶
Q1: (from 13711) ±×¸²À» »ðÀÔÇÏ·Á°í ÇÕ´Ï´Ù. eps ÆÄÀÏÀº tif¸¦ Æ÷Åä¼¥À» ÀÌ¿ëÇؼ eps·Î º¯È¯ÇÑ °Í°ú originÀ» ÀÌ¿ëÇؼ eps ÆÄÀÏÀ» Çü¼ºÇÑ °Í µÎ °¡Áö°¡ ÀÖ½À´Ï´Ù. ±×¸²ÀÇ ·¹À̾ƿô ÇüÅ´ ´ÙÀ½°ú °°½À´Ï´Ù.
ÇϳªÀÇ ±×¸²¿¡ ¼¼ °³°¡ »ðÀÔµÈ ÇüÅÂÀÔ´Ï´Ù. ±×¸®°í, figure 1-b¿Í figure 1-c°¡ Å©±â°¡ ´Ù¸¨´Ï´Ù. ³ôÀÌ´Â °°Àºµ¥, ÆøÀÌ ´Ù¸¨´Ï´Ù. ÀÌ·± °æ¿ì¿¡´Â ¾î¶»°Ô ÇؾßÇÒ Áö ¸·¸·Çϳ׿ä... Âü°í·Î ±×¸² ÆÄÀÏÀ» ÷ºÎÇϵµ·Ï ÇÏ°Ú½À´Ï´Ù.===> ÷ºÎÇÏ´Â ¹æ¹ýÁ» ¾Ë·ÁÁÖ¼¼¿ä^^ ±×·³ µµ¿ò ºÎŹµå¸³´Ï´Ù.
-------------------------------------------------- (a) figure 1-a (b) figure 1-b (c) figure 1-c ---------------------------------------------------- Figure 1. caption
A1: ¿ì¼± subfigure ÆÐÅ°Áö¸¦ ½á º¸¾Ò½À´Ï´Ù. ´ÙÀ½À» ÄÄÆÄÀÏÇÏ¿© º¸¼¼¿ä. ¾Æ·¡ ÷ºÎÇÑ ±×¸²°ú °°ÀÌ µË´Ï´Ù. ¼¼ °³ÀÇ ±×¸²À» ÇѲ¨¹ø¿¡ ÷ºÎÇÏ·Á¸é ¸ðµÎ ÇÑ Æú´õ¿¡ ³Ö°í Æú´õ ä·Î ¾ÐÃàÇÏ¸é µË´Ï´Ù.
\documentclass{article} \usepackage{amssymb,graphicx,subfigure}%subfig ÆÐÅ°Áö¸¦ ¾²·Á¸é subfigure->subfig·Î ¹Ù²Þ \begin{document} \begin{figure}[t] \centering \subfigure[This is Fig a]%subfig ÆÐÅ°Áö¸¦ ¾²¸é \subfigure->\subfloat·Î ¹Ù²Þ {\includegraphics[width=\textwidth,height=40mm]{fig5a}}\\ %subfig ÆÐÅ°Áö¸¦ ¾²¸é \\ÀÌ ÇÊ¿ä ¾øÀ½ \centering\subfigure[This is Fig b] {\includegraphics[width=70mm,height=40mm]{fig5b}}\hfill \subfigure[This is Fig c] {\includegraphics[width=40mm,height=40mm]{fig5c}} \caption{$f_L(l)$ and the adjusted frequency histogram of the simulated $L_1$} \end{figure} \end{document}
fig5.zip <- ¿©±â¿¡ À§¿¡¼ ¾´ ±×¸²ÀÌ µé¾î ÀÖ½À´Ï´Ù.
subfig ÆÐÅ°Áö¸¦ ¾µ ¶§´Â ¸í·É¾î µîÀÌ Á¶±Ý ´Ù¸¨´Ï´Ù. ´ÙÀ½À» ÄÄÆÄÀÏÇÏ¿© º¸¼¼¿ä.
\documentclass{article} \usepackage{amssymb,graphicx,subfig} \begin{document} \begin{figure}[t] \centering \subfloat[This is Fig a] {\includegraphics[width=\textwidth,height=40mm]{fig5a}} \centering\subfloat[This is Fig b] {\includegraphics[width=70mm,height=40mm]{fig5b}}\hfill \subfloat[This is Fig c] {\includegraphics[width=40mm,height=40mm]{fig5c}} \caption{$f_L(l)$ and the adjusted frequency histogram of the simulated $L_1$} \end{figure} \end{document}
[ÆíÁý]
1.2 Q2 captcont ¶
Q2(from 21300): ´Ù¸§ÀÌ ¾Æ´Ï°í Á¦°¡ subfigure 6°³¸¦ 1°³ÀÇ ±×¸²À¸·Î ¹¾î¼ µÎÆäÀÌÁö¿¡ ³ª´² ´ã°í ½Í½À´Ï´Ù. (1ÆäÀÌÁö¿¡ 3°³¾¿) Áß°£¿¡ \clearpage ³Ö¾îºÃ´Âµ¥ ÀÌ°Ç ¾ÈµÇ´õ¶ó±¸¿ä. Áö±ÝÀº 2°³ÀÇ ±×¸²(Float)À¸·Î ³ª´©¾î ³ù´Âµ¥ 1°³ÀÇ ±×¸²(±×·ì)À¸·Î Ç϶ó°í ÁöÀûÀÌ µé¾î¿Í¼¿ä.
÷ºÎ ±×¸²: 3-2-1.eps <- A2¿Í A3¿¡ ¾µ ±×¸²
A2: ´ÙÀ½ ¿¹Á¦µéÀ» ÄÄÆÄÀÏÇÏ¿© º¸¼¼¿ä.
subfigure ÆÐÅ°Áö¿Í captcont ÆÐÅ°Áö¸¦ ÇÔ²² ¾´ °æ¿ì: See captcont.pdf
subfig ÆÐÅ°Áö¸¦ ¾´ °æ¿ì: subfig´Â captcont¸¦ º°µµ·Î ¾µ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. A3ÀÇ ¿¹Á¦¸¦ º¸½Ê½Ã¿À.
Q3(from 17102): ±×¸²À» °¡·Î·Î ³ª¶õÈ÷ 2°³¾¿ ¼¼·Î 5ÁÙ·Î µÇ°Ô ÃÑ 9°³¸¦ ¹è¿ÇØ¾ß Çϴµ¥¿ä.. (Áß°£ »ý·«) ±×¸²ÀÌ ³Ê¹« ¸¹¾Æ¼ ÇÑ ÆäÀÌÁö ¾È¿¡ ¾ÆÁÖ ºÎÀÚ¿¬½º·´°Ô µé¾î°¡´Â ±º¿ä¤Ð¤Ð ±×¸²ÀÇ ³ôÀÌ¿Í ÆøÀº ´õ ÀÌ»ó ÁÙÀÌ¸é ¾ÈµÇ´Â »óÅÂÀ̱¸¿ä.. ±×¸² ¹øÈ£´Â ±×´ë·Î À¯ÁöÇÏ¸é¼ ±×¸² ¸¶Áö¸· ¼¼°³¸¦ ´ÙÀ½ ÀåÀ¸·Î ³Ñ±â·Á¸é ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? ¸¶Áö¸· ±×¸²Àº ¿ÞÂÊÀ¸·Î ºÙÀÌ°í ½ÍÀºµ¥ ÀÚ²Ù Áß°£À¸·Î°¡¿ä..¤Ñ¤Ì..
% -*- TeX:UTF-8 -*- \documentclass{article} \usepackage[hangul]{dhucs} \usepackage{graphicx} \usepackage{captcont} \usepackage{subfigure} \begin{document} \begin{figure} %\centering \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 0.03\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} \\ \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 0.05\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} \\ \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 0.10\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} %\caption{ÇÏÁß ¼Óµµ¿¡ µû¸¥ ±Õ¿ÀÇ ÁøÇà ÇüÅ I (0.03\%, 0.05\%, 0.10\%)} \end{figure} %\setcounter{figure}{0} \begin{figure} %\centering \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 0.30\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} \\ \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 0.50\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} \\ \subfigure[ÇÏÁß¼Óµµ°¡ À½¼ÓÀÇ 100\%ÀÏ ¶§ ±Õ¿ÀÇ ÁøÇà]{% \includegraphics[width=0.9\textwidth]{3-2-1}} \captcont{ÇÏÁß ¼Óµµ¿¡ µû¸¥ ±Õ¿ÀÇ ÁøÇà ÇüÅ I (0.03\%, 0.05\%, 0.10\%)}\label{crack_propagation1} \end{figure} \end{document}
A3: ´ÙÀ½ ¿¹Á¦¸¦ ÄÄÆÄÀÏÇÏ¿© º¸¼¼¿ä.
subfig ÆÐÅ°Áö: subfig´Â captcont¸¦ º°µµ·Î ¾µ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
% -*- TeX:UTF-8 -*- \documentclass{article} \usepackage{dhucs} \usepackage{graphicx} %%%% \usepackage{captcont} \usepackage{subfig} \begin{document} \begin{figure} \scriptsize %\centering \subfloat[¼ÒÇ¥º»(ÆÐÅÏ1)¿¡¼ $\beta_{0}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\hfill \subfloat[ÆÐÅÏ2¿¡¼ $\beta_{0}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\\ \subfloat[´ëÇ¥º»(ÆÐÅÏ3)¿¡¼ $\beta_{0}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\hfill \subfloat[¼ÒÇ¥º»(ÆÐÅÏ1)¿¡¼ $\beta_{1}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\\ \subfloat[ÆÐÅÏ2¿¡¼ $\beta_{1}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\hfill \subfloat[´ëÇ¥º»(ÆÐÅÏ3)¿¡¼ $\beta_{1}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}} \caption{This is a continued figure.} \end{figure} %\setcounter{figure}{0} \begin{figure} \ContinuedFloat \scriptsize %\centering \subfloat[´ëÇ¥º»(ÆÐÅÏ3)¿¡¼ $\beta_{2}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\hfill \subfloat[¼ÒÇ¥º»(ÆÐÅÏ1)¿¡¼ $\beta_{2}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}}\\ \subfloat[ÆÐÅÏ2¿¡¼ $\beta_{2}$ÀÇ $90\%$½Å·Ú±¸°£] {\includegraphics[width=60mm,height=30mm]{3-2-1}} \caption[]{This is a continued figure (cont.)} \end{figure} \end{document}
[ÆíÁý]
1.3 Q4 centering ¶
Q4(from 20712): centering·Î ÀÎÇؼ ±×·±°¡ Çؼ centeringÀ» ¸ðµÎ
\begin{center}...\end{center} ·Î °íÃļ
·Î ÇØ º¸¾ÒÁö¸¸
À̶õ ¿¡·¯°¡ ¶°¼¿ä... ¿°Ä¡ºÒ±¸ÇÏ°í ´äº¯ ±â´Ù¸®°Ú½À´Ï´Ù~
\begin{center} \subfigure[horizontal drift force]{\includegraphics [width=110mm,height=90mm]{fig8-1}}\\ \subfigure[vertical drift force]{\includegraphics [width=110mm,height=90mm]{fig8-2}}\\ \figcaption{Horizontal (a) and vertical (b) drift force as a function of the body submergence $ H/R $ for $ kR=0.4,kA=0.12,h/R=12 $.} \label{fig:fig8} \end{center}
Undefined control sequence. <argument> if\@captype topcap 1.216 \subfigure [horizontal drift force]{\includegraphics [width=110mm,height...
A4(from 20717): subfigure´Â figure ȯ°æ, table ȯ°æ µî floatÇϴ ȯ°æ ¼Ó¿¡¼ ½á¾ß ÇÕ´Ï´Ù.
Âü°í: subfig ÆÐÅ°Áö(¸í·É¾î: \subfloat)¸¦ ½èÀ» ¶§´Â ²À figure ȯ°æÀ» ½á¾ß ÇÕ´Ï´Ù.