Skip to main content

convert_latex_args

Function convert_latex_args 

Source
pub fn convert_latex_args(
    nargs: usize,
    optional: Option<Tokens>,
) -> Result<Option<Parameters>>
Expand description

Convert a LaTeX-style argument spec to our Package form. Ie. given $nargs and $optional, being the two optional arguments to something like \newcommand, convert it to the form we use