prettifyLaTeX {prettifyAddins} | R Documentation |
Prettify LaTeX
Description
Prettify LaTeX code, including Sweave code, sty
files,
cls
files, and bib
files.
Usage
prettifyLaTeX(contents = NA, tabSize = NULL, log = FALSE)
Arguments
contents |
the code to be prettified; there are three possibilities for
this argument:
|
tabSize |
number of spaces of the indentation (usually |
log |
logical, whether to generate a log file (it will be named
|
Value
The pretty code in a character string.
Note
This function requires the command line utility latexindent
.
[Package prettifyAddins version 2.6.1 Index]