extract_LaTeX_argument: Extract LaTeX command argument

Description Usage Arguments

View source: R/extract_LaTeX_argument.R

Description

This is a simple wrapper around extract_mandatory_LaTeX_argument and extract_optional_LaTeX_argument.

Usage

1
extract_LaTeX_argument(tex_lines, command_name, n = 1L, optional = FALSE)

Arguments

tex_lines

LaTeX text.

command_name

Name of command without backslash \textbf corresponds to command_name = "textbf".

n

Which argument to extract, if exists.

optional

Extract the optional argument, rather than the mandatory arguments.


TeXCheckR documentation built on Nov. 17, 2020, 9:08 a.m.