commands_used {TeXCheckR}R Documentation

List all unique commands in a document

Description

List all unique commands in a document

Usage

commands_used(tex_lines)

Arguments

tex_lines

A LaTeX document as read from readr::read_lines or readLines.

Value

A character vector of unique commands used in tex_lines.

Examples

commands_used(c("A \\abc{d}", "\\def{x}"))


[Package TeXCheckR version 0.8.1 Index]