% singleArrowDirections4Portrait.tex
% 2016-11-20 Taku Yamanaka (Physics Dept., Osaka Univ.)
% Formats for 1 direction with a large arrow in portrait mode.

\newcommand{\putArrowText}[6]{%
	% #1: arrow X
	% #2: arrow Y
	% #3: arrow direction
	% #4: text X
	% #5: text Y
	% #6: text
	%-----------------------------
	\put(#1,#2){#3}
	\put(#4,#5){%
		\begin{minipage}[c]{\textW}
			\fnormal
			\bfseries
			\noindent
			\textcolor{\signTextColor}{#6}
		\end{minipage}
	}
}

\newcommand{\putArrowLeftTextRight}[2]{%
	\putArrowText{\leftArrowX}{\arrowY}{#1}{\rightTextX}{\textY}{\raggedright #2}
}

\newcommand{\putArrowRightTextLeft}[2]{%
%	\putArrowText{\rightArrowX}{\arrowY}{#1}{\leftTextX}{\textY}{\raggedleft #2}
	\putArrowText{\rightArrowX}{\arrowY}{#1}{\leftTextX}{\textY}{%
			#2%
	}%
}

\newcommand{\Forward}[1]{%
	\putArrowRightTextLeft{\arrowForward}{#1}
}

\newcommand{\ForwardRight}[1]{%
	\putArrowRightTextLeft{\arrowForwardRight}{#1}
}

\newcommand{\Right}[1]{%
	\putArrowRightTextLeft{\arrowRight}{#1}
}

\newcommand{\BackRight}[1]{%
	\putArrowRightTextLeft{\arrowBackRight}{#1}
}

\newcommand{\Back}[1]{%
	\putArrowRightTextLeft{\arrowBack}{#1}
}

\newcommand{\ForwardLeft}[1]{%
	\putArrowLeftTextRight{\arrowForwardLeft}{#1}
}

\newcommand{\Left}[1]{%
	\putArrowLeftTextRight{\arrowLeft}{#1}
}

\newcommand{\BackLeft}[1]{%
	\putArrowLeftTextRight{\arrowBackLeft}{#1}
}


