% arrowsigns.tex
% 2016-10-19 Taku Yamanaka (Physics Dept., Osaka Univ.)
% 2016-12-10 Taku: Added \arrraystretchparameter.

%-------- KLShowOrigin ----------
\newcommand{\KLShowOrigin}{
	\put(0,0){\line(1,-1){400}}
	\put(0,0){\line(2,-1){400}}
	\put(0,0){\line(1,-2){400}}
}

%------- KLTombo ------------
\newcounter{klTomboHalfLen}     \setcounter{klTomboHalfLen}{20}
\newcommand{\klTomboLen}{40}
\newcounter{klTomboFrom}

\newcommand{\KLTombo}[2]{
%	(#1, #2) : (x,y)

	\setcounter{klTomboFrom}{#1}
	\addtocounter{klTomboFrom}{-\value{klTomboHalfLen}}
	\put(\value{klTomboFrom},#2){\line(1,0){\klTomboLen}}
	
	\setcounter{klTomboFrom}{#2}
	\addtocounter{klTomboFrom}{-\value{klTomboHalfLen}}
	\put(#1,\value{klTomboFrom}){\line(0,1){\klTomboLen}}
}

\newcommand{\placeTombos}{%
		\KLTombo{0}{0}
		\KLTombo{\mytextwidth}{0}
		\KLTombo{0}{-\mytextheight}
		\KLTombo{\mytextwidth}{-\mytextheight}
}

\newcommand{\placeText}[1]{%
	\ifthenelse{\equal{#1}{}}{%
	}{%
		\noindent
		#1\\	% floating text
	}%
}

\newcommand{\arrowAngleFile}[2]{%
	\includegraphics[width=\arrowWidth,angle=#1,origin=c]{#2}%
}

\newcommand{\arrowKind}{../std_figs/wide_headed}

\newcommand{\arrowForward}{\arrowAngleFile{0}{\arrowKind_arrow.pdf}}
\newcommand{\arrowForwardRight}{\arrowAngleFile{0}{\arrowKind_tilted_arrow.pdf}}
\newcommand{\arrowRight}{\arrowAngleFile{-90}{\arrowKind_arrow.pdf}}
\newcommand{\arrowBackRight}{\arrowAngleFile{-90}{\arrowKind_tilted_arrow.pdf}}
\newcommand{\arrowBack}{\arrowAngleFile{0}{\arrowKind_back_arrow.pdf}}
\newcommand{\arrowBackLeft}{\arrowAngleFile{180}{\arrowKind_tilted_arrow.pdf}}
\newcommand{\arrowLeft}{\arrowAngleFile{90}{\arrowKind_arrow.pdf}}
\newcommand{\arrowForwardLeft}{\arrowAngleFile{90}{\arrowKind_tilted_arrow.pdf}}

\newcommand{\minipageMulticol}[2]{%
	\multicolumn{2}{l}{%
            	\begin{minipage}[t]{\textArrowColumnsWidth}%
			#1%
            		#2%
            	\end{minipage}%
	}
}

\definecolor{light-gray}{gray}{0.95}
%\pagecolor{light-gray}

\newcommand{\arraystretchparameter}{1.0}	% for adjusting line spacing in tabular