KTUGFaq

KTUG FAQ

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
It is easier to run down a hill than up one.
FrontPageScientificWord › SubfigPackage
subfig ÆÐÅ°Áö°¡ subfigure¸¦ ´ëüÇÏ°Ô µÇ¾ú³×¿ä. »ç¿ë¹ý°ú ¸í·É¾î°¡ Á¶±Ý ¹Ù²î¾ú³×¿ä. subfigure ÆÐÅ°Áö(¸í·É¾î: \subfigure), subfig ÆÐÅ°Áö(¸í·É¾î: \subfloat)´Â figure ȯ°æ, table ȯ°æ µî floatÇϴ ȯ°æ ¼Ó¿¡¼­ ½á¾ß ÇÕ´Ï´Ù.
Âü°í. subfigÀÇ subfloat¸¦ table¿¡¼­ »ç¿ëÇÑ ¿¹°¡ KTUGOperate:12013¿¡ ÀÖ½À´Ï´Ù.

(!) subfig ÆÐÅ°Áö -> see CTAN:macros/latex/contrib/subfig/subfig.pdf



¸ñÂ÷

1 Subfigure vs. Subfig
1.1 Q1 subfigure, subfig
1.2 Q2 captcont
1.3 Q4 centering
2 ±âŸ
2.1 icase.cls¿Í Ãæµ¹
2.2 ccaption.sty¿Í Ãæµ¹

1 Subfigure vs. Subfig

1.1 Q1 subfigure, subfig

Q1: (from KTUGOperate:13711) ±×¸²À» »ðÀÔÇÏ·Á°í ÇÕ´Ï´Ù. eps ÆÄÀÏÀº tif¸¦ Æ÷Åä¼¥À» ÀÌ¿ëÇؼ­ eps·Î º¯È¯ÇÑ °Í°ú originÀ» ÀÌ¿ëÇؼ­ eps ÆÄÀÏÀ» Çü¼ºÇÑ °Í µÎ °¡Áö°¡ ÀÖ½À´Ï´Ù. ±×¸²ÀÇ ·¹À̾ƿô ÇüÅ´ ´ÙÀ½°ú °°½À´Ï´Ù.
--------------------------------------------------



                  (a) figure 1-a



      (b) figure 1-b              (c) figure 1-c
----------------------------------------------------
Figure 1. caption
ÇϳªÀÇ ±×¸²¿¡ ¼¼ °³°¡ »ðÀÔµÈ ÇüÅÂÀÔ´Ï´Ù. ±×¸®°í, figure 1-b¿Í figure 1-c°¡ Å©±â°¡ ´Ù¸¨´Ï´Ù. ³ôÀÌ´Â °°Àºµ¥, ÆøÀÌ ´Ù¸¨´Ï´Ù. ÀÌ·± °æ¿ì¿¡´Â ¾î¶»°Ô ÇؾßÇÒ Áö ¸·¸·Çϳ׿ä... Âü°í·Î ±×¸² ÆÄÀÏÀ» ÷ºÎÇϵµ·Ï ÇÏ°Ú½À´Ï´Ù.===> ÷ºÎÇÏ´Â ¹æ¹ýÁ» ¾Ë·ÁÁÖ¼¼¿ä^^ ±×·³ µµ¿ò ºÎŹµå¸³´Ï´Ù.

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}

subfigure.png

Uploads: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 KTUGOperate:21300): ´Ù¸§ÀÌ ¾Æ´Ï°í Á¦°¡ subfigure 6°³¸¦ 1°³ÀÇ ±×¸²À¸·Î ¹­¾î¼­ µÎÆäÀÌÁö¿¡ ³ª´² ´ã°í ½Í½À´Ï´Ù. (1ÆäÀÌÁö¿¡ 3°³¾¿) Áß°£¿¡ \clearpage ³Ö¾îºÃ´Âµ¥ ÀÌ°Ç ¾ÈµÇ´õ¶ó±¸¿ä. Áö±ÝÀº 2°³ÀÇ ±×¸²(Float)À¸·Î ³ª´©¾î ³ù´Âµ¥ 1°³ÀÇ ±×¸²(±×·ì)À¸·Î Ç϶ó°í ÁöÀûÀÌ µé¾î¿Í¼­¿ä.
÷ºÎ ±×¸²: [http]3-2-1.eps <- A2¿Í A3¿¡ ¾µ ±×¸²

