diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/psbao/psbaomanual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/psbao/psbaomanual.tex | 65 |
1 files changed, 64 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/psbao/psbaomanual.tex b/Master/texmf-dist/doc/latex/psbao/psbaomanual.tex index adc637dd699..3b325c0868f 100644 --- a/Master/texmf-dist/doc/latex/psbao/psbaomanual.tex +++ b/Master/texmf-dist/doc/latex/psbao/psbaomanual.tex @@ -276,13 +276,76 @@ Prints:\\ The command: \verb|\weka| keeps the previous situation, so if it is necessary to set a completely new situation it must be used the command \verb|\initbao|. +\section*{Move directions} + +\lettrine[lines=2]{\textbf{T}}{o} indicate the direction of move it is possible to use the command \verb|\markpos|, which takes three parameters: the +direction marker, the column, and the row. For example, the move a3\textless\; is shown on the diagram by \verb|\markpos{marksx}{a}{3}| and A3\textgreater\; is shown on the diagram by \verb|\markpos{markdx}{A}{3}|: + +\begin{figure}[!ht] +\setlength{\columnsep}{20pt}\small +\begin{multicols}{2} +\noindent Code:\\ +\begin{verbatim} +\weka{10}{n}{2} +\weka{3}{a}{3} +\weka{3}{A}{3} +\weka{9}{s}{3} +\begin{showbaoboard} + \markpos{\marksx}{a}{3} +\end{showbaoboard} +\end{verbatim} +\mbox{}\\ +\mbox{}\\ +Prints:\\ +\weka{10}{n}{2} +\weka{3}{a}{3} +\weka{3}{A}{3} +\weka{9}{s}{3} +\begin{showbaoboard} + \markpos{\marksx}{a}{3} +\end{showbaoboard} +\mbox{}\\ +\caption{The move a3\textless} +\label{fig:ko:left} +\end{multicols} +\end{figure} + +\begin{figure}[!ht] +\setlength{\columnsep}{20pt}\small +\begin{multicols}{2} +\noindent Code:\\ +\begin{verbatim} +\weka{10}{n}{2} +\weka{3}{a}{3} +\weka{3}{A}{3} +\weka{9}{s}{3} +\begin{showbaoboard} + \markpos{\markdx}{A}{3} +\end{showbaoboard} +\end{verbatim} +\mbox{}\\ +\mbox{}\\ +Prints:\\ +\weka{10}{n}{2} +\weka{3}{a}{3} +\weka{3}{A}{3} +\weka{9}{s}{3} +\begin{showbaoboard} + \markpos{\markdx}{A}{3} +\end{showbaoboard} +\mbox{}\\ +\caption{The move A3\textgreater} +\label{fig:ko:right} +\end{multicols} +\end{figure} + \section*{Markers} \lettrine[lines=2]{\textbf{A}}{ hole} on the board can be marked with the command \verb|\markpos|. This command takes three parameters: the marker, the column, and the row. Available markers and the commands to generate them are listed in Table~\ref{tbl:markers}. -Note that to mark a non-empty hole the command \verb|\weka| have to be used together with marker command, \verb|\markpos|. +Note that to mark a non-empty hole the command \verb|\weka| has to be used together with marker command, \verb|\markpos|. Note, also, that the special holes (as \textit{kichwa} or \textit{kimbi}) can be used the marks \verb|\markdd| or \verb|\markss|, indifferently (but consistently!). Those commands must be inside the environment \verb|\begin{showboard}| $dots$ \verb|\end{showboard}|. |