%form: houga_form_06.tex ; user: houga_06_budget.tex
%========== S-1-10 萌芽研究 =========
%===== p. 06 設備備品費、消耗品費、旅費等の明細 =============
\section{設備備品費、消耗品費、旅費等の明細}
\KLBeginSinglePage{6}{}
%frame: f10_budget_H
% 2007-09-04: Taku
\setcounter{KLMaxYearCount}{\研究期間の最終元号年度 - \研究開始元号年度 + 1}%

 \begingroup
   \setlength{\tabcolsep}{2pt}
   \begin{\KLBudgetTableFontSize}

\subsection{設備備品費と消耗品費の明細}
	\setlength{\KLCella}{228pt}	% for equipment item
	\setlength{\KLCellb}{49pt}	% for equipment cost
	\setlength{\KLCellc}{47pt}	% for cost makebox
	\setlength{\KLCelld}{125pt}	% for expendable items
	\setlength{\KLCelle}{47pt}	% for expendable cost
	\setlength{\KLCellf}{47pt}	% for cost makebox
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{692}{570}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{35pt}p{230pt}p{51pt}p{125pt}p{48pt}}
				% １年目の年は様式に入っている
				&
				\KLBudgetMiniTabular{KLequipments}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 設備備品費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\設備備品費１年目
					%end 設備備品費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLexpendables}{\KLCelld}{\KLCelle}{\KLCellf}{
					%begin 消耗品費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\消耗品費１年目
					%end 消耗品費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				\\

				\KLShouKeiLine{2-5}%----------------------------------

				& \KLTabC{計} & \KLMiniSum{KLequipments}{\KLCellc} 
				& \KLTabC{計}  & \KLMiniSum{KLexpendables}{\KLCellf}\\
				\hline%====================================================

				\stepcounter{KLYearCount}
				\ifthenelse{\value{KLYearCount} > \value{KLMaxYearCount}}{%
				}{%
					{\large \２年目J}
					&		
					\KLBudgetMiniTabular{KLequipments}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 設備備品費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\設備備品費２年目
						%end 設備備品費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLexpendables}{\KLCelld}{\KLCelle}{\KLCellf}{
						%begin 消耗品費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\消耗品費２年目
						%end 消耗品費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					\\
					\KLShouKeiLine{2-5}
					& \KLTabC{計} & \KLMiniSum{KLequipments}{\KLCellc} 
					& \KLTabC{計}  & \KLMiniSum{KLexpendables}{\KLCellf}\\
					\hline%====================================================
				}

				\stepcounter{KLYearCount}
				\ifthenelse{\value{KLYearCount} > \value{KLMaxYearCount}}{%
				}{%
					{\large \３年目J}
					&		
					\KLBudgetMiniTabular{KLequipments}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 設備備品費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\設備備品費３年目
						%end 設備備品費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLexpendables}{\KLCelld}{\KLCelle}{\KLCellf}{
						%begin 消耗品費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\消耗品費３年目
						%end 消耗品費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					\\
					\KLShouKeiLine{2-5}
					& \KLTabC{計} & \KLMiniSum{KLequipments}{\KLCellc} 
					& \KLTabC{計}  & \KLMiniSum{KLexpendables}{\KLCellf}\\
					\hline%====================================================
				}

				\phantom{年度} & \phantom{品名} & \phantom{1} & \phantom{品名} & \phantom{1} \\
				% Trick to make sum appear in the correct columns.
			\end{tabular}
		\endgroup
	}  \end{\KLBudgetTableFontSize}
