summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/onedown/examples/Compass.tex')
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Compass.tex20
1 files changed, 16 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex b/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
index 7cd46ecc79b..cbb19739b55 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
@@ -2,8 +2,6 @@
%\usepackage{forloop}
\gamefont{\larger\larger}
-\newcounter{Nr}
-\newcounter{Tmp}
\makeatletter
\def\CP{\ODw@Compass}
\makeatother
@@ -12,11 +10,16 @@
\noindent
Here we show the 16 possible combinations of dealership and vulnerability.
We use the default |colors=2| (|black & red|) and so the vulners appear in
-red. The command |\CP| is defined in the preamble.
+red. The command |\CP| is to be defined in every V- or HBox.
\par\vspace{1em}\noindent
%
\begin{VBox}{The 16 combinations of dealer/vulner\hfill File: \FileName}
+\newcounter{Nr}
+\newcounter{Tmp}
+\makeatletter
+ \def\CP{\ODw@Compass}
+\makeatother
\centering
\setdefaults{compsize=1.3,compmid=\boardtext}
\begin{tabular}{ll|ll}
@@ -40,10 +43,13 @@ for the letters in the compass.
First we enlarge the compass 1.5$\times$. Note that this does influence
neither the fontsize nor the frame thickness. Then we enlarge the fonsize.
As you see, this does influence the size of the compass too. Finally
-the set the size factor back to 1. Notice the difference with the second
+we set the size factor back to 1. Notice the difference with the first
compass.
\vfill
\begin{HBox}{controlling the compass I\hfill File: \FileName}
+\makeatletter
+ \def\CP{\ODw@Compass}
+\makeatother
\CP
\setdefaults{compsize=1.5}\CP
\setdefaults*{compass=\Large}\CP
@@ -54,6 +60,9 @@ As you see, we can make the frame very thick, very thin or let it
disappear completely when we use factor 0.
\vfill
\begin{HBox}{controlling the compass II\hfill File: \FileName}
+\makeatletter
+ \def\CP{\ODw@Compass}
+\makeatother
\setdefaults{compsize=1.5}\CP
\setdefaults{compline=3}\CP
\setdefaults{compline=0.1}\CP
@@ -71,6 +80,9 @@ frame is supressed. Finally we see a diagram where the total compass is
suppressed. For clarity's sake we have added the \east and \west hand.
\vfill
\begin{HBox}{controlling the compass III\hfill File: \FileName}
+\makeatletter
+ \def\CP{\ODw@Compass}
+\makeatother
\boardnr{0}
\setdefaults{compsize=1,compmid=x}\CP
\setdefaults{compsize=1.5}\CP