`\documentclass{report}
\begin{document}
\chapter{\(a=b\)}
\section{\(a=b\)}
\subsection{\(a=b\)}
\subsubsection{\(a=b\)}
\footnote{\(a=b\)}
\end{document}`
Questo funziona, però!Ciao,
L.Azzardo: prova a mettere \tableofcontents. Dovrebbe dare errore.
Credo che il problema dei comandi fragili si presenti quando il codice deve venir riprocessato per fare qualcos’altro. In questo caso l’indice.
Infatti; il file .toc comincerebbe con
`\contentsline {chapter}{\numberline {1}\relax $a=b\relax \GenericError { }{LaTeX
Error: Bad math environment delimiter}{See the LaTeX manual or LaTeX Companion for
explanation.}{Your command was ignored.\MessageBreak Type I
to replace it with another command,\MessageBreak or
E al momento di leggerlo LaTeX si troverebbe in seri pasticci.
Ciao
Enrico