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

Using LaTex / HTML for assignment labels ? #3355

Open
lpatiny opened this issue Feb 12, 2025 · 0 comments
Open

Using LaTex / HTML for assignment labels ? #3355

lpatiny opened this issue Feb 12, 2025 · 0 comments

Comments

@lpatiny
Copy link
Member

lpatiny commented Feb 12, 2025

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

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

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

No branches or pull requests

1 participant