I have a question about the \displaystyle
command. So every time I write a quiz or test, in order to make a fraction, limit, integral, etc. look decent, I have to do something like,
$\displaystyle\frac{2}{3}$
or
$\displaystyle\int_{0}^{\infty} e^{-5x}dx$.
If I do not input this command, the text is absurdly small. Is there a package or command I can put in my template so that it just automatically assumes to do the \displaystyle
command?
I run MiKTeX on a Windows computer. I have decent LaTeX knowledge, but am foggy in templates.
Best Answer
I don't really recommend this, but
\everymath{\displaystyle}
is a way to achieve the display style for math content, i.e. for inline math content as well.In my opinion the usage of the various
align
like environments should be preferred or\[...\]
.Please consider also
\dfrac{2}{3}
for example as a 'nicer' way of displaying fractions.As Zarko stated in comment: Using
\displaystyle
all the way will increase the spacing between the lines and leaves a disrupted look of the page.Again: Don't do it.