[Tex/LaTex] Bigger equation in text-mode math

equationsfontsizemath-mode

I want to write a "big" equation, not in display-math mode — as given by the equation environment — but in inline-math mode, say

$E=mc^2$

How can I enlarge it?

Best Answer

Will one of \large, \Large, \LARGE, \huge, or \Huge do? Observe that because these commands are text-mode commands, they must be executed before entering math mode.

enter image description here

\documentclass{article}
\usepackage{xcolor}
\begin{document}
\obeylines
{\tiny $E=mc^2$}
{\scriptsize $E=mc^2$}
{\footnotesize $E=mc^2$}
{\small $E=mc^2$}
{\color{red} $E=mc^2$ --- \texttt{\textbackslash normalsize}} % \normalsize is the default
{\large $E=mc^2$}
{\Large $E=mc^2$}
{\LARGE $E=mc^2$}
{\huge $E=mc^2$}
{\Huge $E=mc^2$}
\end{document}

Note the use of the curly braces to limit the scope of the size-setting switches.

Related Question