10

When I use the \Cref command of cleveref package, it doesn't apply the corresponding kerning:

Here is a minimal example:

\documentclass{scrartcl}
\usepackage[thref]{ntheorem}
\usepackage{cleveref}

\newtheorem{thm}{Teorema}

\begin{document}
\begin{thm}\label{thm}
    Teorema
\end{thm}
Te \\
\Cref{thm}
\end{document}

There is no kerning between the T and the e of Teorema.

How can I solve this? Is this a bug?

enter image description here

1 Answer 1

10

It's not to be considered a bug. The capitalization is obtained by applying \MakeUppercase, so detaching the first letter. Just teach cleveref what's your preferred capitalised form:

\documentclass{scrartcl}
\usepackage{ntheorem}
\usepackage{cleveref}

\newtheorem{thm}{Teorema}
\Crefname{thm}{Teorema}{Teoremi}

\begin{document}
\begin{thm}\label{thm}
    Teorema
\end{thm}
Te \\
\Cref{thm}
\end{document}

enter image description here

I'd avoid the thref option to ntheorem, as cleveref overrides it (and issues a warning about it).

You must log in to answer this question.

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