| 1 |
% This file is embedded in datatool-user.pdf version 3.4.3 2025-12-04 |
| 2 |
% Example 197 Baptism Order of Service (Shortcuts and Localisation) |
| 3 |
% Label: "ex:baptism2" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdfcrop |
| 6 |
\documentclass[12pt]{article} |
| 7 |
\pagestyle{empty} |
| 8 |
% requires both datetime2-english and datatool-english |
| 9 |
\usepackage[en-GB]{datetime2} |
| 10 |
\usepackage[ |
| 11 |
base-only, % datatool-base.sty only, no datatool.sty |
| 12 |
shortcuts |
| 13 |
]{person} |
| 14 |
\newperson*[john]{ |
| 15 |
forenames=John Joseph, |
| 16 |
name=John, |
| 17 |
gender=male |
| 18 |
} |
| 19 |
\newperson*[jane]{ |
| 20 |
forenames=Jane Mary, |
| 21 |
name=Jane, |
| 22 |
gender=female |
| 23 |
} |
| 24 |
\title{Baptism of} |
| 25 |
\author{\peopleforenames} |
| 26 |
\begin{document} |
| 27 |
\maketitle |
| 28 |
\thispagestyle{empty} |
| 29 |
|
| 30 |
% Note that if only one person is defined, the singular form will be used instead so this works regardless of one or more people. |
| 31 |
Today we welcome \peoplename\ into God's family, may He guide and protect \them. |
| 32 |
\end{document} |