a

atostate

@preview

Conveniently typeset atomic states.

v1.0.0
MIT
1 downloads

Package Information

Last Updated
Categories
text
Disciplines
chemistryphysics

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/atostate:1.0.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/atostate:1.0.0": *

Version History

1.0.0
9bc7cc0438ed...

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]*") $
Rendered output from the example.

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.