{capitalization} is about letters being UPPER CASE (also called majuscules or capitals) or lower case (miniscules), changing one into the other, or determining which one letters are. A special case of capitals are small caps, which have their own tag {small-caps}.

learn more… | top users | synonyms

21
votes
4answers
2k views

Detect beginning of a sentence in a macro for capitalization

Is it possible to make macros give different results at the beginning of a new sentence? Suppose that I want the macro "\secname" to write "Section" at the beginning of a new sentence, and "section" ...
19
votes
2answers
2k views

How can I force text to be displayed in title-case?

I'm trying to update apa.cls for 6th edition (a large task since I'm not a true latex hacker) and I'd like to force the headings for certain levels to conform to title case. That is the first letter ...
8
votes
2answers
1k views

Emphasize word beginning with uppercase letters in code with lstlisting package

Hi I am using the lstlisting package to format my Prolog code within my tex file. In Prolog all variables begin with an uppercase letter. I would like to emphasize them. Is there a way to for example ...
6
votes
2answers
3k views

Disable/toggle smallcaps in the title

I am using the amsart document class. I want to to change the text in the titles (such as in \author) to be written normally and not in small caps. How can I change this globally? That is, so that ...
8
votes
1answer
1k views

Correct case in namerefs

I'd like to use namerefs within a sentence, and have the case of the resulting text match the position within the sentence. The section title is naturally title case, but is there some command to ...