Syntax#
\displaystyleTakes no arguments. Reading argspecs
Common tasks#
How to force display style inside inline math#
Wrap the switch and the formula in a group so the style does not leak.
How to keep a nested fraction large#
How to put limits under an operator in a text-style slot#
Examples#
In TeXForm#
TeXForm parses this entry as declarative syntax; the package determines its argument specification.
See also#
\scriptscriptstylebase\scriptstylebase\textstylebase
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
{\displaystyle a} | Positive · baseline | Pass | Pass | Pass |