KTUGFaq
KTUG FAQ
PostScript › AcroEdit/WordIndex › 30mm › LaTeXθå&value=KC2007/ó › 占쏙옙占쏙옙占싱놂옙占쏙옙&value=LaTeX/버전 › CaptionOfFloats
r1.12
@@ -1,12 +1,58 @@
ǥ
(Table)
(Figure) [ٴϴ ü] ĸ ٴ´.
[[TableOfContents]]
{{{
$ texdoc caption-eng
}}}
KC2008
{{{
#> kctexdoc caption-eng
}}}
==== Caption ο ļ ϱ ====
ĸ
ļ ϴ
caption Ű
.
{{{#!vim tex
\
captionwidth
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}
}}}
http://www.ktug.or.kr/jsboard/data/operate/files/20070810144935/caption.PNG
'''hangcaption Ű
'''
hangcaption Ű ̿Ͽ.
{{{#!vim tex\usepackage{hangcaption}
@@ -24,56 +70,42 @@
\end{table}}}}
[ٴϴ ü] ƴ 쿡 `\
includegraphics
caption` ٿ 찡 ʴ. caption Ű {
foo
{{\captionof}
}} .
{{{
\
figcaption
captionof{figure}{figure label}
\captionof{table}{
tablelabel}
}}}
\captionof \captionof* minipage Ǵ parbox ȯ ȿ Ѵ.
==== Minipage Ǵ ǥ Caption ֱ ==== Ǵ ǥ ø ĸ ϴ. See KTUGOperate:16586
{{{
#!vim tex
\documentclass{article}\usepackage{graphicx}
\usepackage{
ccaption}
\begin{document}
\begin{minipage}{55mm}
\includegraphics[width=50mm]{test1}
\
figcaption
captionof{figure}{Test1}
\end{minipage}\hfil
\begin{minipage}{55mm}
\includegraphics[width=50mm]{test2}
\
figcaption
captionof{figure}{Test2}
\end{minipage}\end{document}
}}}
==== Table ȯ濡 Caption ֱ ====
ǥ پ ٳ 쿡 ϴ. See KTUGOperate:
16900
16909
{{{
#!vim tex
\documentclass{article}\usepackage{graphicx}
\usepackage{
ccaption}
\begin{document}
\begin{table}
@@ -89,7 +121,7 @@
\end{tabular}\\\smallskip
\includegraphics[width=50mm]{test1}
\
figcaption
captionof*{figure}{Test1}
\end{table}\end{document}
@@ -103,7 +135,7 @@
Uploads:sidecap1.jpgƷ ҽ ϸ ĸ ٴ´.
{{{
#!vim tex
\documentclass{article}\usepackage{caption}
\usepackage{sidecap}
@@ -140,9 +172,9 @@
\end{Example}\end{document}
}}}
'''
Q1:
Q2''' (From KTUGOperate:14733'''''')
''':''' ϴ Ʒ ϴ.
{{{Table 1
̺ ĸ.....
@@ -150,17 +182,16 @@
------------------------------------}}}
Ź帳ϴ.
'''
A
A2:'''
(From KTUGOperate:
14734
-9 '''
caption'''
) `ccaption` Ű
See->[http://ftp.ktug.or.kr/mirrors/CTAN//macros/latex/contrib/ccaption/ccaption.pdf ccaption
ϴ.
pdf]
{{{
#!vim tex
\documentclass{article} \usepackage{
hfont
kotex}
\usepackage
[labelsep=newline]{
ccaption
caption}
%ɼδ newline none, colon, period, space, quad
\begin{document}
\begin{table}
\begin{center}
\begin{tabular}{|c|c|}
@@ -174,25 +205,45 @@
\end{table}\end{document}
}}}
'''Q3'''(From KTUGOperate:22013'''''')''':''' ĸ ű غ \captionsetup ϴ... ؾ ϴ ? Ϸּſ...Ź帮ڽϴ.
'''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{graphicx}
\usepackage[labelfont=bf]{caption}
\begin{document}\begin{
table
figure}
[!h]
\
caption{Fancy Caption}
centering
\
begin
includegraphics[scale=0.5]{
center
aptosta}
\
begin
captionsetup{
tabular}{|c|c|
singlelinecheck=off}
\
end
label{
center
fig:illus}
\end{
table
figure}
\end{document}}}}
==== Caption ȿ ֱ ====
'''Q4'''(From KTUGOperate:2123'''''')''':''' \caption ȿ ־ ϴ 찡 ִ.
'''A4'''(From KTUGOperate:2124'''''')''':''' \protect ɾ ϸ ȴ.
{{{#!vim tex
\begin{figure}
\includegraphics{something}
\caption{$\protect a \cong b$} % \protect ɾ Ͽ \cong ɾ Ǯ Ѵ.
\end{figure}
}}}
Ʒ 2 13 κ ϶.
http://www.ktug.or.kr/doc/lshort-kr/lshort-kr.pdf
==== ū ְ ĸ Ǵ ====
Ŀ ĸ () ϴܿ ּó ־ ϴ 찡 ִ.
fltpage Ű 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}