\endgroup
%======== 旅費等の明細===========================
\begingroup
  \setlength{\tabcolsep}{2pt}
  \begin{\KLBudgetTableFontSize}
	\setlength{\KLCella}{78pt}	% for item
	\setlength{\KLCellb}{35pt}	% for cost
	\setlength{\KLCellc}{33pt}	% for cost makebox
	\setlength{\KLCelld}{32pt}	% for sum
	\setlength{\KLCelle}{77pt}	% for gratitude and other items
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{455}{567}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{36pt}p{78pt}p{36pt}p{78pt}p{35pt}p{78pt}p{36pt}p{78pt}p{35pt}}
				&
				\KLBudgetMiniTabular{KLdomestic}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 国内旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\国内旅費１年目
					%end 国内旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLforeign}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 外国旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\外国旅費１年目
					%end 外国旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLgratitude}{\KLCelle}{\KLCellb}{\KLCellc}{
					%begin 謝金等１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\謝金等１年目
					%end 謝金等１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLmisc}{\KLCelle}{\KLCellb}{\KLCellc}{
					%begin その他１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\その他１年目
					%end その他１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				\\

				\KLShouKeiLine{2-9}%----------------------------------

				& \KLTabC{計} & \KLMiniSum{KLdomestic}{\KLCelld} 
				& \KLTabC{計}  & \KLMiniSum{KLforeign}{\KLCelld}
				& \KLTabC{計}  & \KLMiniSum{KLgratitude}{\KLCelld}
				& \KLTabC{計}  & \KLMiniSum{KLmisc}{\KLCelld}
				\\
				\hline%====================================================

				\stepcounter{KLYearCount}
				\ifthenelse{\value{KLYearCount} > \value{KLMaxYearCount}}{%
				}{%
					{\large \２年目J}
					&		
					\KLBudgetMiniTabular{KLdomestic}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 国内旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\国内旅費２年目
						%end 国内旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLforeign}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 外国旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\外国旅費２年目
						%end 外国旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLgratitude}{\KLCelle}{\KLCellb}{\KLCellc}{
						%begin 謝金等２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\謝金等２年目
						%end 謝金等２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLmisc}{\KLCelle}{\KLCellb}{\KLCellc}{
						%begin その他２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\その他２年目
						%end その他２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					\\
					\KLShouKeiLine{2-9}
					& \KLTabC{計} & \KLMiniSum{KLdomestic}{\KLCelld} 
					& \KLTabC{計}  & \KLMiniSum{KLforeign}{\KLCelld}
					& \KLTabC{計}  & \KLMiniSum{KLgratitude}{\KLCelld}
					& \KLTabC{計}  & \KLMiniSum{KLmisc}{\KLCelld}
					\\
					\hline%====================================================
				}

				\stepcounter{KLYearCount}
				\ifthenelse{\value{KLYearCount} > \value{KLMaxYearCount}}{%
				}{%
					{\large \３年目J}
					&		
					\KLBudgetMiniTabular{KLdomestic}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 国内旅費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\国内旅費３年目
						%end 国内旅費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLforeign}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 外国旅費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\外国旅費３年目
						%end 外国旅費３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLgratitude}{\KLCelle}{\KLCellb}{\KLCellc}{
						%begin 謝金等３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\謝金等３年目
						%end 謝金等３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLmisc}{\KLCelle}{\KLCellb}{\KLCellc}{
						%begin その他３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\その他３年目
						%end その他３年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					\\
					\KLShouKeiLine{2-9}
					& \KLTabC{計} & \KLMiniSum{KLdomestic}{\KLCelld} 
					& \KLTabC{計}  & \KLMiniSum{KLforeign}{\KLCelld}
					& \KLTabC{計}  & \KLMiniSum{KLgratitude}{\KLCelld}
					& \KLTabC{計}  & \KLMiniSum{KLmisc}{\KLCelld}
					\\
					\hline%====================================================
				}

				\phantom{年度} & \phantom{品名} & \phantom{1} & \phantom{品名} & \phantom{1}
							 & \phantom{品名} & \phantom{1} & \phantom{品名} & \phantom{1} \\
				% Trick to make sum appear in the correct columns.
			\end{tabular}
		\endgroup
	}
  \end{\KLBudgetTableFontSize}
\endgroup
	
     %----------------------------------
\KLEndSinglePage
%U:%====== end of page =====================================

