diff options
author | Norbert Preining <norbert@preining.info> | 2024-09-10 03:04:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-09-10 03:04:26 +0000 |
commit | 188e7b3561022967166c5e5df0627a700f8c2475 (patch) | |
tree | 2843a57372550967c4264a3e18dc07350c350ce9 /macros/latex/contrib/spelatex/Example/example.tex | |
parent | 851fe059f5142964ae1d327d15bdc2ab7ed68303 (diff) |
CTAN sync 202409100304
Diffstat (limited to 'macros/latex/contrib/spelatex/Example/example.tex')
-rw-r--r-- | macros/latex/contrib/spelatex/Example/example.tex | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/macros/latex/contrib/spelatex/Example/example.tex b/macros/latex/contrib/spelatex/Example/example.tex index e7a5e8dc69..9bd4f3ca90 100644 --- a/macros/latex/contrib/spelatex/Example/example.tex +++ b/macros/latex/contrib/spelatex/Example/example.tex @@ -1,9 +1,12 @@ \documentclass{article} -\usepackage[dutch,english]{babel} % load babel before spel to avoid +\usepackage[dutch,english]{babel} % load babel before spelatex to avoid % option clash! \selectlanguage{english} -\usepackage[format=ogg]{spelatex} +\usepackage[format=ogg, + server=https://ctan.org/tex-archive/macros/latex/contrib/spelatex/Example + ] + {spelatex} \newrobustcmd\CTAN{CTAN} \spelmacad{CTAN}{see-tan} @@ -12,7 +15,7 @@ \title{\spelatex{} Example} \author{Walter Daems and Paul Levrie} -\date{2011/04/12} +\date{2024/09/09} \setlength\parindent{0em} \setlength\parskip{1ex} @@ -22,10 +25,10 @@ \section{Introduction} -\begin{spelchunk} - This file is just a simple showcase of the features of \spelatex. +\<<<{ + This file is just a simple showcase of the features of \spelatex{}. Below, you'll find examples of: -\end{spelchunk} +} \begin{itemize} \spelitem{a simple equation} @@ -34,20 +37,25 @@ \section{A simple equation} \label{eqn:simple} -\begin{spelchunk} +\<<<{ Consider the following simple definition of a polynomial function and check its spoken version by clicking on it. -\end{spelchunk} -\begin{spelchunk}[arealink] +} +\<<<[arealink]{ \begin{equation} - f(x) = x^{5}- x^4 + 7 x^3 + 3 x^2 - 8 x + 23 + f(x) = x^{5}- x^4 + 7 x^3 + 3 x^2 - 8 x + 25 \end{equation} -\end{spelchunk} -\begin{spelchunk} +} +\<<<{ This seems a simple equation, however, it is not so straightforward for an automated reader, to read it correctly. -\end{spelchunk} +} +\section{Remark} +\<<<{ +Instead of the \texttt{\textbackslash{}<<<} macro, one can also use the +spelchunk environment. We did this in the next sections. +} \section{A more complex equation} \newcommand\xx[2]{\ensuremath{#1_{#2}}} \spelmacad{xx}[2]{#1 #2} @@ -80,6 +88,7 @@ voorleesstem de geselecteerde taal zal volgen. \end{spelchunk} \selectlanguage{english} + \section{And some extras} \subsection{Citations} \begin{spelchunk} @@ -93,6 +102,8 @@ equation. For a more complex equation, we refer the user to section~\ref{eqn:complex}. \end{spelchunk} +\selectlanguage{dutch} + \bibliographystyle{alpha} \begin{thebibliography}{99} |