aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.142 - [capt] Built-In

Mnemonic aid: caps for CAPitalize Title

See also: [caps]  and  [capw] 
Tip:

This built-in uses a list of the USG standard lower-cased words to create sentence-cased output. You can alter the lower cased word list by changing the class variable .notcase similar to this:

mod = macro() mod.notcase = ['an','a','the','test']

After doing that,  [capt]  will only lower case those four words, while every other word will be capitalized.

Convert content to title case:


[capt content]

[capt thIs Is a test]

This Is a Test
This Is a Test
Keyboard Navigation
, Previous Page . Next Page t TOC i Index
This manual was generated with wtfm
on February 18th, 2026 at 12:52 MT
wtfm uses aa_macrov3 and SqLite
aa_macrov3 uses Python 3