style_space_around_math_token: Style spacing around math tokens

View source: R/rules-spaces.R

style_space_around_math_tokenR Documentation

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 documentation built on Aug. 29, 2023, 5:10 p.m.