%%% %%% A4 style で出力を用紙中央にする $Revision: 1.2 $ %%% by FURIHATA Daisuke %%% %%% usage: プリアンブルの適当な部分で input{...} で読み込む %%% %%% $Header: /home/Mori/paoon/tex/MACROS/a4center.tex,v 1.2 1998/03/26 06:29:24 paoon Exp $ %%% $Log: a4center.tex,v $ %Revision 1.2 1998/03/26 06:29:24 paoon %I removed the line include "\thefootheight". % %Revision 1.1 1995/02/27 05:41:43 paoon %Initial revision % %%% 長さ変数の作成 \newlength{\dummylength} %%% 本文の位置を左右中央にする \setlength{\dummylength}{21.0cm} %%% A4紙の幅 \addtolength{\dummylength}{-\textwidth} \setlength{\oddsidemargin}{-1.0in} %%% 横の空幅を半分ずつにする \addtolength{\oddsidemargin}{0.5\dummylength} \setlength{\evensidemargin}{-1.0in} \addtolength{\evensidemargin}{\oddsidemargin} %%% 本文の位置を上下中央にする \setlength{\dummylength}{29.7cm} %%% A4紙の長さ \addtolength{\dummylength}{-\textheight} \addtolength{\dummylength}{-\headheight} \addtolength{\dummylength}{-\headsep} % \addtolength{\dummylength}{-\footheight} % for LaTeX2e \addtolength{\dummylength}{-\footskip} \setlength{\topmargin}{-1.0in} %%% 上下の空幅を半分ずつにする \addtolength{\topmargin}{0.5\dummylength}