Skip to main content

add_to_macro

Function add_to_macro 

Source
pub fn add_to_macro(cs: Token, tokens: Tokens) -> Result<()>
Expand description

Perl AddToMacro($cs, @tokens) (Package.pm:2534): append to a macro’s expansion, unlocked, in add_to_macro_scope; an undefined cs is an Error and is defined with the tokens, as latex.ltx’s \g@addto@macro does (OD #1036). One implementation for the AddToMacro! macro and Rhai’s AddToMacro.