% kiban_ab_forms
%=======================================
% patches to absorb the changes between the versions 2006.09.24 and 2006.10.03.

\ifthenelse{\isundefined{\研究目的つづき}}{
	\newcommand{\研究目的つづき}{}
}{}

\ifthenelse{\isundefined{\研究計画つづき}}{
	\newcommand{\研究計画つづき}{}
}{}

\ifthenelse{\isundefined{\研究計画つづき２}}{
	\newcommand{\研究計画つづき２}{}
}{}

\ifthenelse{\isundefined{\研究業績つづき}}{
	\newcommand{\研究業績つづき}{}
}{}

\ifthenelse{\isundefined{\研究業績つづき２}}{
	\newcommand{\研究業績つづき２}{}
}{}

\ifthenelse{\isundefined{\研究計画最終年度の応募の課題番号J}}{
	\newcommand{\研究計画最終年度の応募の課題番号J}{\研究計画最終年度の応募の課題番号}
}{}

\ifthenelse{\isundefined{\年と研究業績}}{
	\newcommand{\年と研究業績}{\研究業績}
}{}

%=======================================
\ifthenelse{\boolean{BudgetSummary}}{
%framemode_AB:
\setlength{\textheight}{31cm}%
\clearpage% This should come after setting new \textheight, or otherwise the old value will be used for this page.

%f: ===== Parameters for LaTeX =========================
\setlength{\topmargin}{-2.6cm}
\setlength{\oddsidemargin}{-26mm}
\setlength{\evensidemargin}{-26mm}
	%f: Above three margins are set so that the origin of the coordinate is the top-left corner.
	
\setlength{\parindent}{0zw}
%f:===============================================

%--empty watermarks
\watermark{}
\thiswatermark{}
\rightwatermark{}
\leftwatermark{}

%-----------------------

	\input{coverpage}
}{
	% if false, generate page 1-11
	\input{forms/kiban_ab_form_01-02}
	\input{forms/kiban_ab_form_03-05}
	\input{forms/kiban_ab_form_06}
	\input{forms/kiban_ab_form_07-09}
	\input{forms/kiban_ab_form_10}
	\input{forms/kiban_ab_form_11}
}
%=======================================
% Generate p.12-13
\input{forms/kiban_ab_form_12}
\input{forms/kiban_ab_form_13}
%=======================================

\ifthenelse{\boolean{BudgetSummary}}{
	\input{forms/form90_summary}
}{
	\input{forms/kiban_ab_form_14}
	\input{forms/kiban_ab_form_15}
}
%========================================
