Macro rust_texas::command

source ·
macro_rules! command {
    ($doc:ident, $cmd:literal, $( $x:expr ),*) => { ... };
}
Expand description

This could’ve gotten real ugly if you had to do it yourself. So whenever you’ve got a latex macro you defined earlier, and want to use it, use this macro.

command!(<your document variable>, "<your command/macro name>", <appropriate arguments to the command>)