In book documentclass, the section marks in the header are put in all caps. For normal text, that is okay.
However, I've just noticed that the same happens to letters in math mode, which is obviously bad, as the meaning of the letter may change depending on the capitalization. Is there a simple way to fix it? (Hopefully without having to rewrite all headers via fancyhdr or something.)
MWE:
\documentclass{book}
\begin{document}
\section{$n+2=N$}
\end{document}
amsbook
contains a definition for\uppercasenonmath
for just this purpose. it's a bit complicated, and i haven't time to dig it out now, but it could serve as a model.fancyhdr
).