emath saloon (Read Only)

新規発言一覧最新記事過去一覧検索HOME

No.1235  hakoMSサンプル
発言者: 田中徹
発言日: 2014 11/24 23:43
マークシートが注目されている二学期も終わりを迎えようとしています。
BBS に tDB さんにお願いをしたままのようで、
少しでもお役に立てればとサンプルを作成しました。
ソースの [maskAns〜]のコメントアウトを入れ替えると
hakoMS の秀逸さがわかると思います。
(自分では十分確認したつもりですが、配布されるときはもう一度確認をお願いします) >皆様

%---- ここからサンプルソース
\documentclass[b4j]{jarticle}

\usepackage[papersize,notMy]{emathP}
%\usepackage[maskAnsfalse]{emathAe}
\usepackage[maskAnstrue]{emathAe}
\usepackage{hakoMS}
\pagestyle{empty}

\setlength{\paperwidth}{257mm}
\setlength{\paperheight}{365mm}
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-22mm}
\setlength{\textheight}{\paperheight}
\addtolength{\textheight}{-30mm}

\setlength{\leftmargin}{0mm}
\setlength{\oddsidemargin}{-12mm}
\setlength{\topmargin}{-10mm}
\setlength{\headsep}{0mm}
\setlength{\parindent}{0zw}
\setlength{\columnsep}{12mm}
\setlength{\columnseprule}{0mm}

\def\拡大率IA{0.9}%
\def\解答高IA{1.1}%
\newlength{\解答欄余白幅IA}%
\setlength{\解答欄余白幅IA}{0.8\tabcolsep}%

\def\拡大率IIB{0.9}%
\def\解答高IIB{1.1}%
\newlength{\解答欄余白幅IIB}%
\setlength{\解答欄余白幅IIB}{0.8\tabcolsep}%

\begin{document}
\hakosyotai{\gtfamily}%EMmarksheet だけなので、ここで記述

\twocolumn[
{\Large\bf{}2014年度 大学入試センター試験\quad{}数学\EMRoman{1}$\bm\cdot$A\quad{}解答用紙}%
\qquad{}%

\vspace*{3mm}
]

\begin{enumerate}{}%
\renewcommand{\labelenumi}{{\large{\protect\makebox[0em][c]{\bfseries\ {第 \arabic{enumi} 問}\ }}}}%
\item %
\mbox{}

\scalebox{\拡大率IA}
{%
\def\arraystretch{\解答高IA}
\setlength\tabcolsep{\解答欄余白幅IA}
\EMmarksheet%
[1,,,,2,,,2,,2,,,,,3,,2,,4,,4]
'2,2,$-$,1,6,8,3,6,1,6,4,1,6,8,4,1,0,0,4,1,4'
{21}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\vfill

\item %
\mbox{}

\scalebox{\拡大率IA}
{%
\def\arraystretch{\解答高IA}
\setlength\tabcolsep{\解答欄余白幅IA}
\EMmarksheet%
[,,,,3,,,2,2,2,,1,,1,1,3,,,1,3,,1,,2,,1,,,2]
'$-$,2,6,3,6,3,$-$,1,4,8,$-$,3,3,3,6,1,$-$,3,9,6,3,6,$-$,3,3,1,$-$,7,3'
{29}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\vfill

\newpage
\item %
\mbox{}

\scalebox{\拡大率IA}
{%
\def\arraystretch{\解答高IA}
\setlength\tabcolsep{\解答欄余白幅IA}
\EMmarksheet%
[3,,3,,,3,,,,,3,,4,,,,4,,,,4,,3,3]
'4,7,8,1,5,8,8,1,5,1,5,8,3,2,1,0,3,2,1,0,5,5,8,4'
{24}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\vfill

\item %
\mbox{}

\scalebox{\拡大率IA}
{%
\def\arraystretch{\解答高IA}
\setlength\tabcolsep{\解答欄余白幅IA}
\EMmarksheet%
[2,2,,3,,,,,3,3,,3,3,,3,,,3]
'6,6,3,6,1,1,2,9,6,6,3,0,2,9,0,1,5,6'
{18}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\vfill{}

\end{enumerate}
\onecolumn%
\twocolumn[
{\Large\bf{}2014年度 大学入試センター試験\quad{}数学\EMRoman{2}$\bm\cdot$B\quad{}解答用紙}%
\qquad{}%

\vspace*{3mm}
]

\begin{enumerate}%
\renewcommand{\labelenumi}{{\large{\protect\makebox[0em][c]{\bfseries\ {第 \arabic{enumi} 問}\ }}}}%

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,2,,2,,2,3,,,2,,,2,2,1,1,1,1,1,1,1,1,,2,,2,,2,1]
'3,4,3,4,4,3,2,2,1,1,4,2,4,4,3,8,2,3,1,0,1,2,3,2,2,7,5,1,6'
{29}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,2,2,3,3,,,3,,2,,2,,,,3,,,,,3,,3,,4]
'3,2,0,1,3,$-$,1,1,3,3,2,3,1,$-$,1,2,$-$,9,4,1,4,2,4,1,1'
{25}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\newpage%
\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,,2,,2,,,,2,,,1,,,2,,2,2,2,,2,,,2]
'1,5,2,8,4,5,2,2,3,1,6,3,5,2,1,5,5,3,3,6,3,3,2,2,3'
{25}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,,,2,1,,2,2,1,1,,1,,2,1,,,,2,,,2,,,,,2,1]
'$-$,1,0,2,3,1,2,2,0,5,1,4,7,0,0,2,$-$,5,3,9,3,5,3,7,0,3,5,1'
{28}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\newpage
\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,,,,2,,1,2,,1,,1,2,,,2,2,2,2,2]
'1,4,1,0,0,0,3,2,4,1,8,1,4,0,1,5,0,5,8,4,1'
{21}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,2,2,2,,2,,,,2,,,2,,,1,,2,2,2]
'4,2,2,3,6,9,7,1,1,0,4,5,0,1,5,0,1,2,8,9,2'
{21}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\end{enumerate}%

