%=================================================================
\usepackage{calc}
\usepackage{watermark}
\usepackage{longtable}

\setlength{\unitlength}{1mm}
\setlength{\textwidth}{167mm}

% standard left edge positions
\setlength{\KLOddLeftEdge}{2.4cm}
\setlength{\KLUnivLeftEdge}{2.1cm}
\setlength{\KLEvenLeftEdge}{1.3cm}

\setlength{\KLLeftOddTable}{1.9cm}
\setlength{\KLLeftUnivTable}{1.9cm}
\setlength{\KLLeftEvenTable}{2.05cm}

% standard widths
\setlength{\KLFullWidth}{16.5cm}

% 奇数ページの下のある、種目、研究機関名、研究代表者氏名の座標
\setlength{\KLBottomInfoH}{10mm}
\setlength{\KLBottomKindX}{5cm}
\setlength{\KLBottomKindW}{30mm}
\setlength{\KLBottomKikanX}{10.3cm}
\setlength{\KLBottomKikanW}{38mm}
\setlength{\KLBottomNameX}{16.5cm}
\setlength{\KLBottomNameW}{27mm}

%===== header for Tokutei Koubo ========================================
\newcommand{\KLMainFile}{tokutei\_koubo.tex}
\newcommand{\KLForms}{tokutei_koubo_forms}
\newcommand{\KLYoshiki}{tokutei_koubo}

%　奇数ページの下に記入される情報
\newcommand{\KLBottomInfo}{
    \WHBC{\KLBottomKindX}{\KLBottomInfoY}{\KLBottomKindW}{\KLBottomInfoH}{\領域略称名}
    \WHBC{\KLBottomKikanX}{\KLBottomInfoY}{\KLBottomKikanW}{\KLBottomInfoH}{\研究機関名}
    \WHBC{\KLBottomNameX}{\KLBottomInfoY}{\KLBottomNameW}{\KLBottomInfoH}{\研究代表者氏名}
}

\newcommand{\研究種目}{特定領域研究}
\newcommand{\研究種目後半}{　公募研究(新規)}
\ifthenelse{\isundefined{\研究種別}}{
	\newcommand{\研究種別}{}
}{}%

%=================================================================
