View source: R/extract_LaTeX_argument.R
extract_LaTeX_argument | R Documentation |
This is a simple wrapper around extract_mandatory_LaTeX_argument
and extract_optional_LaTeX_argument
.
extract_LaTeX_argument(tex_lines, command_name, n = 1L, optional = FALSE)
tex_lines |
LaTeX text. |
command_name |
Name of command without backslash |
n |
Which argument to extract, if exists. |
optional |
Extract the optional argument, rather than the mandatory arguments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.