Rendering question about both superscripts and subscripts to the same base letter

adrian's Avatar

adrian

03 Feb, 2025 10:45 PM

Dear Brett,

In the preferences I have both the preprocessor and the processor set to
/usr/local/bin/pandoc -f markdown_mmd

MathJax is ticked and TeX-AMS-MML_HTMLorMML is chosen.

When I write in MMDComposer5 the line

$$A^{kk,ed}_{jjj,qq}$$

this is rendered in Marked 2.6.44
not as I would like, that is, both superscripts and subscripts starting from the anchor (in the case above, letter A), but first the. subscripts and only then the superscripts. (see attached file).

What I do wrong?

Thank you,
Adrian

  1. 1 Posted by adrian on 04 Feb, 2025 12:03 AM

    adrian's Avatar

    additinonal question:
    Why are
    $$A^{kk_{ed}}$$ and
    $$A_{{jjj}^{qq}}$$ rendered as expected (see attached file)

    but not
    $$A^{{kk_{ed}}{{jjj}^{qq}}$$ which is not rendered at all, but merely copied?
    $$A^{{kk
    {ed}}_{{jjj}^{qq}}$$

    Thank you,
    Adrian

  2. 2 Posted by adrian on 06 Feb, 2025 09:45 PM

    adrian's Avatar

    I should say that tilda
    ~ does not work on my MacBookPro macOS 11.6.3 at all as expected (producing subscripts).

    Thank you for your help.
    Adrian

  3. Support Staff 3 Posted by Brett on 14 Feb, 2025 03:00 PM

    Brett's Avatar

    I don't know MathJax syntax well enough to be able to answer this question, but it appears to me that the syntax renders the same in MultiMarkdown Composer as it does in Marked, which indicates this is not a Marked issue, but rather an issue in the syntax.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screenshot_2025-02-03_at_22.44.50.png 20.8 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac