\documentclass[11pt,b4j,landscape,twocolumn]{jsarticle}
\usepackage[bold]{otf}
\usepackage[dvipdfmx]{graphicx,color}

\textwidth=310mm \textheight=215mm \columnseprule=0pt
\topmargin=-20mm \oddsidemargin=-12mm

\newenvironment{nidan}{\begin{minipage}[t]{.225\textwidth}}{\end{minipage}}
\def\nidangumi#1#2{\begin{nidan}{#1}\end{nidan}\quad%
\begin{nidan}{#2}\end{nidan}}

\newcounter{toi} \newcounter{subtoi}[toi]
\newcounter{subsubtoi}[subtoi]

\def\toi{\refstepcounter{toi}\par          % 問
  \makebox[2zw][r]{\LARGE\ajKaku{\value{toi}}\hspace{0.5zw}}%
  \hangindent=2zw}

\newcounter{subtoihyoji}
\def\subtoi{\refstepcounter{subtoi}\par    % 小問
  \setcounter{subtoihyoji}{\value{subtoi}}
	\ifnum\thesubtoi>20
		\addtocounter{subtoihyoji}{9873}
	\else
		\addtocounter{subtoihyoji}{8070}
	\fi
  \makebox[3.4zw][r]{\CID{\thesubtoihyoji}\hspace{1zw}}%
  \hangindent=3.4zw}

\newcounter{subsubtoihyoji}
\def\subsubtoi{\refstepcounter{subsubtoi}\par    % 小小問
  \setcounter{subsubtoihyoji}{\value{subsubtoi}}
  \addtocounter{subsubtoihyoji}{7554}
  \makebox[4.2zw][r]{\CID{\thesubsubtoihyoji}\hspace{1zw}}%
  \hangindent=4.2zw}

\pagestyle{empty}

\begin{document}
%
%  ===========================以下本文===============================
%
\def\namae{%
{\Large\bf 数学プリント（かけ算九九） \# 0}\hfill
年\hskip5ex 組\hskip5ex 号

\hskip30zw
\underline{氏名\rule[-2ex]{0cm}{6ex}\hskip30ex}}

\namae

\vskip3mm
\unitlength=1mm

\large

\bigskip

\def\kakeru#1#2{
\begin{picture}(35,10)(0,0)
\put(5,5){\makebox(0,0){\LARGE #1}}
\put(15,5){\makebox(0,0){\LARGE #2}}
\put(10,5){\makebox(0,0){\LARGE $\times$}}
\put(20,4.5){\makebox(0,0){\LARGE $=$}}
\end{picture}}

\toi かけ算九九

\kakeru35
\kakeru76
\kakeru82
\kakeru72
\vfill

\kakeru55
\kakeru32
\kakeru68
\kakeru29
\vfill

\kakeru47
\kakeru96
\kakeru38
\kakeru42
\vfill

\kakeru49
\kakeru64
\kakeru87
\kakeru44
\vfill

\kakeru26
\kakeru84
\kakeru95
\kakeru22
\vfill

\kakeru36
\kakeru52
\kakeru89
\kakeru66
\vfill

\kakeru43
\kakeru74
\kakeru99
\kakeru58
\vfill

\vspace*{2zh}

\newpage

\kakeru73
\kakeru48
\kakeru53
\kakeru78
\vfill

\kakeru33
\kakeru85
\kakeru27
\kakeru67
\vfill

\kakeru63
\kakeru45
\kakeru39
\kakeru83
\vfill

\kakeru93
\kakeru97
\kakeru56
\kakeru34
\vfill

\kakeru75
\kakeru62
\kakeru46
\kakeru25
\vfill

\kakeru59
\kakeru42
\kakeru94
\kakeru98
\vfill

\kakeru37
\kakeru69
\kakeru65
\kakeru79
\vfill

\kakeru28
\kakeru54
\kakeru86
\kakeru23
\vfill

\kakeru57
\kakeru88
\kakeru77
\kakeru92
\vfill


\vspace*{2zh}


\end{document}
