Universe

A package for creating custom shorthands for math equations.

Usage

The package comes with a single template function shorthands that takes one or more tuples of the form (shorthand, replacement), where shorthand can be a string or content.

#import "@preview/quick-maths:0.1.0": shorthands

#show: shorthands.with(
  ($+-$, $plus.minus$),
  ($|-$, math.tack),
  ($<=$, math.arrow.l.double) // Replaces '≤'
)

$ x^2 = 9 quad <==> quad x = +-3 $
$ A or B |- A $
$ x <= y $

Result of example code.