|
|
Welcome to the TeXnik web site Captions |
![]() |
||||||||||
|
Captions not listed in LOF/LOT
Captions apart from Floats
write in preamble:
Left aligned Captions
Center last Line
Linespacing in Captions \usepackage{setspace}
\let\myCaption\caption
\renewcommand\caption[1]{%
\doublespacing
\myCaption{#1}
}
Caption over/under floats \makeatletter
\newcommand{\@ldtable}{}
\let\@ldtable\table
\renewcommand{\table}{%
\setlength{\@tempdima}{\abovecaptionskip}%
\setlength{\abovecaptionskip}{\belowcaptionskip}%
\setlength{\belowcaptionskip}{\@tempdima}%
\@ldtable}
\makeatother
Vertical space over/under captions \setlength{\abovecaptionskip}{0.5cm} % 0.5cm as an example
\setlength{\belowcaptionskip}{0.5cm} % 0.5cm as an example
can be changed easy with the package caption, available at CTAN for
download. \usepackage[it]{caption} % captionfontattribut italic
\renewcommand\captionmargin{1cm} % new left and rightmargin
other packages are
With package ccaption.sty (double c!) you can change the captionlayout, too. F.ex.:
in the floating figure or table environment the captionstyle works not with special commands (e.g.math-symbols). Choose one of the following possibilities to shun an error:
\newcommand\myCaption[1]{\small\refstepcounter{figure}%
\centering\figurename\ \thefigure :\ #1}
in the float (!) choose paragraphstyle standard instead of
captionstyle and write
\myCaption{...the captiontext ...}
myCaption is only needful for captions with special math-symbols or special commands. counting of figure is continuing. |
|||||||||||