Description Usage Arguments Value
Valid LaTeX command names can only contain letters [A-Za-z]
.
The function is_latex_name
checks whether strings are valid LaTeX
command names. The function make_tex_name
converts a character vector
to valid LaTeX command names by dropping all invalid characters.
1 2 3 | is_latex_name(x, allow_at = FALSE)
make_latex_name(x, allow_at = FALSE)
|
x |
character vector |
allow_at |
flag. Allow the character vector to include the |
is_latex_name
A logical vector with length length(x)
indicating which elements elements of the vector contain valid TeX
command names
A character vector with length length(x)
with syntactically
valid LaTeX command names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.