count_env | R Documentation |
count common environments like table,figure,verbatim etc..
count_env(article_dir, env_name)
article_dir |
path to the directory which contains RJ article |
env_name |
name of the environment |
count of the environment, FALSE otherwise
article_dir <- system.file("examples/article",
package = "texor")
figures <- texor::count_env(article_dir, "figure")
print(paste("figure count : ", figures))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.