c

chem-par

@preview

Display chemical formulae and IUPAC nomenclature with ease

v0.0.1
MIT

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/chem-par:0.0.1

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/chem-par:0.0.1": *

Version History

0.0.1
cf85c4bdda14...

The chem-par Package

A utility package for displaying IUPAC nomenclature and chemical formulae without the hassle of manually formatting all of these in your document.

Example Usage

#import "@preview/chem-par:0.0.1": *

#set page(width: 30em, height: auto, margin: 1em)
#show: chem-style

The oxidation of n-butanol with K2Cr2O7 requires acidification with H2SO4 to yield butanoic acid. N,N-dimethyltryptamine.

Example output

Works on most of the common things a chemist would type

Example output