I want to make an expl3
command that puts a space (~
) between letters, and makes every letter uppercase.
\documentclass{article}
\ExplSyntaxOn
% \NewDocumentCommand \addspaces { m }
% Some code
\ExplSyntaxOff
\begin{document}
The command \verb|\addspaces{helLo9 $\Delta$ @}| should produce: \\
H E L L O 9 $\Delta$ @
\end{document}
Edit: I want it to work inside this environment:
\makebox{} \\
{\centering
\fontsize{0.023753\paperwidth}{0.023753\paperwidth} \makebox[\textwidth][s]{ \bfseries
{\scshape \addspaces{\the\month} \ \ \addspaces{\the\year} \ \ \addspaces{edition} }}
\par}
But with @Skillmon 's answer I get this:
\addspace
to single parts. Some clarification is needed.\textls
command?