| 1 |
\documentclass[a4paper,12pt,parskip=half]{scrartcl} |
| 2 |
\usepackage[utf8]{inputenc} |
| 3 |
\usepackage[ |
| 4 |
typ=message, |
| 5 |
serienfunktion |
| 6 |
]{dlrg} |
| 7 |
\usepackage{lipsum} |
| 8 |
\usepackage{datatool} |
| 9 |
|
| 10 |
\title{Persönliche Mitteilung} |
| 11 |
\author{Vorname Nachname} |
| 12 |
\funktionsbezeichnung{Leiter Einsatz} |
| 13 |
\gliederungName{Ortgruppe Muster e.\,V.} |
| 14 |
\adresse{Musterweg 2} |
| 15 |
\ort{12345 Musterhausen} |
| 16 |
\telefon{++49 (0) 987 6543} |
| 17 |
\telefax{++49 (0) 987 6540} |
| 18 |
\email{[email protected]} |
| 19 |
\webseite{muster.dlrg.de} |
| 20 |
|
| 21 |
\DTLnewdb{datensaetze} |
| 22 |
\DTLnewrow{datensaetze} |
| 23 |
\DTLnewdbentry{datensaetze}{Name}{John} |
| 24 |
\DTLnewdbentry{datensaetze}{Nachname}{Smith} |
| 25 |
\DTLnewrow{datensaetze} |
| 26 |
\DTLnewdbentry{datensaetze}{Name}{Jane} |
| 27 |
\DTLnewdbentry{datensaetze}{Nachname}{Brown} |
| 28 |
|
| 29 |
\begin{document} |
| 30 |
|
| 31 |
\DTLforeach{datensaetze}{\Name=Name,\Nachname=Nachname}{ |
| 32 |
\subtitle{Für \Name\ \Nachname} |
| 33 |
\startMitteilungsteil |
| 34 |
|
| 35 |
Lieber \Name, |
| 36 |
|
| 37 |
\lipsum[1-6] |
| 38 |
} |
| 39 |
|
| 40 |
\end{document} |