styler_assistant_latex: latex styler assistant

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/renderer.R

Description

This function takes the output of the css.parser and produces latex style definitions from it.

Usage

1

Arguments

x

output from css.parser

Details

The function create a new latex command for each css declaration, i.e. each item of the list x it is passed.

The assistant currently honours the following css settings: color, text-decoration:underline, font-weight:bold[er] and font-style:italic

Value

a vector of latex style definitions corresponding to (a subset of) the output of the parser

Author(s)

Romain Francois <romain@r-enthusiasts.com>

See Also

styler

Examples

1
2
3
4
5
6
## Not run: 
styler( "default", "sty", styler_assistant_latex )
css.out <- css.parser( getStyleFile( "default" ) )
styler_assistant_latex( css.out )

## End(Not run)

highlight documentation built on May 2, 2019, 4:58 p.m.