Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

style_space_around_math_token

Style spacing around math tokens


Description

Style spacing around math tokens

Usage

style_space_around_math_token(strict, zero, one, pd_flat)

Arguments

strict

Whether the rules should be applied strictly or not.

zero

Character vector of tokens that should be surrounded with zero spaces.

one

Character vector with tokens that should be surrounded by at least one space (depending on strict = TRUE in the styling functions style_text() and friends). See 'Examples'.

pd_flat

A nest or a flat parse table.


styler

Non-Invasive Pretty Printing of R Code

v1.4.1
MIT + file LICENSE
Authors
Kirill Müller [aut], Lorenz Walthert [cre, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.