\onecolumn
{\Large\bf{}2014年度 大学入試センター試験\quad{}数学\EMRoman{2}$\bm\cdot$B\quad{}解答用紙}%
\qquad{}%

\vspace*{3mm}

\def\拡大率IIB{0.8}%
\def\解答高IIB{1.1}%
\setlength{\解答欄余白幅IIB}{0.2\tabcolsep}%
\begin{edaenumerate}<retusuu=3,gyoukan=\vfill,edabottomsep=0mm>%
\renewcommand{\labelenumi}{{\large{\protect\makebox[0em][c]{\bfseries\ {第 \arabic{enumi} 問}\ }}}}%

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,2,,2,,2,3,,,2,,,2,2,1,1,1,1,1,1,1,1,,2,,2,,2,1]
'3,4,3,4,4,3,2,2,1,1,4,2,4,4,3,8,2,3,1,0,1,2,3,2,2,7,5,1,6'
{29}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,2,2,3,3,,,3,,2,,2,,,,3,,,,,3,,3,,4]
'3,2,0,1,3,$-$,1,1,3,3,2,3,1,$-$,1,2,$-$,9,4,1,4,2,4,1,1'
{25}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,,2,,2,,,,2,,,1,,,2,,2,2,2,,2,,,2]
'1,5,2,8,4,5,2,2,3,1,6,3,5,2,1,5,5,3,3,6,3,3,2,2,3'
{25}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,,,2,1,,2,2,1,1,,1,,2,1,,,,2,,,2,,,,,2,1]
'$-$,1,0,2,3,1,2,2,0,5,1,4,7,0,0,2,$-$,5,3,9,3,5,3,7,0,3,5,1'
{28}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,,,,2,,1,2,,1,,1,2,,,2,2,2,2,2]
'1,4,1,0,0,0,3,2,4,1,8,1,4,0,1,5,0,5,8,4,1'
{21}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\item %
\mbox{}

\hakosyotai{\gtfamily}
\scalebox{\拡大率IIB}
{%
\def\arraystretch{\解答高IIB}
\setlength\tabcolsep{\解答欄余白幅IIB}
\EMmarksheet%
[,1,2,2,2,,2,,,,2,,,2,,,1,,2,2,2]
'4,2,2,3,6,9,7,1,1,0,4,5,0,1,5,0,1,2,8,9,2'
{21}{$-$,0,1,2,3,4,5,6,7,8,9}
}

\end{edaenumerate}

\end{document}


▼関連発言

1235:hakoMSサンプル [田中徹] 11/24 23:43<-last

  返信フォーム [引用]
名 前 保存
題 名
メール省略可
★この板では,投稿者が改行を入れない限り
 延々と右に続きます。適宜,改行を入れてください。
発 言
URL 省略可
PASSWORD
書き込む

Pass 保存


CGIROOM