summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/onedown/examples/onedown-examples.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/onedown/examples/onedown-examples.tex')
-rw-r--r--macros/latex/contrib/onedown/examples/onedown-examples.tex44
1 files changed, 23 insertions, 21 deletions
diff --git a/macros/latex/contrib/onedown/examples/onedown-examples.tex b/macros/latex/contrib/onedown/examples/onedown-examples.tex
index 1e5f5b57ad..12a00a6e24 100644
--- a/macros/latex/contrib/onedown/examples/onedown-examples.tex
+++ b/macros/latex/contrib/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}