%=================================================================
% form05_wakate_header.tex
%	for the 2007(H19) Japanese Fiscal Year
%	2006-10-01 : Taku Yamanaka (Osaka Univ.)
%			Switched to the new development system using a "mother file".
%=================================================================
\usepackage{calc}
\usepackage{watermark}
\usepackage{longtable}
\usepackage{geometry}                % See geometry.pdf to learn the layout options. There are lots.

\geometry{noheadfoot,scale=1}  %scale=1 resets margins to 0
\setlength{\unitlength}{1mm}

% standard left edge positions
\setlength{\KLOddLeftEdge}{2.2cm}
\setlength{\KLUnivLeftEdge}{2.1cm}
\setlength{\KLEvenLeftEdge}{1.2cm}

\setlength{\KLLeftOddTable}{2.1cm}
\setlength{\KLLeftUnivTable}{1.9cm}
\setlength{\KLLeftEvenTable}{1.0cm}

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

% 奇数ページの下のある、種目、研究機関名、研究代表者氏名の座標
\setlength{\KLBottomInfoH}{5mm}
\setlength{\KLBottomKikanX}{4.5cm}
\setlength{\KLBottomKikanW}{80mm}
\setlength{\KLBottomNameX}{15.6cm}
\setlength{\KLBottomNameW}{42mm}

% ===== Global definitions for the Kakenhi form ======================
%　基本情報
\newcommand{\研究種目}{若手研究}
\newcommand{\研究種目後半}{}
\ifthenelse{\isundefined{\研究種別}}{
	\newcommand{\研究種別}{}
}{}%
\newcommand{\KLMainFile}{wakate.tex}
\newcommand{\KLForms}{wakate_forms}
\newcommand{\KLYoshiki}{yoshiki_wakate}

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

%------ These should be set before \begin{document} ------
\setlength{\oddsidemargin}{-0.5mm}
\setlength{\evensidemargin}{-11mm}
\setlength{\textwidth}{171mm}
\setlength{\topmargin}{-1mm}
\setlength{\textheight}{246mm}
%----------------------------------------------------------------------------


