Replies: 11 comments 29 replies
-
|
Formula parser The formula parser should convert any and all formulas to their correctly formatted look, both manually written formulas as well as from variables. Reactions should look professional and clean, multiple different reaction arrows with descriptions on top or bottom, phase states, endo and exothermic reactions, delta H, etc etc. Reactions should be auto alignable just like math mode aligning. |
Beta Was this translation helpful? Give feedback.
-
|
Molecule Database instead of
Data can come from PubChem or Wikipedia and we can just save it as a csv. text is doesn't take that much storage, so we should have no problem just shipping 1000-3000 common chemicals. What is considered a common chemical is a bit harder to define though... |
Beta Was this translation helpful? Give feedback.
-
|
Hazard and Precautionary Statements |
Beta Was this translation helpful? Give feedback.
-
|
Smiles and organic chemistry |
Beta Was this translation helpful? Give feedback.
-
|
Elements and Atoms It should also be possible to display atoms according to bohr model, KLMNO shells, atomic orbitals spdf and their shapes. maybe even some molecule orbitals like sp3 or sigma/pi bonds etc so people can add them onto their cetz graphics if they so choose |
Beta Was this translation helpful? Give feedback.
-
|
Units #let hydrogen = get-molecule("hydrogen") // H2
#let oxygen = get-molecule("oxygen") // O2
#let water = get-molecule("water") // H2O
#let mol-H = 2
#let mol-O = 1
#reaction[#mol-H #hydrogen + #mol-O #oxygen -> #mol-H #water]
We mix #mol(mol-H, hydrogen) with #mol(mol-O, oxygen).output: |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
If someone is interested in making a periodic table generator I think that would be cool as well! |
Beta Was this translation helpful? Give feedback.
-
|
I had some nice discussion with a experienced typst package developer in my community. He suggest me to try write a document with loads of chemical equations and consider the future development base on that. Personally, I holp the main package (typsium) could be clean for only easy and modern chemical parser, so that any issue could be fix when I met them. Also this would help other users to use the package that they won't confused because so many functions in the package. As a result, I wish to move all code to a new, temporary repo except for the main function about chemical formula parsering. Some breaking change could happen when I finish the trial on our package. I am trying to use wasm, which returns a json file, with @sjfhsjfh in typsium to replace the regex rules. |
Beta Was this translation helpful? Give feedback.
-
|
any interesting things recently? |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/ParaN3xus/typst-snippets/blob/main/indenta/indenta.typ |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
We want to streamline how people use chemistry in their papers and publications, protocolls, notes, lab journals, study material, slides and more.
The vision:
All molecules and elements used in the paper should be variables. This way you can declare your compounds at the beginning of the file and reference them throughout. The variables should contain as much useful information as possible, molecular weights, elemental percentages, and more will be automatically calculated. Typsium packages should follow the principle "Declare once -> Use everywhere"
Beta Was this translation helpful? Give feedback.
All reactions