How show all the formulas with displaystyle,avoinding typing repeteadly \displaystyle?
\documentclass[10pt,a4paper]{article}
\begin{document}
Without any \emph{displaystyle}
$
\frac{5+\frac{2}{5+\frac{2}{5}}}{5-\frac{2}{5-\frac{2}{5}}}
$
With any \emph{displaystyle}
$
\frac{5+\displaystyle{\frac{2}{5+\frac{2}{5}}}}{\displaystyle{5-\frac{2}{5-\frac{2}{5}}}}
$
With more \emph{displaystyle}
$\displaystyle{
\frac{5+\displaystyle{\frac{2}{5+\frac{2}{5}}}}{\displaystyle{5-\frac{2}{5-\frac{2}{5}}}}
}$
\textbf{How to use displaystyle in all the expresion withou typing displaystyle repeteadly in all the fractions/sqrt?}
\end{document}
\everymath
could be your friend here, but I doubt that it is very reasonable to use\displaystyle
everywhere – user31729 Oct 15 '17 at 15:13\DeclareMathSizes{10pt}{10pt}{10pt}{10pt}
– Skillmon Oct 15 '17 at 15:41\dfrac
or\cfrac
? – Bernard Oct 15 '17 at 16:38\displaystyle
at all if you set this as a math display. – David Carlisle Oct 15 '17 at 19:13