% kiban_c_forms
%=======================================
% patches to absorb the changes between the versions 2006.09.24 and 2006.10.04.

\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-9
	\input{forms/kiban_c_form_01-02}
	\input{forms/kiban_c_form_03-04}
	\input{forms/kiban_c_form_05}
	\input{forms/kiban_c_form_06-07}
	\input{forms/kiban_c_form_08}
	\input{forms/kiban_c_form_09}
}
%=======================================
% Generate p.10-11
\input{forms/kiban_c_form_10}
\input{forms/kiban_c_form_11}
%=======================================

\ifthenelse{\boolean{BudgetSummary}}{
	\input{forms/form90_summary}
}{
	\input{forms/kiban_c_form_12}
	\input{forms/kiban_c_form_13}
}
%========================================
