Since there is no preamble to set \displaystyle for the whole text, how can we do to avoid writing \displaystyle each time we write a new formula?
(but I still want to write inline)
For example if I want to write this :
$\sum\limits_{k=1}^{n} u_k$ is ... so we have $\sum\limits_{k=1}^{n} u_k ^2 = ...$, and it implies that $\sum ...$. but I don't want to write \displaystyle each time.
Thanks in advance.
$$<content>$$
$\endgroup$ – amWhy Dec 27 '20 at 15:53$\displaystyle{........................................................}$
$\endgroup$ – amWhy Dec 27 '20 at 16:20$\newcommand\sumi[3]{\sum\limits_{#1=#2}^{#3}}$
in the post (somewhere near to the beginning) to shorten all sums to something like$\sumi k0n\binom nk$
$\sumi k0n\binom nk$. Your example would look like:$\sumi k1n u_k$ is ... so we have $\sumi k1n u_k ^2 =$
$\sumi k1n u_k$ is ... so we have $\sumi k1n u_k ^2 =$. $\endgroup$ – Martin Sleziak Dec 27 '20 at 17:36\displaystyle
should be very seldomly used. If you want it to be big, make it appear in the center with$$...$$
. Otherwise, you make paragraphs have too much spacing so they do not flow as easily as they should $\endgroup$ – Calvin Khor Dec 28 '20 at 2:17