2

Here is an example:

\documentclass{scrartcl}

\usepackage{newtxtext}
\addtokomafont{captionlabel}{\slshape}

\begin{document}

\begin{figure}
  \caption{Test}
\end{figure}

\end{document}

Why is the number not slanted? And is there a way to avoid this?

3
  • 1
    Not all fonts have a slanted shape. Commented Sep 29, 2016 at 15:34
  • 1
    What does \textsl{12\textbf{12}} give? Are the numbers slanted?
    – cgnieder
    Commented Sep 29, 2016 at 15:39
  • @clemens I see, the numbers are neither slanted nor bold. I guess I should keep my hands off this font then.
    – Daniel
    Commented Sep 29, 2016 at 15:44

1 Answer 1

3

As suggested in the comments slanted is not supported by newtxtext. So an alternative is to go for italics instead, i.e.

\documentclass{scrartcl}

\usepackage{newtxtext}
\addtokomafont{captionlabel}{\itshape}

\begin{document}

\begin{figure}
  \caption{Test}
\end{figure}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .