[Tex/LaTex] LyX analogue for LaTeX \everymath{\displaystyle}: inline math with the style of equations

displaystylelyxmath-mode

Is there a way to achieve in LyX what one can achieve using \everymath{\displaystyle} in LaTeX, that is to force all inline math to look the same as math in equations (large integral signs, full-size numerator and denominator in fractions etc).

I have tried to add \everymath{\displaystyle} to preamble but it doesn't seem to help.

Update: Thank you, Torbjørn. I should have said that I actually want the change in LyX' WYSIWYG mode itself (if that's possible).

Best Answer

I don't see anyone say it explicitly but it appears you know that you can add it to your LaTeX preamble in LyX. This won't change how the equations display in LyX while you're editing them i.e. when your cursor is in them. However, if you also turn on instant preview (in preferences under graphics) then it will change how they look the rest of the time.