Skip to content

gbchu/ezchem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezchem

Typst Version Online Documentation

This library can draw atomic or ionic structures and single or double line bridge and so on.

Example

#e-bridge(
  equation: [K] + [Cl<A>O#sub[3] + 6H] + [Cl<B> = KCl + 3] + [Cl<C>#sub[2]$arrow.t$ + 3H#sub[2]O],
  get: (from: <A>, to: <C>, e: 5, tsign: none),
  lose: (from: <B>, to: <C>, e: 5),
)

效果图

#e-bridge(
  equation: [Cu<A2>O + H<A1>#sub[2] = Cu + H#sub[2]O],
  get: (from: <A1>, to: <A2>, e: 2, tsign: none),
)

效果图

#e-bridge(
  equation: [Cl<B1>#sub[2] + 2NaOH = NaCl + NaClO + H#sub[2]O],
  get: (from: <B1>, to: <B1>, e: 1, tsign: none),
)

效果图

#ai-struct(proton: 16, electrons: (2, 8, 6))

效果图

#ai-struct(proton: "z", electrons: (2, 8, 8, "X"))

效果图

About

A typst lib draw atomic or ionic structures and single or double line bridge.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages