Skip to content

A Typst package for creating custom shorthands for math equations.

License

Notifications You must be signed in to change notification settings

EpicEricEE/typst-quick-maths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick-maths

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.

About

A Typst package for creating custom shorthands for math equations.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages