Universe
Version 0.2.0

Provides a function, frackable(numerator, denominator, whole: none), to typeset vulgar and mixed fractions. Provides a second generator(...) function that returns another having the same signature as frackable to typeset arbitrary vulgar and mixed fractions in fonts that do not support the frac feature.

#import "@preview/frackable:0.2.0": *

#frackable(1, 2)
#frackable(1, 3)
#frackable(3, 4, whole: 9)
#frackable(9, 16)
#frackable(31, 32)
#frackable(0, "000")

plot