
#import "@preview/frackable:0.1.0": *
#frackable(1, 2)
#frackable(1, 3)
#frackable(9, 16)
#frackable(31, 32)
#frackable(0, "000")

#import "@preview/frackable:0.1.0": *
#frackable(1, 2)
#frackable(1, 3)
#frackable(9, 16)
#frackable(31, 32)
#frackable(0, "000")
Great stuff. I think if I were to use it, I would add this alias (for more compact math equations, if it is intended to be used in math mode as well):
#let f = frackable
Fracking awesome
/![]()
(this wouldn’t work, f is always the actual character in maths mode. In my template I called it ifrac for ‘inline fraction’)
#import "@preview/frackable:0.1.0": *
#let f = frackable
$x = #frackable(1, 2), x = #f(1, 2)$
![]()
The problem is that (1) apparently you can’t use frackable() without # in math mode (which usually not the case) and (2) without # f() will still output the math font f() (instead of calling the f function alias).
Yeah it’s very dependent on the font
Unicode fractions like this aren’t really intended for use in math
Cool fractions!!!
![]()