frac_style: Style a fracture with superscripts and subscripts

View source: R/frac_style.R

frac_styleR Documentation

Style a fracture with superscripts and subscripts

Description

Uses Unicode superscripts and subscripts to format a fracture.

Usage

frac_style(fracture, ...)

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

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

fracture documentation built on May 21, 2022, 9:05 a.m.