%form: tokusui_keizoku_form_08.tex ; user: tokusui_keizoku_08_materials.tex
%========== S-1-2 特別推進研究　継続 =========
%===== p. 8 設備備品費と消耗品費の明細 =============
\subsection{設備備品費と消耗品費の明細}
\KLBeginSinglePage{8}{}
%frame: f11_materials_Pc
% 2007-09-14 Taku
\setcounter{KLMaxYearCount}{\研究期間の最終元号年度 - \研究開始元号年度 + 1}%

\begingroup
  \setlength{\tabcolsep}{2pt}
  \begin{\KLBudgetTableFontSize}
	\setlength{\KLCella}{172pt}	% for equipment item
	\setlength{\KLCellb}{98pt}	% for equipment cost
	\setlength{\KLCellc}{96pt}	% for cost makebox
	\setlength{\KLCelld}{107pt}	% for expendable items
	\setlength{\KLCelle}{70pt}	% for expendable cost
	\setlength{\KLCellf}{70pt}	% for cost makebox
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{670}{630}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{47pt}p{172pt}p{100pt}p{107pt}p{70pt}}
				% １年目の年は様式に入っている
				&
				\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%====================================================
				}

				\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

%---------------------------------
	\KLBottomInfo{72}{62}{146}{238}{298}{388}{469}{548}
\KLEndSinglePage

