% toEntranceArrowDirections.tex
% 2016-12-10 Taku Yamanaka (Physics Dept., Osaka Univ.)
% Formats for 1 direction with a large arrow to show the entrance.

\newcommand{\putArrowText}[5]{%
	% #1: arrow Y
	% #2: arrow positioning	(unused)
	% #3: arrow direction
	% #4: text Y
	% #5: text
	%-----------------------------
	\put(\toEntArrowX,#1){#3}
	\put(\toEntTextX,#4){%
		\begin{minipage}[c]{\toEntTextWidth mm}
			\centering
			\entlarge
			\textcolor{white}{\bf #5}
		\end{minipage}
	}
}%
\newcommand{\EntForward}[1]{%
	\putArrowText{\topArrowY}{\centering}{\toEntArrowForward}{\bottomTextY}{#1}
}

\newcommand{\EntForwardRight}[1]{%
	\putArrowText{\topArrowY}{\raggedleft}{\toEntArrowForwardRight}{\bottomTextY}{#1}
}

\newcommand{\EntForwardLeft}[1]{%
	\putArrowText{\topArrowY}{\raggedright}{\toEntArrowForwardLeft}{\bottomTextY}{#1}
}

\newcommand{\EntRight}[1]{%
	\putArrowText{\bottomArrowY}{\raggedleft}{\toEntArrowRight}{\topTextY}{#1}
}

\newcommand{\EntLeft}[1]{%
	\putArrowText{\bottomArrowY}{\raggedright}{\toEntArrowLeft}{\topTextY}{#1}
}

\newcommand{\EntBackRight}[1]{%
	\putArrowText{\bottomArrowY}{\raggedleft}{\toEntArrowBackRight}{\topTextY}{#1}
}

\newcommand{\EntBackLeft}[1]{%
	\putArrowText{\bottomArrowY}{\raggedright}{\toEntArrowBackLeft}{\topTextY}{#1}
}

\newcommand{\EntBack}[1]{%
	\putArrowText{\bottomArrowY}{\centering}{\toEntArrowBack}{\topTextY}{#1}
}

\newcommand{\toArrowAngleFile}[2]{%
	\includegraphics[width=\toEntArrowWidth mm,angle=#1,origin=c]{#2}%
}
\newcommand{\toEntArrowKind}{../std_figs/wide_headed_white}

\newcommand{\toEntArrowForward}{\toArrowAngleFile{0}{\toEntArrowKind_arrow.pdf}}
\newcommand{\toEntArrowForwardRight}{\toArrowAngleFile{0}{\toEntArrowKind_tilted_arrow.pdf}}
\newcommand{\toEntArrowRight}{\toArrowAngleFile{-90}{\toEntArrowKind_arrow.pdf}}
\newcommand{\toEntArrowBackRight}{\toArrowAngleFile{-90}{\toEntArrowKind_tilted_arrow.pdf}}
\newcommand{\toEntArrowBack}{\toArrowAngleFile{0}{\toEntArrowKind_back_arrow.pdf}}
\newcommand{\toEntArrowBackLeft}{\toArrowAngleFile{180}{\toEntArrowKind_tilted_arrow.pdf}}
\newcommand{\toEntArrowLeft}{\toArrowAngleFile{90}{\toEntArrowKind_arrow.pdf}}
\newcommand{\toEntArrowForwardLeft}{\toArrowAngleFile{90}{\toEntArrowKind_tilted_arrow.pdf}}

