| 1 |
% This file is embedded in datatool-user.pdf version 3.4.3 2025-12-04 |
| 2 |
% Example 49 Word Initial Letter with UTF-8 |
| 3 |
% Label: "ex:initialsutf8" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdfcrop |
| 6 |
\documentclass[12pt]{article} |
| 7 |
\pagestyle{empty} |
| 8 |
\usepackage{datatool-base} |
| 9 |
\begin{document} |
| 10 |
ábc: \DTLGetInitialLetter{ábc}{\result} |
| 11 |
Initial: \result. {áb}c (áb grouped): \DTLGetInitialLetter{{áb}c}{\result} |
| 12 |
Initial: \result. |
| 13 |
|
| 14 |
``ábc'': \DTLGetInitialLetter{``ábc''}{\result} |
| 15 |
Initial: \result. ``{áb}c'' (áb grouped): \DTLGetInitialLetter{``{áb}c''}{\result} |
| 16 |
Initial: \result. |
| 17 |
\end{document} |