Skip to main content

CAPITAL_KEY

Constant CAPITAL_KEY 

Source
pub const CAPITAL_KEY: &str = "S";
Expand description

The key of a \ref’s options that asks for the capitalized wording, S.

It is the only key of the display options that differs from the name of the variant it selects, and the only one that is a preference rather than a requirement: it selects CAPITAL_VARIANT where the counter style declares that variant, and the style’s usual wording where it does not, with nothing reported. Every other bare key requests the variant of its own name, and a counter style that does not declare it makes the reference an Error (UndeclaredVariant).