p

prismath

@preview

A mathematical brackets colorizer.

v0.2.0
MIT

prismath

A mathematical brackets colorizer for Typst.

Usage

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

#colorize-equation($ A + (B + (C + (D + E))) + F $)

#colorize-equation(
  $ A + (B + (C + (D + E))) + F $,
  bracket-colors: (rgb("#ffd700"), rgb("#da70d6"), rgb("#179fff")),
)
Nested parentheses colored by depth using the default and custom palettes

Version History

0.2.00.12.0
51abd0eb6917...
0.1.00.12.0
83f78dc180c8...