w

whalogen

@preview

Typesetting chemical formulae, a port of mhchem

v0.3.0
Apache-2.0

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/whalogen:0.3.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/whalogen:0.3.0": *

Version History

0.3.0
7bd4acb99a6d...
0.2.0
e25be05990df...
0.1.0
3802420c906a...

whalogen

whalogen is a library for typsetting chemical formulae with Typst, inspired by mhchem.

GitHub repository: https://github.com/schang412/typst-whalogen

Examples

#import "@preview/whalogen:0.2.0": ce

$ #ce("HCl + H2O -> H3O+ + Cl-") $

See the manual for more details and examples.