cheminfo / cheminfo/nmrium

Using LaTex / HTML for assignment labels ?

Open
#3,355 0 comments 0 reactions 0 assignees View on GitHub
to discuss
Dominant language
TypeScript
Stars
80
Forks
34
Avg merge
2d 9h
Merged PRs (30d)
36

Description

In NMR you would like to see sometimes assignment like H1 or Harom but currently the assignment is a simple text and such formatting is impossible.

If we would like to go in this direction we could:

- allow rich text editor
- advantage: the formatting can easily be copied / paste even in google docs
- disadvantage: we store something pretty verbose in the database / .nmrium file

- allow the assignment to be written in LaTex
- advantage: simple text in the database
- disadvantages:
- not obvious to have support during exportation but the fallback is a simple text
- complex syntax ? (could have an editor if really, really necessary)

![Image](https://github.com/user-attachments/assets/2f33f8b4-a49b-4a93-8262-c26e705a7450)

There is a library that could easily convert LaTex to MathML: https://temml.org/docs/en/administration#top (but it takes 160kb)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.