% This file is embedded in datatool-user.pdf version 3.4.1 2025-04-25
% 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}
