Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chemistry: Atoms in separate <mi> elements #33

Open
samimaattaCelia opened this issue Sep 2, 2024 · 2 comments
Open

Chemistry: Atoms in separate <mi> elements #33

samimaattaCelia opened this issue Sep 2, 2024 · 2 comments

Comments

@samimaattaCelia
Copy link
Collaborator

My point is that are different molecules elements on their own or is the individual atom the element? Should we mark up sodium chloride as <mi>NaCl</mi> or <mi>Na</mi><mi>Cl</mi> or even as text <mtext>NaCl</mtext>? I asked this same thing from Neil in the MathCAT repo, but he hasn't had time to answer yet.

I found some discussion on it in an old issue from w3c/mathml, where Neil shows that maybe the correct way would be to mark up <mi>Na</mi><mi>Cl</mi>.

MathML doesn't really concern itself with marking up chemistry and MathML 4 is the only one that even mentions chemistry at all.

Will this be difficult to test for and also to proofread?

@samimaattaCelia
Copy link
Collaborator Author

Some more chemistry related discussion from the MathJax example page on chemistry typesetting.

@samimaattaCelia
Copy link
Collaborator Author

Neil answered that it should be <mi>Na</mi><mi>Cl</mi>, because of two distinct elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant