Re: ページスタイルとレイアウトについて

名前: cherry
日時: 2006-09-07 16:31:01
IPアドレス: 219.211.40.*

>>44746 > そして、サイズはa4なのですが、問題の部分下部の余白 > が大きいと2,3cm位できてしまいます。 > 文章題とか解答欄が多く必要ならばともかく、この計算問題にこんなに > 余白はいらないと思うのです。 採点はしないのでしょうか。解答欄が小さいとコメントが書けませんが。 むしろ用紙の余白を小さくし、解答欄をできるだけ大きくする方向で調整しました。 fancyhdr を使う方針を生かしたサンプルです。 \documentclass[a4j,twocolumn]{jsarticle} % パッケージ類の読み込み \usepackage{fancyhdr} % 横方向の設定 \setlength{\textwidth}{170truemm} \setlength{\oddsidemargin}{\paperwidth} \addtolength{\oddsidemargin}{-\textwidth} \setlength{\oddsidemargin}{.5\oddsidemargin} \addtolength{\oddsidemargin}{-1truein} % 縦方向の設定 \setlength{\textheight}{237truemm} \setlength{\topmargin}{\paperheight} \addtolength{\topmargin}{-\textheight} \setlength{\topmargin}{0.5\topmargin} \addtolength{\topmargin}{-\headsep} \addtolength{\topmargin}{-1truein} % fancyhdr 用の設定 \pagestyle{fancy} \renewcommand{\headrulewidth}{0.1pt} \lhead{\textbf{2006年度中学1年2学期数学小テスト}} \chead{} \rhead{\textbf{\underline{\hspace{3zw}}組 \underline{\hspace{3zw}}番 \hspace{1zw}氏名 \underline{\hspace{15zw}}}} \cfoot{} % 二段組みの設定 \setlength{\columnseprule}{0.1pt} \setlength{\columnsep}{0pt} % enumerate の設定 \renewcommand{\labelenumi}{\textbf{\theenumi.}} \renewcommand{\theenumii}{\arabic{enumii}} % Document Start \begin{document} \begin{enumerate} \item 次の計算をせよ。 \begin{enumerate} \item $(-12)+(+9)$ \vfill \item $0-(-18)$ \vfill \item $5.7+(-5.9)$ \vfill \item $\displaystyle{\Bigl(-\frac{4}{5}\Bigr)-\Bigl(-\frac{2}{3}\Bigr)}$ \vfill \item $(-0.8)\times 1.6$ \vfill \item $\displaystyle{\frac{7}{12}\times \Bigl(-\frac{3}{14}\Bigr)}$ \vfill \item $(-8.4)\div 1.4$ \vfill \item $\displaystyle{\frac{8}{27}\div \Bigl(-\frac{4}{21}\Bigr)}$ \vfill \newpage \item $(-2)^{4}\div 8\times (-3^2)$ \vfill \item $\{-4^{2}+(-5)^{2}\}\times (-2)^{3}$ \vfill \item $\displaystyle{(2-1.5)^{2}\div \frac{(-5)^{2}}{2^2}}$ \vfill \item $\displaystyle{\Bigl(\frac{2}{3}x-\frac{5}{6}\Bigr)-\Bigl(\frac{1}{4}x-\frac{1}{2}\Bigr)}$ \vfill \item $\displaystyle{-\frac{3}{8}(72x+32)}$ \vfill \item $\displaystyle{(-36m-12)\div \Bigl(-\frac{12}{7}\Bigr)}$ \vfill \end{enumerate} \end{enumerate} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)