Update the abbreviation for a glossary entry

update_abbrev(x, ...)

Arguments

x

a glossary object.

...

<label> = <new abbreviation> pairs; if just the <label> is passed, it will be used as the new update abbreviation value.

See also

Examples

x <- as_glossary(list(ka = "absorption rate constant"))

x <- update_abbrev(x, ka = "\\ensuremath{k_a}")

x$ka
#> absorption rate constant (\ensuremath{k_a})

x <- update_abbrev(x, ka)

x$ka
#> absorption rate constant (ka)