[Tex/LaTex] How to make math font huge

fontsizemath-mode

I would like to typeset a simple-to-medium-difficulty math formula on an A4/letter paper. It needs to be huge and preferably centered and portrait.

I can take care of the paper size, the orientation — but not the centering and font size.

Any resources you can recommend?

Best Answer

The graphicx package provides the command \resizebox. The lscape package provides the landscape environment.

Together they could be used as follows:

\documentclass{article}
\usepackage[paper=a4paper]{geometry}
\usepackage{graphicx}
\usepackage{lscape}

\begin{document}
\pagestyle{empty}

\begin{landscape}
\begin{center}
 \resizebox{20cm}{!}{$e^{i\pi}=-1$}
\end{center}
\end{landscape}

\end{document}

Note that the \resizebox takes arguments \resizebox{width}{height}. In the above I have used {!} for the height to ensure that the aspect ratio remains true- otherwise you might get ugly stretched boxes.