周りの空きを直接指定することで、微妙に紙に納まらない時などに便利。
プリアンブルに以下のように書く。
\def\centertext{%
\oddsidemargin=\paperwidth
\advance\oddsidemargin-\textwidth
\oddsidemargin=0.5\oddsidemargin
\advance\oddsidemargin-1in
\evensidemargin=\oddsidemargin
\topmargin=\paperheight
\advance\topmargin-\textheight
\topmargin=0.5\topmargin
\advance\topmargin-\headsep
\advance\topmargin-\headheight
\advance\topmargin-1in
}
\textwidth=\paperwidth
\advance\textwidth-1.3in
\textheight=\paperheight
\advance\textheight-2in
\centertext
最後から2番目と4番目の行で、紙の大きさからどれだけ減らすかを指定する。 あたりまえやけど幅の増減の方が効く。
