[[Wishes_for_Latin_Modern#General_things|Latin Modern won’t do]]).
== Example Examples == === Bold and Small Caps ===
Typeset the first line once in bold, and then in small caps:
\stoptext
</context>
=== Uppercase ===
Technically, `\WORD` is not a style, so to configure words in uppercase a different approach is necessary. The style can be defined in terms of a Lua handler, such as:
<context source=yes>
\definealternativestyle[UpperCase][{\bf\uppercasing}][]
</context>
Where the handler code resembles:
<context source=yes>
\startluacode
fonts.handlers.otf.addfeature {
name = "uppercasing",
type = "substitution",
prepend = true,
data = characters.uccodes
}
fonts.handlers.otf.addfeature {
name = "lowercasing",
type = "substitution",
prepend = true,
data = characters.lccodes
}
\stopluacode
\definefontfeature[lowercasing][lowercasing=yes]
\definefontfeature[uppercasing][uppercasing=yes]
\unexpanded\def\uppercasing{\addff{uppercasing}}
\unexpanded\def\lowercasing{\addff{lowercasing}}
</context>