From 47ba5bf6b12104310f5138e5fce3f33cf3e51049 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 17 Nov 2008 01:37:36 +0000 Subject: psbao update (16nov08) git-svn-id: svn://tug.org/texlive/trunk@11319 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/psbao/Changes | 3 + Master/texmf-dist/doc/latex/psbao/README | 11 +++- Master/texmf-dist/doc/latex/psbao/psbaomanual.pdf | Bin 95794 -> 102767 bytes Master/texmf-dist/doc/latex/psbao/psbaomanual.tex | 65 +++++++++++++++++++++- 4 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/psbao/Changes (limited to 'Master/texmf-dist/doc/latex/psbao') diff --git a/Master/texmf-dist/doc/latex/psbao/Changes b/Master/texmf-dist/doc/latex/psbao/Changes new file mode 100644 index 00000000000..eef62f4ad76 --- /dev/null +++ b/Master/texmf-dist/doc/latex/psbao/Changes @@ -0,0 +1,3 @@ +psbao.sty ----------------------------------- +0.11 2008-11-16 - some code cleaning +0.1 2008-11-10 - first CTAN version diff --git a/Master/texmf-dist/doc/latex/psbao/README b/Master/texmf-dist/doc/latex/psbao/README index 1038da6aee5..a01a5ae1f37 100644 --- a/Master/texmf-dist/doc/latex/psbao/README +++ b/Master/texmf-dist/doc/latex/psbao/README @@ -1,6 +1,9 @@ -PSBAO is a LaTeX2e package to draw Bao diagrams in LaTeX. It has been created using the Go package written by Victor Bos (September 4, 2008) as basis and it is built on top of the PSTricks package. +PSBAO is a LaTeX2e package to draw Bao diagrams in LaTeX. It has been created +using the Go package written by Victor Bos (September 4, 2008) as basis and it +is built on top of the PSTricks package. -To all the people who have never played bao I suggest to visit: http://www.swahili.it/bao. +To all the people who have never played bao I suggest to visit: +http://www.swahili.it/bao. To install the package, place the file psbao.sty in a directory where LaTeX can find it. That is, it should be somewhere on TEXINPUTS. @@ -18,7 +21,7 @@ conditions of the LaTeX Project Public License, either version 1.2 of this license or (at your option) any later version. The latest version of this license is in http://www.latex-project.org/lppl.txt -and version 1.2 or later is part of all distributions of LaTeX +and version 1.2 or later is part of all distributions of LaTeX version 1999/12/01 or later. This program consists of the files: @@ -26,3 +29,5 @@ This program consists of the files: psbao.sty psbaomanual.tex ---------------------------------------------------------------------- +HELP ME TO IMPROVE THIS PACKAGE! +---------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/psbao/psbaomanual.pdf b/Master/texmf-dist/doc/latex/psbao/psbaomanual.pdf index dc2ccf7c2df..23e0b81e506 100644 Binary files a/Master/texmf-dist/doc/latex/psbao/psbaomanual.pdf and b/Master/texmf-dist/doc/latex/psbao/psbaomanual.pdf differ 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}|. -- cgit v1.2.3