%form: shingaku_kadai_form_08.tex ; user: shingaku_kadai_08_materials.tex
%========== S-1-20 新学術領域研究（研究課題提案型） =========
%===== p. 8 設備備品費、消耗品費の明細 =============
\section{設備備品費、消耗品費の明細}
\KLBeginSinglePage{8}{}
%frame: f11_materials_AB
% 2007-09-01 Taku
\setcounter{KLMaxYearCount}{\研究期間の最終元号年度 - \研究開始元号年度 + 1}%

\begingroup
  \setlength{\tabcolsep}{2pt}
  \begin{\KLBudgetTableFontSize}
	\setlength{\KLCella}{191pt}	% for equipment item
	\setlength{\KLCellb}{56pt}	% for equipment cost
	\setlength{\KLCellc}{56pt}	% for cost makebox
	\setlength{\KLCelld}{148pt}	% for expendable items
	\setlength{\KLCelle}{56pt}	% for expendable cost
	\setlength{\KLCellf}{52pt}	% for cost makebox
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{692}{570}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{35pt}p{191pt}p{59pt}p{149pt}p{52pt}}
				% １年目の年は様式に入っている
				&
				\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

%---------------------------------
\KLEndSinglePage
%U:%====== end of page =====================================

