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

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).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.