Description Usage Arguments Value Examples
Extracts comments of the form \begin{comment}[option]{filename}...\end{comment}
from tex
files.
1 | extract.tex(contents, pattern = NULL)
|
contents |
string: |
pattern |
regular expression for stringr::str_match_all (default: |
a data frame with components option
, file
and contents
.
1 2 3 | file <- system.file("example.tex", package="extpro")
fcont <- paste0(readLines(file), collapse="\n")
extract.tex(fcont)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.