diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-24 21:36:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-24 21:36:36 +0000 |
commit | b3dc1b6fdac11d737f34e433fe1e61590466b6a8 (patch) | |
tree | 6b6581617b94dbc42f3119589a38b3a2721ae0e8 /Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex | |
parent | 7f3c84d5d08d7a3c4047e31edfb3164ef787de97 (diff) |
onedown (24may18)
git-svn-id: svn://tug.org/texlive/trunk@47828 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex b/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex new file mode 100644 index 00000000000..a24c9a0066a --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-I.tex @@ -0,0 +1,29 @@ +\documentclass[onedown-examples]{subfiles} +\newgame +\begin{document} + +If you do not define all cards of a deck, then a lot of `missing card' +warnings will appear. Therefore most of the time it is better that warnings +are switched off. This is the default, but you can explicitly do that with +|\setdefaults{warn=off}|. It is also the default to produce \emph{error} +messages, which you can also switch off with |\setdefaults{err=off}|. +We recommend to have errors shown when you enter new diagrams. Please +observe how the |\smaller\smaller| command shrinked the diagram. We did +that to make all the warnings fit in the box. To avoid that all following +diagrams are also shrinked you must call |\gamefont{\bfseries\sffamily}| +again without the resizing. Calling |\resetfonts| has the same effect, but +would also influence the other fonts. +\vfill +\begin{HBox}{showNS with warnings\hfill File: \FileName} +\setdefaults{warn=on} + \gamefont{\bfseries\sffamily% + \smaller\smaller} + \northhand{KJ92}{KQ9}{J}{AQJT8} + \southhand{AQT85}{A52}{64}{K96} + \showNS +\end{HBox} +\vfill +% +\end{document} +\endinput + |