横向きモードでテキストをページの中央に正確に配置するにはどうすればよいですか?

横向きモードでテキストをページの中央に正確に配置するにはどうすればよいですか?

LaTeX でページ ドキュメントの中央にテキストを書き込む必要があります。

また、テキストをかなり大きくする必要がある(そのため、フォントサイズを大きくするコマンドが必要)ことと、このテキストは数式になります

たとえば、この画像が私が必要とするプロトタイプだとします。

ここに画像の説明を入力してください

誰かコードに関して手伝ってくれませんか?

背景全体を色づけする方法はすでに見つけました

\documentclass{article}
\usepackage{pagecolor}
\begin{document}
\pagecolor{green!5!}


\end{document}

しかし、今は中央揃えの横長の方法と、数式用のフォントの増加が必要です (したがって、純粋なテキストではなく、通常はそれに問題があることはわかっています [または、より正確に言うと、過去には数式環境に関連するフォント サイズで問題がありました])。

前もって感謝します!

答え1

\documentclass[a4paper,landscape,fontsize=50pt]{scrartcl}
\usepackage{lmodern}
\usepackage{xcolor}
\pagestyle{empty}
\begin{document}
\color{red}
\[e^{i\pi} + 1 = 0\]
\end{document}

ここに画像の説明を入力してください

またはそれ以上:

\documentclass[a4paper,landscape,fontsize=100pt,DIV=50]{scrartcl}
\usepackage{lmodern}
\usepackage{xcolor}
\pagestyle{empty}
\begin{document}
\color{red}
\[e^{i\pi} + 1 = 0\]
\end{document}

ここに画像の説明を入力してください

答え2

それを実現するためのコードがこれです。

\documentclass{article}
\usepackage{pagecolor}
\pagecolor{green!5!}
\usepackage{amsmath}
\usepackage{graphicx} % \scalebox
\usepackage{environ}
\usepackage{pdflscape}
\pagenumbering{gobble}% Remove page numbers (and reset to 1)
\NewEnviron{myequation}{%
\begin{equation*}
\scalebox{8.5}{$\BODY$}
\end{equation*}
}
\begin{document}
\begin{landscape}
\begin{center}
\vspace*{\fill}
\begin{myequation}
e^{\pi i} + 1 = 0
\end{myequation}
\vspace*{\fill}
\end{center}
\end{landscape}
\end{document}

ここに画像の説明を入力してください

関連情報