Only limits on \mathop
operators (like \sum
) change in dispaystyle. Limits on relational infix operators stay in subscript position.
You could do
$P \displaystyle\mathrel{\mathop{\simeq}_p} Q$
To locally get mathop positioning and then make the construct a relation again.
Note that I do not actually recommend you do the following. But, since you ask: You can force TeX/LaTeX to issue the directive \displaystyle
automatically whenever you initiate inline-math mode -- via either an opening-$
or a \(
instruction -- by inserting the following command in your document's preamble:
\everymath{\displaystyle}
Again, I do not recommend you take this route. There are excellent typographic reasons for not using large summation, product, and integral symbols while in inline-math mode. Likewise, it's almost invariably a bad idea to typeset display-style fraction constructs while in inline math mode.
For much more information on this matter, I suggest you take a look at the posting Show inline math as if it were display math.
I can think of only one exception to the broad stricture against the automatic use of \displaystyle
: In beamer
-class documents, it is quite important not to let the math symbols become too small. One way of achieving this is to use \displaystyle
throughout. Even for beamer
documents, though, providing the instruction \everymath{\displaystyle}
may be too much of a good thing.
Addendum, prompted by a follow-up comment by the OP: To revert back to "text style" while in inline math mode, just issue the command \textstyle
. The following MWE illustrates the look of various math objects if \displaystyle
and \textstyle
are in effect:
\documentclass{article}
\everymath{\displaystyle} % automatically use display style while in inline math mode
\begin{document}
$\sum \quad \prod \quad \int \quad \frac{abc}{xyz}$
$\textstyle\sum \quad \prod \quad \int \quad \frac{abc}{xyz}$
\end{document}
Best Answer
You could wrap the content in a
varwidth
environment, and use\Large
to obtain larger text:As mentioned in the comments
\displaystyle
should be used in math mode, So if you were using inline math$ ... $
, the you could add\displaystyle
as follows:Code: