1

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.

Colas
  • 6,772
  • 4
  • 46
  • 96

1 Answers1

6

Declaring \everymath{} should do it.

\documentclass{article}
\everymath{\displaystyle}

\everymath{}

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