Verschiedene Versionen eines Textes mit tagging.sty

Mit dem relativ neuen tagging Paket lassen sich recht einfach unterschiedliche Versionen eines Textes erzeugen. Das folgende Beispiel soll dies verdeutlichen: Je nachdem, wie \usetag gesetzt ist, wird entweder der als „contribution“ oder der als „distribution“ markierte Text gesetzt.

\documentclass{scrartcl}
\usepackage[]{tagging}
\begin{document}
 
\usetag{distribution}
 
\tagged{contribution}{Please pay the amount of 100 Euro to the following account}
\tagged{distribution}{We will transfer 100 Euro to the following account}
 
\end{document}

Uwe

Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me for it? Consider making a small donation to my local fablab, the Dingfabrik Köln. Details on how to donate can be found here Spenden für die Dingfabrik.

More Posts - Website