Learn R Programming

styler (version 0.0-8)

style_space_around_math_token_one: Set spacing of token to a certain level

Description

Set the spacing of all tokens in pd_flat to level if strict = TRUE or to at least to level if strict = FALSE.

Usage

style_space_around_math_token_one(pd_flat, strict, tokens, level)

Arguments

pd_flat

A nest or a flat parse table.

strict

Whether the rules should be applied strictly or not.

tokens

Character vector with tokens that should be styled.

level

Scalar indicating the amount of spaces that should be inserted around the tokens.