[Tex/LaTex] Cancel \everymath{\displaystyle}

displaystyle

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.

Best Answer

Declaring \everymath{} should do it.

\documentclass{article}
\everymath{\displaystyle}

\everymath{}

\begin{document}
This is not display style: $\frac{a}{b}$
\end{document}
Related Question