[texhax] Read and process single characters

Torsten Wagner torsten.wagner at fh-aachen.de
Fri Jun 24 16:50:15 CEST 2005

Hello TeX-Friends,

does somebody know how to read single characters and process them one by 

e.g. I like to make the first letter of a word capital, independent of 
what the user typed in.
so that

\mycommand{my text}
\mycommand{My text}

results both in

My text

For sure, furthermore it would be nice if

\mycommand{MY TEXT}

results as shown above too.
I found /uppercase and /lowercase to handle whole tokens. But how can I 
split a token into single characters?

Thanks for help


More information about the texhax mailing list