diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/README | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex | 44 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf | bin | 0 -> 415404 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Compass.tex | 20 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf | bin | 0 -> 245668 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/Languages.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf | bin | 855928 -> 874153 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex | 44 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf | bin | 228347 -> 227662 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex | 27 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/onedown.pdf | bin | 1025146 -> 1026845 bytes |
12 files changed, 141 insertions, 50 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/README b/Master/texmf-dist/doc/latex/onedown/README index e4e096028ca..fdc16ef9f6c 100644 --- a/Master/texmf-dist/doc/latex/onedown/README +++ b/Master/texmf-dist/doc/latex/onedown/README @@ -1,13 +1,13 @@ -------------------------------------------------------------------------- -The OneDown package v1.4 - 2019/10/15 +The OneDown package v1.6 - 2021/04/27 A package to typeset diagrams for the game of bridge -------------------------------------------------------------------------- Jacob Wiersma Web: -E-Mail: jack@schuli-wirsi.de +E-Mail: jack46@schuli-wirsi.de -------------------------------------------------------------------------- -Copyright 2018 Jacob Wiersma +Copyright 2018-21 Jacob Wiersma This work has the LPPL maintenance status `maintained'. @@ -30,19 +30,18 @@ the files onedown.dtx, onedown.ins, onedown.sty, onedown.pdf - - ODw-danish.trsl ODw-english.trsl ODw-french.trsl - ODw-norwegian.trsl ODw-turkish.trsl ODw-dutch.trsl - ODw-fallback.trsl ODw-german.trsl ODw-swedish.trsl - ODw-spanish.trsl + - ODw-Danish.dict, ODw-Dutch.dict, ODw-English.dict, + ODw-French.dict, ODw-German.dict ODw-Norsk.dict, + ODw-Spanish.dict, ODw-Swedish.dict, ODw-Turkish.dict the directory examples with the files - - onedown-examples.pdf onedown-ref.pdf + - onedown-examples.pdf, onedown-ref.pdf and 21 *.tex files -------------------------------------------------------------------------- INSTALLATION If onedown.sty is missing or you got a newer onedown.dtx/onedown.ins: 1) Run LaTeX on onedown.ins to create a new onedown.sty -2) Copy onedown.sty and the .trsl files in your latex path +2) Copy onedown.sty and the .dict files in your latex path -------------------------------------------------------------------------- DOCUMENTATION @@ -66,8 +65,8 @@ that are written in a separate file. Without this option this list will not be generated. Use this option at your own risk. MORE DOCUMENTATION -- examples/onedown-examples.pdf -- examples/onedown-ref.pdf +- Examples/onedown-examples.pdf +- Examples/onedown-ref.pdf These are in english. To get PDFs which shows the (output of) onedown commands in your language run pdflatex '\AtBeginDocument{\def\RefLang{french}}\input{onedown-ref.tex}' diff --git a/Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex b/Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex new file mode 100644 index 00000000000..5ecca8a55d5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/CardSymbols.tex @@ -0,0 +1,44 @@ +\documentclass[onedown-examples]{subfiles} + +\begin{document} +\noindent +\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black, + title={Use card symbols like {\setdefaults{colors=b+w}♣,♢,♡,♠} directly as input}] +%\begin{HBox}{Use card symbols like {\setdefaults{colors=b+w}♣,♢,♡,♠} directly as input} +If you want to use the card symbols {\setdefaults{colors=b+w}♣,♢,♡,♠} within your \LaTeX-document, +then put these lines in your preamble. That's all. +\\[0.3em] +\verb|\DeclareUnicodeCharacter{2660}{\Sp}| +\verb|\DeclareUnicodeCharacter{2661}{\He}| \\ +\verb|\DeclareUnicodeCharacter{2662}{\Di}| +\verb|\DeclareUnicodeCharacter{2663}{\Cl}| \\ +\verb|\DeclareUnicodeCharacter{2664}{\Sp}| +\verb|\DeclareUnicodeCharacter{2665}{\He}| \\ +\verb|\DeclareUnicodeCharacter{2666}{\Di}| +\verb|\DeclareUnicodeCharacter{2667}{\Cl}| \\[0.3em] + +%\vspace{0.3em} +%\\[0.3em] +If you put them in a file \textbf{\emph{onedown.symbols}}, somewhere where +\LaTeX{} can find it, then the \OneDown package will take care of loading it. An +apropriate place would be in your .texmf directory. +\end{tcolorbox} +%\end{HBox} +\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black, + title={To enter these card symbols on your keyboard, use this with Linux}] +Add following lines to your \emph{.Xmodmap} and run \textbf{xmodmap .Xmodmap} +\\[0.3em] +{\ttfamily +keycode 38 = 0x0061 0x0041 0x0061 0x0041 0x1002663 0x1002667 0x00e6 \\ +keycode 39 = 0x0073 0x0053 0x0073 0x0053 0x1002662 0x1002666 0x100017f \\ +keycode 40 = 0x0064 0x0044 0x0064 0x0044 0x1002661 0x1002665 0x00f0 \\ +keycode 41 = 0x0066 0x0046 0x0066 0x0046 0x1002660 0x1002664 0x01f0 \\ +keycode 65 = space nobreakspace space nobreakspace nobreakspace NoSymbol \\ +} +\tcblower +Now you can enter {\setdefaults{colors=b+w}♣,♢,♡,♠} with \emph{Shift+AltGr} a,s,d,f +\end{tcolorbox} + + +\end{document} +\endinput diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf b/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf Binary files differnew file mode 100644 index 00000000000..c9d613f2767 --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/Compass.pdf 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 diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf b/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf Binary files differnew file mode 100644 index 00000000000..d2accbc38ca --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.pdf diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex b/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex new file mode 100644 index 00000000000..24f4fd4ced8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/Fontsizes.tex @@ -0,0 +1,33 @@ +%\documentclass[onedown-examples]{subfiles} +\documentclass[10pt]{report} +% +\usepackage{libertine} +\usepackage{onedown} + +% +\makeatletter +\newcommand{\mysize}[1]{% + \bgroup\noindent\csname#1\endcsname The #1 size is: \textbf{\csname#1\endcsname\f@size\,pt}.\\The baselineskip is \the\baselineskip\par\vskip2mm\egroup} +\makeatother + +\begin{document} +\noindent +Here we show the different fontsizes with values and output. \\ +For the size commands \emph{ssmall} and \emph{HUGE} refer to package \textsf{moresizes}. +\\[1em] +%%%%% +\mysize{tiny} +\mysize{ssmall} +\mysize{scriptsize} +\mysize{footnotesize} +\mysize{small} +\mysize{normalsize} +\mysize{large} +\mysize{Large} +\mysize{LARGE} +\mysize{huge} +\mysize{Huge} +\mysize{HUGE} +%%%%% +\end{document} +\endinput diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex b/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex index 568f8d0c2aa..0e5d0e67024 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex +++ b/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex @@ -29,7 +29,7 @@ Refer to the \OneDown manual for details. \vfill\noindent Here we switch to the Norwegian language. As we use the same settings for the diagram, we simply call |\showAll| to display it, after we changed the -language. The Jack is coded with \foreignlanguage{norsk}{\jack{}} +language. The Jack is coded with \foreignlanguage{norsk}{\jack{}} rather than \jack, so the hand is now closer to the right upper legend. (We already discussed ways to solve this!) \vfill diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf Binary files differindex 60c32c6677c..1aab50b8d18 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex index 1e5f5b57ad3..12a00a6e247 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex @@ -9,28 +9,29 @@ %%------------------------------------------------------- +\PassOptionsToPackage{shorthands=off}{babel} +\documentclass[a4paper,fontsize=11pt,% + danish,% + dutch,% + french,% + german,% + norsk,% + spanish,% + swedish,% + turkish,% + english,% this is the default language +]{scrartcl} -\documentclass[a4paper,fontsize=11pt]{scrartcl} \usepackage{scrlayer-scrpage} % \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \usepackage{subfiles}% can compile stand-alone/combined -\usepackage[% - danish,% - dutch,% - french,% - german,% - norsk,% - spanish,es-noshorthands,% unset active chars to avoid problems with '.' '’' '"' '~' '<' and '>' - swedish,% - turkish,shorthands=,% unset active chars to avoid problems with ':', '=' and '!' - english,% -]{babel}% introduce all known languages, default is english +\usepackage{babel}% %\usepackage[mono=false]{libertine}% verbatim needs option mono=false -% linertine screws verbatim, at least I don't know how to handle that +% libertine screws verbatim, at least I don't know how to handle that \usepackage{onedown}% our own style to set bridge stuff \usepackage[most]{tcolorbox}% show examples with code %\usepackage{tcolorbox}% show examples with code @@ -115,10 +116,10 @@ \def\ExLang{english} \begin{document} % when compiled with: -% pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}' +% pdflatex '\AtBeginDocument{\def\ExLang{YourLanguage}}\input{onedown-ref.tex}' % you'll get the onedown commands expansions in YourLanguage % YourLanguage can be any language out of: -% english, danish, dutch, french, german, norsk, spanish, swedish, turkish +% danish, dutch, english, french, german, norsk, spanish, swedish, turkish % \expandafter\selectlanguage\expandafter{\ExLang} \pdfbookmark[1]{Title}{Title} @@ -128,8 +129,8 @@ use the following command: \newline \texttt{\$ pdflatex \jobname.tex}} \\[1em] \normalsize\url{www.ctan.org/pkg/onedown} } -\author{J.\,Wiersma\footnote{email: \textsf{jack46@online.de}}} -\date{23 September 2018 (v0.5)} +\author{J.\,Wiersma\footnote{email: \textsf{jack@schuli-wirsi.de}}} +\date{29 January 2020 (v0.5)} \maketitle \section*{Introduction} @@ -152,12 +153,12 @@ sections bear the file name, which can also be found in the list below. The examples are produced using the \textsf{tcolorbox} package. This enables us to show the code and the output of it side by side. -The explanatory text is always in the English language. But you can show the output of all commands -in any of the supported languages.\\ -These are: english, danish, dutch, french, german, norsk, spanish, swedish, turkish. \\ +The explanatory text is always in the English language. But you can show the +output of all commands in any of the supported languages.\\ +These are: danish, dutch, english, french, german, norsk, spanish, swedish, turkish. \\ You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \\[0.2em] -\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-examples.tex}'| +\verb|pdflatex '\AtBeginDocument{\def\ExLang{YourLanguage}}\input{onedown-examples.tex}'| \par\vspace{1\baselineskip} \setlength\columnseprule{.8pt}% rule between cols \begin{multicols}{3}[{\centering \textbf{\Large List of Examples}}] @@ -189,5 +190,6 @@ You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \SubFile{ExpertQuiz} \SubFile{Languages} \SubFile{Compass} +\SubFile{CardSymbols} \end{document} diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf Binary files differindex 8b6f3b90185..92ec145e0ab 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex index 6d16724130e..95d69181725 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex @@ -8,24 +8,24 @@ %% USAGE: (pdf)latex onedown-ref.tex %%------------------------------------------------------- -\documentclass[a4paper,fontsize=11pt]{scrartcl} -\usepackage{scrlayer-scrpage} -% -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -% -\usepackage[% +\PassOptionsToPackage{shorthands=off}{babel} +\documentclass[a4paper,fontsize=11pt,% danish,% dutch,% french,% german,% norsk,% - spanish,es-noshorthands,% unset active chars to avoid problems with '.' '’' '"' '~' '<' and '>' + spanish,% swedish,% - turkish,shorthands=,% unset active chars to avoid problems with ':', '=' and '!' - english,% -]{babel}% introduce all known languages, default is english - + turkish,% + english,% this is the default language +]{scrartcl} +\usepackage{scrlayer-scrpage} +% +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +% +\usepackage{babel}% \usepackage{onedown}% our own style to set bridge stuff \usepackage[a4paper, total={185mm, 257mm},left=12mm,top=20mm]{geometry} \newcommand\OneDown{\textcolor{red}{\smaller\bfseries\textsc{OneDown}}\xspace} @@ -66,6 +66,7 @@ % english, danish, dutch, french, german, norsk, spanish, swedish, turkish % \expandafter\selectlanguage\expandafter{\RefLang} +% \larger \newgeometry{total={150mm, 265mm},left=25mm,top=15mm} \pagestyle{empty} @@ -88,7 +89,7 @@ You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: % \verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}'| \\[0.7em] -\centerline{\textbf{This document shows the commands for the \emph{\RefLang}\ language}} +\centerline{\textbf{This document shows the commands for the \emph{\languagename}\ language}} \begin{description}[itemsep=-0.3em] \item[ace]: \ace \item[Ace\Oarg{*!}]: \Ace, \Ace*, \Ace!, \Ace*! diff --git a/Master/texmf-dist/doc/latex/onedown/onedown.pdf b/Master/texmf-dist/doc/latex/onedown/onedown.pdf Binary files differindex c503a279251..726f4bb0d33 100644 --- a/Master/texmf-dist/doc/latex/onedown/onedown.pdf +++ b/Master/texmf-dist/doc/latex/onedown/onedown.pdf |