[texhax] Change Case

Barbara Beeton bnb at ams.org
Wed Nov 26 14:53:28 CET 2003

raj asks,

    what about

    \formal{proper name}        returning       'Proper Name'

    i want to capitalize only the first character of all the words.

use the technique already provided, but parse until you
reach a space, and start again there.

however, this doesn't take care of

    John von Neumann
    Jeanne d'Arc

those require other kinds of knowledge that (la)tex
doesn't have, and you'll have to figure out how to
pass on that knowledge in order to do it right.
i don't have a solution, just being devil's advocate.
							-- bb

More information about the texhax mailing list