Turns a label into an identifier that a LaTeX control sequence
accepts: letters only, with digits spelled out and every other
character dropped. "CompoundA_5min" becomes "CompoundAfivemin".
See also
Other macros:
cr_enumerate(),
cr_format_number(),
cr_macros(),
cr_macros_from()
Examples
cr_macro_name(c("CompoundA_5min", "interval-2", "n cells"))
#> [1] "CompoundAfivemin" "intervaltwo" "ncells"
cr_macro_name("estimate", prefix = "screen")
#> [1] "screenestimate"