%===========================================================
% 秋田工業高等専門学校電気情報工学科
%   実験実習レポートの表紙のスタイルファイル
%
%     2005.09.28. 山本昌志　　　作成
%     2005.11.23  山本昌志     amsmath.styを使っている部分を変更
%
%===========================================================
\newif\iflabels\labelsfalse
\def\expnumber#1{\gdef\@expnumber{#1}}

\def\registernumber#1#2{
  \gdef\@registernumberone{#1}
  \gdef\@registernumbertwo{#2}
}
\def\schoolyear#1{\gdef\@schoolyear{#1}}
\def\groupnumber#1{\gdef\@groupnumber{#1}}
\def\author#1{\gdef\@author{#1}}

\def\member#1#2#3#4#5#6{
  \gdef\@memberone{#1}\gdef\@membertwo{#2}
  \gdef\@memberthree{#3}\gdef\@memberfour{#4}
  \gdef\@memberfive{#5}\gdef\@membersix{#6}
}

\def\experimentdate#1#2#3#4{
  \gdef\@experimentheiseiyear{#1}
  \gdef\@experimentmonth{#2}
  \gdef\@experimentday{#3}
  \gdef\@experimentyobi{#4}
}

\def\weather#1{\gdef\@weather{#1}}
\def\temperature#1{\gdef\@temperature{#1}}
\def\humidity#1{\gdef\@humidity{#1}}
\def\airpressure#1{\gdef\@airpressure{#1}}

\def\submissiondate#1#2#3#4{
  \gdef\@submissionheiseiyear{#1}
  \gdef\@submissionmonth{#2}
  \gdef\@submissionday{#3}
  \gdef\@submissionyobi{#4}
}

\def\makelabels{\global\labelstrue}

%\setlength{\textwidth}{15cm}
%\setlength{\oddsidemargin}{13mm}
%\setlength{\evensidemargin}{13mm}
%\setlength{\topmargin}{-1cm}
%\setlength{\textheight}{23.5cm}
%\setlength{\footskip}{18mm}



\def\maketitle{\par
\begingroup
\@maketitle
\endgroup
}

%===========================================================
%           表紙の定義
%===========================================================
\def\@maketitle{
\thispagestyle{empty}
\begin{center}

\vspace{20mm}

{\Huge \textgt{電気工学実験報告書}}\\
\vspace{30mm}

\begin{flushleft}
\begin{tabbing}
M\=MMMMMMMMMMMMMM\=MMMM\=\kill
\>{\Large \textgt{実験番号}} \>\>{\Large \textsf{\@expnumber}}\\ \\
\>{\Large \textgt{実験題目}} \>{\Large \textgt{\@title}}\\ \\
\>{\Large \textgt{実験者学籍番号}}
\>{\Large \textsf{\@registernumberone~-~\@registernumbertwo}}
\end{tabbing}
\end{flushleft}
\vspace{3mm}

{\LARGE \textsf{\@schoolyear}}\hspace{1mm}
{\LARGE \textgt{学年}}\hspace{5mm}
{\LARGE \textsf{\@groupnumber}}\hspace{1mm}
{\LARGE \textgt{班}}\hspace{5mm}
{\LARGE \textgt{\@author}}

\vspace{3mm}
\begin{flushleft}
\begin{tabbing}
M\=MMMMMMMMMMMMMM\=MMMMMM\=\kill
\>{\Large \textgt{共同実験者氏名}}
\end{tabbing}
\end{flushleft}

\begin{center}
{\def\arraystretch{1.5}
\begin{tabular}[b]{p{40mm}p{10 mm}p{40mm}}
{\Large \textgt{\@memberone}} & & {\Large \textgt{\@membertwo}}\\
\cline{1-1}\cline{3-3}
{\Large \textgt{\@memberthree}} & & {\Large \textgt{\@memberfour}}\\
\cline{1-1}\cline{3-3}
{\Large \textgt{\@memberfive}} & & {\Large \textgt{\@membersix}}\\
\cline{1-1}\cline{3-3}
\end{tabular}
}
\end{center}

\vspace{5mm}
\begin{flushleft}
\begin{tabbing}
M\=MMMMMMM\=MMMMMMMMMMM\=\kill
\>{\Large \textgt{実験日}} \>
{\Large \textgt{平成}}\hspace{1mm}
{\Large \textsf{\@experimentheiseiyear}}
{\Large \textgt{年}}\hspace{3mm}
{\Large \textsf{\@experimentmonth}}
{\Large \textgt{月}}\hspace{3mm}
{\Large \textsf{\@experimentday}}
{\Large \textgt{日}}\hspace{3mm}
{\Large \textgt{\@experimentyobi 曜日}}
\\ \\
\>\>{\Large \textgt{天候\hspace{3mm}\@weather}} 
\>{\Large \textgt{湿度}}\hspace{3mm}
{\Large \textsf{\@humidity\hspace{1mm}\%}}\\ \\
\>\>{\Large \textgt{温度}}\hspace{3mm}
{\Large \textsf{\@temperature\hspace{1mm}$^\circ$C}}
\>{\Large \textgt{気圧}}\hspace{3mm}
{\Large \textsf{\@airpressure\hspace{1mm}hPa}}
\\ \\
\>{\Large \textgt{提出日}} \>
{\Large \textgt{平成}}\hspace{1mm}
{\Large \textsf{\@submissionheiseiyear}}
{\Large \textgt{年}}\hspace{3mm}
{\Large \textsf{\@submissionmonth}}
{\Large \textgt{月}}\hspace{3mm}
{\Large \textsf{\@submissionday}}
{\Large \textgt{日}}\hspace{3mm}
{\Large \textgt{\@submissionyobi 曜日}}
\end{tabbing}
\end{flushleft}
\vspace{3mm}

\begin{flushright}
  \begin{tabular}{|p{15mm}|}
    \hline
    \multicolumn{1}{|c|}{{\large \textgt{検　印}}}\\
    \hline
    \vspace{15mm}\\
    \hline
  \end{tabular}
\end{flushright}

\end{center}
\newpage
\setcounter{page}{2}
\pagenumbering{arabic}
}

