KTUGFaq
KTUG FAQ
ConservativeRockListnersGroup&value=LaTeXϺ › ThanksNote › Beamer&value=PDF › ?독후감 › UHC&value=UHC۲ › CaptionOfFloats
r1.1
@@ -1,46 +1,192 @@
ǥ
(Table)
(Figure) [ٴϴ ü] ĸ ٴ´.
{{{
{{{
#> kctexdoc caption-eng
}}}
==== Caption ο ļ ϱ ====
'''
A:
caption Ű'''
(From KTUGOperate:14734'''''') `ccaption`
ĸǿ caption Ű
See->[http://ftp.ktug.or.kr/mirrors/CTAN//macros/latex/contrib/ccaption/ccaption.pdf ccaption
̿Ѵ.
pdf]
{{{
#!vim tex
\documentclass{article}\usepackage{
hfont
graphicx}
\usepackage{
ccaption
caption}
\captionsetup{%
format=hang,
font=small,
labelfont=sf,
textfont=rm,
labelsep=colon
}
\begin{document}
\begin{
table
figure}
\
captiondelim
centering{
\includegraphics{1-1}
%ǥȣ ĸ : - -- -
}
\caption{Electrical pattern slop trace, hereaftern,
oscillation of cycosolic $\tilde{C}$a$^{-
2}
$middle trace and force development bottom trace and force in a
locus following depolarization of the smooth muscle
membrane. The initial steady-
state values of parameters and constants
of the model display a slow wave electrical mode.
־ ˴ϴ.
fluctuation of
cytosolic $\
captionstyle
tilde{
C}$a$^{-2}$ and regular phasic contracuons of constant amplitude
}
\
end{figure}
\
end{document}
%ǥȣ ĸ
}}}
http://www.ktug.or.kr/jsboard/data/operate/files/20070810144935/caption.PNG
'''hangcaption Ű'''
{{{#!vim tex
\
caption
usepackage{
Fancy Caption
hangcaption}
\begin{
center
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|}
\end{tabular
}
}}}
==== Float ƴ 쿡 Caption ֱ ====
'''caption Ű'''
[ٴϴ ü] ƴ 쿡 `\caption` ٿ 찡 ʴ. caption Ű {{{\captionof}}} .
{{{
\captionof{figure}{figure label}
\captionof{table}{tablelabel}
}}}
\caption* ɿ ϴ \captionof* ɵ ִ. caption ǥ listof.. ʴ´.
\captionof \captionof* minipage Ǵ parbox ȯ ȿ Ѵ.
==== Minipage Ǵ ǥ Caption ֱ ====
Ǵ ǥ ø ĸ ϴ. See KTUGOperate:16586
{{{#!vim tex
\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\begin{document}
\begin{minipage}{55mm}
\includegraphics[width=50mm]{test1}
\captionof{figure}{Test1}
\end{minipage}
\hfil
\begin{minipage}{55mm}
\includegraphics[width=50mm]{test2}
\captionof{figure}{Test2}
\end{minipage}
\end{document}}}}
ǥ پ ٳ
ϴ. See
->[http
KTUGOperate:
//ftp.ktug.or.kr/mirrors/CTAN//macros/latex/contrib/caption/caption.pdf caption.pdf]
16909
{{{
#!vim tex
\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\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}
\captionof*{figure}{Test1}
\end{table}
\end{document}
}}}
==== ĸ ȸ ġٲٱ ====
==== ĸ ====
δ ǥ ̾ ϳ ǥ ϰ , ù° ǥ ĸ ȣ ǥ '''ϰ''' پ ϰ, ι° ĸ `(continued)` ǥõǾ Ѵ. ̷ ĸ ̴ ccaption Ű `\contcaption` ϸ ϴ.
ǥ ù ൵ Ǯ ǵ ִ. caption̳ caption2 Ű ̿ KTUGOperate:16287'''''' KTUGOperate:16264'''''' ִ.
==== Side Caption ====
Uploads:sidecap1.jpg
Ʒ ҽ ϸ ĸ ٴ´.
{{{#!vim tex
\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}
}}}
==== Caption ====
'''Q2'''(From KTUGOperate:14733'''''')''':''' ϴ Ʒ ϴ.
{{{
Table 1
̺ ĸ.....
------------------------------------
------------------------------------
}}}
Ź帳ϴ.
'''A2:''' :-9 '''caption''' Ű ϴ.
{{{#!vim tex
\documentclass{article}
\usepackage{
hfont
kotex}
\usepackage[labelsep=newline]{caption}%ɼδ newline none, colon, period, space, quad \begin{document}
@@ -60,48 +206,44 @@
\end{document}}}}
'''A3'''(From KTUGOperate:22025'''''')''':''' See CTAN:macros/latex/contrib/caption/caption.pdf
http://www.ktug.or.kr/jsboard/data/operate/files/20070724193852/left-caption
̸ ִ.
jpg
{{{#!vim tex
\documentclass[a4paper]{article}
\usepackage{
hangcaption
graphicx}
\usepackage[labelfont=bf]{caption}
\begin{document}
\begin{
table
figure}[
htpb
!h]
\end{
table}
}}}
listoffigures ٸ ִ.
====
Float ƴ
Caption
`\caption`
ֱ ====
'''A4'''(From KTUGOperate:2124'''''')''':''' \
tabcaption{ֱ}
{{{#!vim tex
\begin{figure}
\includegraphics{
foo
something}
\
figcaption
caption{$\protect a \cong b$} % \protect ɾ Ͽ \cong ɾ Ǯ Ѵ.
\end{
figure}
}}}
http://www.ktug.or.kr/doc/lshort-kr/lshort-kr.pdf
====
ū ְ ĸ
Ǵ ====
fltpage Ű
`\contcaption`
FPfigure, FPtable ȯ
ϸ
.
ǥ(Table) (Figure) ٴϴ ü ĸ ٴ´.
1 Caption ο ļ ϱ ¶
caption Ű
ĸǿ caption Ű ̿Ѵ.
\documentclass{article} \usepackage{graphicx} \usepackage{caption} \captionsetup{% format=hang, font=small, labelfont=sf, textfont=rm, labelsep=colon } \begin{document} \begin{figure} \centering{ \includegraphics{1-1} } \caption{Electrical pattern slop trace, hereaftern, oscillation of cycosolic $\tilde{C}$a$^{-2} $middle trace and force development bottom trace and force in a locus following depolarization of the smooth muscle membrane. The initial steady-state values of parameters and constants of the model display a slow wave electrical mode. fluctuation of cytosolic $\tilde{C}$a$^{-2}$ and regular phasic contracuons of constant amplitude } \end{figure} \end{document}
hangcaption Ű
hangcaption Ű ̿Ͽ.
\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}
2 Float ƴ 쿡 Caption ֱ ¶
caption Ű
ٴϴ ü ƴ 쿡 \caption ٿ 찡 ʴ. caption Ű \captionof .
\captionof{figure}{figure label} \captionof{table}{tablelabel}\caption* ɿ ϴ \captionof* ɵ ִ. caption ǥ listof.. ʴ´. \captionof \captionof* minipage Ǵ parbox ȯ ȿ Ѵ.
3 Minipage Ǵ ǥ Caption ֱ ¶
Ǵ ǥ ø ĸ ϴ. See 16586
\documentclass{article} \usepackage{graphicx} \usepackage{caption} \begin{document} \begin{minipage}{55mm} \includegraphics[width=50mm]{test1} \captionof{figure}{Test1} \end{minipage} \hfil \begin{minipage}{55mm} \includegraphics[width=50mm]{test2} \captionof{figure}{Test2} \end{minipage} \end{document}
4 Table ȯ濡 Caption ֱ ¶
ǥ پ ٳ 쿡 ϴ. See 16909
\documentclass{article} \usepackage{graphicx} \usepackage{caption} \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} \captionof*{figure}{Test1} \end{table} \end{document}
7 Side Caption ¶
Ʒ ҽ ϸ ĸ ٴ´.
\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}
8 Caption ¶
Q2(From 14733): ϴ Ʒ ϴ.
Table 1 ̺ ĸ..... ------------------------------------ ------------------------------------
Ź帳ϴ.
A2: caption Ű ϴ.
\documentclass{article} \usepackage{kotex} \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}
Q3(From 22013): ĸ ű غ \captionsetup ϴ... ؾ ϴ ? Ϸּſ...Ź帮ڽϴ.
\documentclass[a4paper]{article} \usepackage{graphicx} \usepackage[labelfont=bf]{caption} \begin{document} \begin{figure}[!h] \centering \includegraphics[scale=0.5]{aptosta} \captionsetup{singlelinecheck=off} \caption{ $\protect\overrightarrow{AB}$ } \label{fig:illus} \end{figure} \end{document}