frac_style: Style a fracture with superscripts and subscripts

Description Usage Arguments Value Examples

View source: R/frac_style.R

Description

Uses Unicode superscripts and subscripts to format a fracture.

Usage

1

Arguments

fracture

A fracture or a vector to be passed to fracture().

...

Additional arguments passed to fracture().

Value

fracture with numerators formatted with Unicode superscripts and denominators formatted with Unicode subscripts.

Examples

1
2
frac_style(fracture(0.5))
frac_style(fracture(c(0.5, 1.5), mixed = TRUE))

fracture documentation built on Sept. 8, 2020, 5:06 p.m.