Problem Statement
I adjusted the caption format for my figures and tables using the caption
package, such that the words "Figure" and "Table" are typeset using small caps. Now I want to obtain correct letterspacing for these words using the microtype
package and the command \textls
, but adding labelfont = ls
in the caption setup doesn't work.
Minimal working example
\documentclass{scrartcl}
\pagestyle{empty}
\usepackage{tikz}
\usepackage{microtype}
\usepackage{caption}
\captionsetup{
format = plain,
font = footnotesize,
labelfont = sc
}
\begin{document}
\begin{figure}[!htb]
\centering
\begin{tikzpicture}
\draw (0,0) circle[radius=1];
\end{tikzpicture}
\caption{A circle.}
\label{fig:sine}
\end{figure}
\end{document}
Sample output
Note the non-letterspaced small caps here.
Best Answer
The KOMA-script classes have their own method for changing basic aspects of the caption typesetting. On the other hand, the
caption
package allows greater flexibility and many more customization options.Since the package can't know each and every font combination, it also provide an interface for defining new options.
In your case you can do
See Section 4 “Own enhancements” in the documentation of
caption
.