From fda2afc1b24273391bf800ae7a2bdf03596f5654 Mon Sep 17 00:00:00 2001 From: "Dr. Clea F. Rees" Date: Thu, 4 Dec 2008 00:11:00 +0000 Subject: sgame 2.14 2008/12/02 git-svn-id: svn://tug.org/texlive/trunk@11511 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/sgame/sgame.pdf | Bin 77582 -> 80502 bytes Master/texmf-dist/doc/latex/sgame/sgame.tex | 71 +++++++++++++++++++++++----- 2 files changed, 60 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/doc/latex/sgame') diff --git a/Master/texmf-dist/doc/latex/sgame/sgame.pdf b/Master/texmf-dist/doc/latex/sgame/sgame.pdf index a29eb64d536..60ca0666af9 100644 Binary files a/Master/texmf-dist/doc/latex/sgame/sgame.pdf and b/Master/texmf-dist/doc/latex/sgame/sgame.pdf differ diff --git a/Master/texmf-dist/doc/latex/sgame/sgame.tex b/Master/texmf-dist/doc/latex/sgame/sgame.tex index dfed299276a..4165a76086c 100644 --- a/Master/texmf-dist/doc/latex/sgame/sgame.tex +++ b/Master/texmf-dist/doc/latex/sgame/sgame.tex @@ -5,7 +5,7 @@ \usepackage{mjoarti} \usepackage{mathpazo} \usepackage{pstricks} -\usepackage{pstcol,pst-mjo} +\usepackage{pst-mjo} \usepackage{sgame} \usepackage{url} \begin{document} @@ -18,17 +18,18 @@ by\\ Martin J. Osborne\\ {\tt Martin.Osborne@utoronto.ca}\\ -For Version 2.13, 2005/7/8 +For Version 2.14, 2008-12-2 \end{center} {\sloppy \section{Introduction} {\tt sgame.sty} and {\tt sgamevar.sty} are \LaTeXe\ style files for drawing strategic games. The latest versions are available at -\url{http://www.economics.utoronto.ca/osborne/latex}. The styles are -incompatible with \texttt{array.sty} (and hence any package, like -\texttt{jurabib.sty}, that loads \texttt{array.sty}). Please notify me of -bugs. +\url{http://www.economics.utoronto.ca/osborne/latex}. The style +\texttt{sgamevar.sty} (but not \texttt{sgame.sty}) is compatible with +\texttt{beamer}. Both styles are incompatible with the \texttt{memoir} class +and with \texttt{array.sty} (and hence any package, like \texttt{jurabib.sty}, +that loads \texttt{array.sty}). Please notify me of bugs. \section{sgame.sty versus sgamevar.sty} \verb+sgame.sty+ and \verb+sgamevar.sty+ differ in two respects. \begin{itemize} @@ -62,7 +63,14 @@ an error. If you don't have the package, get it from CTAN. \verb+\usepackage{sgame}+ (or \verb+\usepackage{sgamevar}+) and \verb+\usepackage{color}+ (or \verb+\usepackage{pstcol}+, part of PSTricks, which loads \verb+color+) in the preamble. +\end{itemize} +\section{Compatibility with other packages} +\begin{itemize} \item The style is incompatible with \verb+colortbl.sty+. + \item To use in \verb+beamer+, put a game in a\newline +\verb+\begin{frame}[fragile]...\end{frame}+ environment. + \item In the case of incompatibilities with other styles, try using +\verb+sgamevar+ rather than \verb+sgame+. \end{itemize} \section{Description} The style defines two environments, \verb+game+ and \verb+game*+. Each @@ -436,6 +444,44 @@ $B$&$3,3$&$4,4$ left game we have \texttt{ssualtrue} (the default); in the right game \texttt{ssualfalse} is declared.}\label{f:ssual1} \end{figure} +\section{Thick lines} +To change the width of the cell boundaries, set \verb+\arrayrulewidth+ (by +writing something like \verb+\arrayrulewidth2mm+ or, if you prefer, +\verb+\setlength{\arrayrulewidth}{2mm}+). In addition, you may need to +stretch the game vertically to accommodate the thicker lines. To do so, set +\verb+\gamestretch+ (by writing something like +\verb+\renewcommand{\gamestretch}{2}+). Here's an example. + +\begin{verbatim} +\def\sgtextcolor{blue}% +\def\sglinecolor{red}% +\renewcommand{\gamestretch}{2} +\arrayrulewidth2mm +\begin{figure}[htb]\hspace*{\fill}% +\begin{game}{2}{2} + & $L$ & $R$\\ +$T$ &$2,2$ &$100,35$\\ +$B$ &$3,0$ &$350,16$ +\end{game}\hspace*{\fill}% +\caption[]{Thick lines.} +\end{figure} +\end{verbatim} + +\def\sgtextcolor{blue}% +\def\sglinecolor{red}% +\renewcommand{\gamestretch}{2} +\arrayrulewidth2mm +\begin{figure}[htb]\hspace*{\fill}% +\begin{game}{2}{2} + & $L$ & $R$\\ +$T$ &$2,2$ &$100,35$\\ +$B$ &$3,0$ &$350,16$ +\end{game}\hspace*{\fill}% +\caption[]{Thick lines.} +\end{figure} + + + \section{Parameters}\label{s:param} \verb+\gamestretch+: a number that controls the spacing between rows, analogous to \verb+\arraystretch+. Possible values: positive real numbers. @@ -504,18 +550,21 @@ player labels). Default: \verb+black+. Example: \end{description} \subsection*{Version 2} \begin{description} -\item[1997/10] Labels allowed (via additional optional argument). Parameters +\item[1997-10] Labels allowed (via additional optional argument). Parameters added: \verb+\sglabelsep+, \verb+\sgcolsep+, \verb+\irplwcgltrue+, \verb+\irpawcgltrue+, and \verb+\gamemathtrue+. -\item[2002/6 (version 2.1)] Modification of \LaTeX's \verb+\@array+ changed so +\item[2002-6 (version 2.1)] Modification of \LaTeX's \verb+\@array+ changed so that it does not change spacing in \verb+tabular+ environment. Color functionality added. Parameters added: \verb+\gamevaligntrue+, \verb+\ssualtrue+ (allowing more control over vertical spacing when \verb+\gamestretch+ is greater than 1), \verb+\sglinecolor+, \verb+\sgtextcolor+. -\item[2004/5/13 (version 2.11)] Minor bug fix. -\item[2004/5/21 (version 2.12)] Minor bug fix. -\item[2005/7/8 (version 2.13)] Minor bug fix. +\item[2004-5-13 (version 2.11)] Minor bug fix. +\item[2004-5-21 (version 2.12)] Minor bug fix. +\item[2005-7-8 (version 2.13)] Minor bug fix. +\item[2008-12-2 (version 2.14)] Minor bug fix: length of bottom line (bug +inherited from \verb+tabular+ environment; noticeable only when lines are +thick). Bug pointed out by Marcel Priebsch. \end{description} } -- cgit v1.2.3