For reasons that are beyond me, the following MWE
\documentclass{scrreprt}
\usepackage{classicthesis-ldpkg}
\usepackage{bm}
\usepackage{amsmath}
\begin{document}
\section{The values of $\beta$ for which $\omega_i \mid \bm{\omega}
\mid^{-\beta}$ is defined at the origin}
\end{document}
fails to compile with the following error:
! TeX capacity exceeded, sorry [input stack size=5000].
<to be read again>
\HyPsd@@LetCommand
l.9 ...a} \mid^{-\beta}$ is defined at the origin}
I've tried increasing the amount of memory available to pdfLatex but that doesn't solve the problem. I've also googled to no avail. Is there a workaround for this problem.
\DeclarePairedDelimiters
instead of that pair of\mid
?