Is it possible in a document to cancel the command \everymath{\displaystyle}?
It is in the macros.sty file I use but I would like to cancel it in some documents without changing my macros file.
Is it possible in a document to cancel the command \everymath{\displaystyle}?
It is in the macros.sty file I use but I would like to cancel it in some documents without changing my macros file.
Declaring \everymath{} should do it.
\documentclass{article}
\everymath{\displaystyle}
\everymath{}
\begin{document}
This is not display style: $\frac{a}{b}$
\end{document}
\everymath{\displaystyle}to begin with. It's wrong, utterly wrong. – egreg Jan 11 '17 at 21:48