Quantcast
Channel: Capitalize first letter of a defined variable - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Answer by Nicola Talbot for Capitalize first letter of a defined variable

Here's another approach:\documentclass{article}\usepackage{mfirstuc}\begin{document} \def \mytext {hi how are you?} \xmakefirstuc{\mytext}\end{document}This works much like David's answer, but can also...

View Article



Answer by David Carlisle for Capitalize first letter of a defined variable

\expandafter\MakeUppercase \mytext

View Article

Capitalize first letter of a defined variable

I'm trying to capitalize the first, and only the first letter of line which I have defined as \mytext. I've used {\MakeUppercase put text here?}... until now. But now I have it as a variable...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images