A2: ´ÙÀ½ ¿¹Á¦µéÀ» ÄÄÆÄÀÏÇÏ¿© º¸¼¼¿ä.

subfigure ÆÐÅ°Áö¿Í captcont ÆÐÅ°Áö¸¦ ÇÔ²² ¾´ °æ¿ì: See [http]captcont.pdf
% -*- 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}
subfig ÆÐÅ°Áö¸¦ ¾´ °æ¿ì: subfig´Â captcont¸¦ º°µµ·Î ¾µ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. A3ÀÇ ¿¹Á¦¸¦ º¸½Ê½Ã¿À.

Q3(from KTUGOperate:17102): ±×¸²À» °¡·Î·Î ³ª¶õÈ÷ 2°³¾¿ ¼¼·Î 5ÁÙ·Î µÇ°Ô ÃÑ 9°³¸¦ ¹è¿­ÇØ¾ß Çϴµ¥¿ä.. (Áß°£ »ý·«) ±×¸²ÀÌ ³Ê¹« ¸¹¾Æ¼­ ÇÑ ÆäÀÌÁö ¾È¿¡ ¾ÆÁÖ ºÎÀÚ¿¬½º·´°Ô µé¾î°¡´Â ±º¿ä¤Ð¤Ð ±×¸²ÀÇ ³ôÀÌ¿Í ÆøÀº ´õ ÀÌ»ó ÁÙÀÌ¸é ¾ÈµÇ´Â »óÅÂÀ̱¸¿ä.. ±×¸² ¹øÈ£´Â ±×´ë·Î À¯ÁöÇϸ鼭 ±×¸² ¸¶Áö¸· ¼¼°³¸¦ ´ÙÀ½ ÀåÀ¸·Î ³Ñ±â·Á¸é ¾î¶»°Ô ÇØ¾ß ÇÒ±î¿ä? ¸¶Áö¸· ±×¸²Àº ¿ÞÂÊÀ¸·Î ºÙÀÌ°í ½ÍÀºµ¥ ÀÚ²Ù Áß°£À¸·Î°¡¿ä..¤Ñ¤Ì..

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 KTUGOperate: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 KTUGOperate:20717): subfigure´Â figure ȯ°æ, table ȯ°æ µî floatÇϴ ȯ°æ ¼Ó¿¡¼­ ½á¾ß ÇÕ´Ï´Ù.

Âü°í: subfig ÆÐÅ°Áö(¸í·É¾î: \subfloat)¸¦ ½èÀ» ¶§´Â ²À figure ȯ°æÀ» ½á¾ß ÇÕ´Ï´Ù.

2 ±âŸ

2.1 icase.cls¿Í Ãæµ¹

(From KTUGOperate:17775) ICASE(Á¦¾î¡¤ÀÚµ¿È­¡¤½Ã½ºÅÛ°øÇÐȸ: Institute for Computer Applications in Science and Engineering)ÀÇ Å¬·¡½º ÆÄÀÏ icase.clsÀº subfig ÆÐÅ°Áö¿Í Ãæµ¹À» ÀÏÀ¸Åµ´Ï´Ù. SICE-ICCAS2006.clsµµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù. subfig ÆÐÅ°Áö ´ë½Å subfigure ÆÐÅ°Áö¸¦ ¾²¸é ±¦Âú½À´Ï´Ù.

2.2 ccaption.sty¿Í Ãæµ¹

ccaption.sty¿Í subfig.sty¸¦ ÇÔ²² ¾²¸é
! LaTeX Error: Command \captionwidth already defined.
               Or name \end... illegal, see p.192 of the manual.
¶ó´Â ¿À·ù ¸Þ½ÃÁö°¡ ³ªÅ¸³³´Ï´Ù. subfigure ÆÐÅ°Áö¸¦ ¾²¸é ±¦Âú½À´Ï´Ù. See KTUGOperate:20717

^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-07-23 05:36:29
Processing time 0.0627 sec