%form: wakate_startup_form_08.tex ; user: wakate_startup_08_materials.tex
%========== S-1-17 若手研究(スタートアップ) =========
%===== p. 8 設備備品費、消耗品費、旅費等の明細 =============
\section{設備備品費、消耗品費、旅費等の明細}
\KLBeginSinglePage{8}{}
%frame: f10_budget_wakate_startup
\setcounter{KLMaxYearCount}{\研究期間の最終元号年度 - \研究開始元号年度 + 1}%

\subsection{設備備品費と消耗品費}
\begingroup
  \setlength{\tabcolsep}{2pt}
  \begin{\KLBudgetTableFontSize}
	\setlength{\KLCella}{215pt}	% for equipment item
	\setlength{\KLCellb}{52pt}	% for equipment cost
	\setlength{\KLCellc}{47pt}	% for cost makebox
	\setlength{\KLCelld}{136pt}	% for expendable items
	\setlength{\KLCelle}{52pt}	% for expendable cost
	\setlength{\KLCellf}{50pt}	% for cost makebox
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{690}{\KLRightEdge}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{27pt}p{217pt}p{50pt}p{138pt}p{54pt}}
				&
				\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}}{%
				}{%
					\KLJFY{\２年目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


\subsection{旅費等の明細}
\begingroup
  \setlength{\tabcolsep}{2pt}
  \begin{\KLBudgetTableFontSize}
	\setlength{\KLCella}{66pt}	% for item
	\setlength{\KLCellb}{48pt}	% for cost
	\setlength{\KLCellc}{46pt}	% for cost makebox
	\setlength{\KLCelld}{44pt}
	
	\setcounter{KLYearCount}{1}
	
	\KLNoMarginMinipage{\KLLeftEdge}{437}{\KLRightEdge}{
		\begingroup
			\setlength{\tabcolsep}{0pt}%
			\begin{tabular}[t]{p{27pt}p{65pt}p{49pt}p{66pt}p{47pt}p{66pt}p{49pt}p{66pt}p{47pt}}
				&
				\KLBudgetMiniTabular{KLdomestic}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 国内旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\国内旅費１年目
					%end 国内旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLforeign}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 外国旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\外国旅費１年目
					%end 外国旅費１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLgratitude}{\KLCella}{\KLCellb}{\KLCellc}{
					%begin 謝金等１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					\謝金等１年目
					%end 謝金等１年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
				}
				&
				\KLBudgetMiniTabular{KLmisc}{\KLCella}{\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}}{%
				}{%
					\KLJFY{\２年目J}
					&		
					\KLBudgetMiniTabular{KLdomestic}{\KLCella}{\KLCellb}{\KLCellc}{
						
						%begin 国内旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\国内旅費２年目
						%end 国内旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLforeign}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 外国旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\外国旅費２年目
						%end 外国旅費２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLgratitude}{\KLCella}{\KLCellb}{\KLCellc}{
						%begin 謝金等２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
						\謝金等２年目
						%end 謝金等２年目　＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
					}
					&
					\KLBudgetMiniTabular{KLmisc}{\KLCella}{\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 =====================================

