smallcaps
Displays text in small capitals.
Note: This enables the OpenType smcp
feature for the font. Not all fonts support this feature. Sometimes smallcaps are part of a dedicated font and sometimes they are not available at all. In the future, this function will support selecting a dedicated smallcaps font as well as synthesizing smallcaps from normal letters, but this is not yet implemented.
Example
#set par(justify: true)
#set heading(numbering: "I.")
#show heading: it => {
set block(below: 10pt)
set text(weight: "regular")
align(center, smallcaps(it))
}
= Introduction
#lorem(40)
Parameters
body
The text to display to small capitals.