Package Information
- Last Updated
- Authors
- Sean Marshallsay
- Categories
- text
- Disciplines
- chemistryphysics
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/atostate:1.0.02. Import in your Typst file
Add this to your .typ file:
#import "@preview/atostate:1.0.0": *AtoState
Conveniently typeset atomic state configurations in typst.
Import the package with
#import "@preview/atostate:1.0.0": atostate, atoterm
and use it by calling one of those functions in math mode:
$ #atostate("[He] 2s2.2p4.(3P).3s.(2P).np:1P*") $
$ #atostate("[Kr] 4d10.5s2.5p5.(2P<3/2>*).6s:2[3/2]*") $
$ #atoterm("2[3/2]*") $
See the user's guide for more in-depth (and guaranteed up-to-date) documentation, including an explanation of the syntax, or the developer's guide for internal details of how the package works.