% 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 Y
	% #2: arrow positioning
	% #3: arrow direction
	% #4: text Y
	% #5: text
	%-----------------------------
	\put(0,#1){%
		\begin{minipage}[t]{\linewidth}
			#2% arrow positioning
			#3
		\end{minipage}
	}
	\put(0,#4){%
		\begin{minipage}[c]{\linewidth}
			\fnormal
			\bfseries
			\noindent
			\centering
			#5
		\end{minipage}
	}
}

\newcommand{\Forward}[1]{%
	\putArrowText{\topArrowY}{\centering}{\arrowForward}{\bottomTextY}{#1}
}

\newcommand{\ForwardRight}[1]{%
	\putArrowText{\topArrowY}{\raggedleft}{\arrowForwardRight}{\bottomTextY}{#1}
}

\newcommand{\ForwardLeft}[1]{%
	\putArrowText{\topArrowY}{\raggedright}{\arrowForwardLeft}{\bottomTextY}{#1}
}

\newcommand{\Right}[1]{%
	\putArrowText{\bottomArrowY}{\raggedleft}{\arrowRight}{\topTextY}{#1}
}

\newcommand{\Left}[1]{%
	\putArrowText{\bottomArrowY}{\raggedright}{\arrowLeft}{\topTextY}{#1}
}

\newcommand{\BackRight}[1]{%
	\putArrowText{\bottomArrowY}{\raggedleft}{\arrowBackRight}{\topTextY}{#1}
}

\newcommand{\BackLeft}[1]{%
	\putArrowText{\bottomArrowY}{\raggedright}{\arrowBackLeft}{\topTextY}{#1}
}

\newcommand{\Back}[1]{%
	\putArrowText{\bottomArrowY}{\centering}{\arrowBack}{\topTextY}{#1}
}

