R/extract_mandatory_LaTeX_argument.R
extract_mandatory_LaTeX_argument.Rd
Extract mandatory argument II
extract_mandatory_LaTeX_argument(tex_lines, command_name, n = 1L, by.line = FALSE, parsed_doc = NULL)
tex_lines | A character vector of lines as read from a LaTeX document. |
---|---|
command_name | The command name (no backslash or opening brace). |
n | Which integer to |
by.line | If |
parsed_doc | A parsed document (from |