I'm trying to use uwave
and cleveref
together:
\documentclass{article}
\usepackage{ulem}
\usepackage{cleveref}
\begin{document}
\uwave{\cref{sec:A}}
\section{A}
\label{sec:A}
\end{document}
After calling pdflatex
twice, I get following output:
! Extra }, or forgotten \endgroup. \UL@stop ...z@ \else \UL@putbox \fi \else \egroup \egroup \UL@putbox \fi \if... l.5 \uwave{\cref{sec:A}}
?
What am I doing wrong or whom should I ask for a fix?
Similar effect with soulpos
and cleveref
:
\documentclass{article}
\usepackage{xcolor}
\usepackage{soul}
\usepackage{cleveref}
\begin{document}
\hl{\cref{sec:A}}
\section{A}
\label{sec:A}
\end{document}
! Argument of \cref has an extra }. \par l.6 \hl{\cref{sec:A}}
?
\uwave
for references?