Closed kohlhase closed 4 years ago
@tkw1536 if you show me how to capitalize in Perl, I can do that myself.
@kohlhase Note that I am not a perl expert, but a quick google search reveals multiple ways of doing it.
To capitalize a single word, you can use ucfirst:
print(ucfirst 'word'); # prints 'Word'
To capitalize all words in a sentence, you can use:
my $sentence = 'this is a sentence. ';
$sentence =~ s/(\w+)/\u$1/g;
print($sentence); # prints 'This Is A Sentence'
fixed on simplify branch
I have introduced
\Defi
,\Defii
,\Defiii
,\Defiv
and\Defis
,\Defiis
,\Defiiis
,\Defivs
that capitalize their content instatements.sty
.\Mtrefi*
insmultiling.dtx
\Indi*
inomtext.dtx
.They need to be implemented in LaTeXML as well.