Debian Codegraph @

texmf-dist/doc/latex/datatool/datatool-user-examples/datatool-user-example017.tex

raw
1 % This file is embedded in datatool-user.pdf version 3.4.3 2025-12-04
2 % Example 17 Test for Strings
3 % Label: "ex:ifstr"
4 % arara: pdflatex
5 % arara: pdfcrop
6 \documentclass[12pt]{article}
7 \pagestyle{empty}
8 \usepackage{datatool-base}
9 \begin{document}
10 1,234: \DTLifstring{1,234}{string}{not string}.
11
12 \$1,234.0: \DTLifstring{\$1,234.0}{string}{not string}.
13
14 1,2,3,4: \DTLifstring{1,2,3,4}{string}{not string}.
15
16 Empty: \DTLifstring{}{string}{not string}.
17 \end{document}