Learn R Programming

fracture (version 0.2.2)

frac_style: Style a fracture with superscripts and subscripts

Description

Uses Unicode superscripts and subscripts to format a fracture.

Usage

frac_style(fracture, ...)

Value

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

Arguments

fracture

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

...

Additional arguments passed to fracture().

Examples

Run this code
frac_style(fracture(0.5))
frac_style(fracture(c(0.5, 1.5), mixed = TRUE))

Run the code above in your browser using DataLab