% This file is embedded in datatool-user.pdf version 3.4.2 2025-11-06
% Example 50 Word Initial Commands
% Label: "ex:initialscs"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{datatool-base} 
\begin{document}
Purify early.\DTLsetup{initial-purify=early} 

\'{a}bc (accent command): \DTLGetInitialLetter{\'{a}bc}{\result} Initial: \result. 

\emph{ábc}: \DTLGetInitialLetter{\emph{ábc}}{\result} Initial: \result. 

Purify late.\DTLsetup{initial-purify=late} 

\'{a}bc (accent command): \DTLGetInitialLetter{\'{a}bc}{\result} Initial: \result. 

\emph{ábc}: \DTLGetInitialLetter{\emph{ábc}}{\result} Initial: \result. 
\end{document}
