% NEC A47 format
% Copyright(c) 1988 by NEC Corporation$@!$(JAll Rights Reserved.
% $Header: a47.tex,v 1.3 88/12/07 11:56:33 rekimoto Exp $

% $@A4(JA47-1 $@7A<0$N%X%C%@(J
% Usage: \Ayonnana{$@G[I[@h(J}{$@BjL>(J}{$@J8=qHV9f(J}{$@F|IU(J}{$@=jB0(J}{$@:n@.<T(J}{$@JdB-(J}
\newcommand{\Ayonnana}[7]{
\vbox{
 \hrule height 1pt
  \hbox{\vrule width 1pt\vbox to 3.5cm{\vfill
      \hbox to 5cm{ \begin{tabular}{l}#1\end{tabular}\hfill}
      \vfill\vfill\vfill}\vrule\vbox to 3.5cm{
      \vfill
      \hbox to 6.9cm{\hfill\begin{tabular}{c}
				{\parbox{6.2cm}{\large\jlarge
					\begin{center}#2\end{center}}}
		           \end{tabular}\hfill}
      \vfill}\vrule\hbox{\vbox{
        \vbox to 0.8cm{
          \vfill
          \hbox to 6cm{\hfill {#3} \hfill}
          \vfill}\hrule\vbox to 0.8cm{
          \vfill
          \hbox to 6cm{\hfill\begin{tabular}{c}#4\end{tabular}\hfill}
          \vfill}
        \hrule
        \vbox to 1.9cm{\vfill
          \hbox to 6cm{\hfill
                       \begin{tabular}{l}#5\\
                                         {\large\jlarge #6}\end{tabular}
		       \hfill}
          \vfill}}}\vrule width 1pt}
  \hrule height 1pt}
\hspace{12.3cm}#7 
\vspace{5mm}
}

% $@>5G'!$::1\(J2$@L>MsIU$-%X%C%@(J
% Usage: \shounin{$@G[IU@h(J}{$@BjL>(J}{$@J8=qHV9f(J}{$@F|IU(J}{$@=jB0(J}{$@C4Ev(J}{$@JdB-(J}
\newcommand{\shounin}[7]{
\vbox{\hrule height 1pt
 \hbox{\vrule width 1pt
  \begin{tabular}{l|c|@{}c@{}}
   \parbox{4.5cm}{#1}&
   \parbox{6.2cm}{\centering #2}&
   \begin{tabular}{@{}c@{}}
    #3\\\hline
    #4\\\hline
    #5\\\hline
    \begin{tabular}{@{}c@{}|@{}p{1.5cm}@{}|@{}p{1.5cm}@{}|@{}c@{}}
     $@>5G'(J&\multicolumn{2}{c|}{$@::1\(J}&$@C4Ev(J\\\hline
     \rule{1.5cm}{0cm}&\rule{0cm}{1cm} &\rule{0cm}{0cm}
      &\raisebox{2.5mm}{\parbox{1.5cm}{\centering \vspace{1mm}#6\vspace{1mm}}}
    \end{tabular}
   \end{tabular}
  \end{tabular}\hspace{-1.4mm}
  \vrule width 1pt}
 \hrule height 1pt}
\hspace*{12.3cm}#7
\vspace{5mm}}

% $@>5G'!$::1\(J1$@L>MsIU$-%X%C%@(J
% Usage: \shouninx{$@G[IU@h(J}{$@BjL>(J}{$@J8=qHV9f(J}{$@F|IU(J}{$@=jB0(J}{$@C4Ev(J}{$@JdB-(J}
\newcommand{\shouninx}[7]{
\vbox{\hrule height 1pt
 \hbox{\vrule width 1pt
  \begin{tabular}{l|c|@{}c@{}}
   \parbox{4.4cm}{#1}&
   \parbox{6.0cm}{\centering #2}&
   \begin{tabular}{@{}c@{}}
    #3\\\hline
    #4\\\hline
    #5\\\hline
    \begin{tabular}{@{}c@{}|@{}p{1.7cm}@{}|@{}c@{}}
     $@>5G'(J&\multicolumn{1}{c|}{$@::1\(J}&$@:n@.(J\\\hline
     \rule{1.7cm}{0cm}&\rule{0cm}{1cm}% &\rule{0cm}{0cm}
      &\raisebox{2.5mm}{\parbox{1.7cm}{\centering\vspace{1mm}#6\vspace{1mm}}}
    \end{tabular}
   \end{tabular}
  \end{tabular}\hspace{-1.4mm}
  \vrule width 1pt}
 \hrule height 1pt}
\hspace*{11cm}#7
\vspace{2mm}}

% $@G[I[@h(J, $@<L(J
\newcommand{\haifu}[1]{$@G[I[@h(J)\\\hspace*{3mm}\parbox{4.1cm}{#1}}
\newcommand{\utsushi}[1]{{\small $@<L(J)\\\hspace*{3mm}\parbox{4.1cm}{#1}}}

% $@F|K\<0F|IU$r$@$9(J  1988$@G/(J1$@7n(J1$@F|(J
\def\jtoday{\number\year $@G/(J
 \ifcase\month\or
 1$@7n(J\or 2$@7n(J\or 3$@7n(J\or 4$@7n(J\or 5$@7n(J\or 6$@7n(J\or
 7$@7n(J\or 8$@7n(J\or 9$@7n(J\or 10$@7n(J\or 11$@7n(J\or 12$@7n(J\fi
 \space\number\day $@F|(J}
