% This file is embedded in datatool-user.pdf version 3.4.1 2025-04-25
% Example 27 All Upper/Lower Case Tests
% Label: "ex:ifallcase"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
 \usepackage{datatool-base} 
\begin{document}
café: \DTLifAllUpperCase{café}{all caps}{not all caps}. 

Café: \DTLifAllUpperCase{Café}{all caps}{not all caps}. 

CAFÉ: \DTLifAllUpperCase{CAFÉ}{all caps}{not all caps}. 

café: \DTLifAllLowerCase{café}{all lower}{not all lower}. 

Café: \DTLifAllLowerCase{Café}{all lower}{not all lower}. 

CAFÉ: \DTLifAllLowerCase{CAFÉ}{all lower}{not all lower}. 

bric-\`a-brac: \DTLifAllLowerCase{bric-\`a-brac}{all lower}{not all lower}. 

\emph{HORS D'\OE UVRE}: \DTLifAllUpperCase{\emph{HORS D'\OE UVRE}}{all caps}{not all caps}. 
\end{document}
