kramdown icon indicating copy to clipboard operation
kramdown copied to clipboard

Mathjax corner case (Bbb + nested subscripts of symbols)

Open jiryang opened this issue 3 years ago • 3 comments

Hi,

Somehow, Bbb (or mathbb) with nested subscripts of symbols seem to show strange behavior:

  1. $E_{\pi_\pi}$, $E_{a_\pi}$, $E_{\pi_a}$ ---> all work fine
  2. $\Bbb{E}{\pi\pi}$ ---> does not work
  3. $\Bbb{E}{a\pi}$ ---> does not work
  4. $\Bbb{E}_{\pi_a}$ ---> works fine

All of the above used to work fine.

jiryang avatar May 31 '21 13:05 jiryang

Can you please provide a sample input and the output you get as well as the output you would expect?

gettalong avatar May 31 '21 14:05 gettalong

Hi, the script does not seem to show correctly.

There should be 'underscore' character between two characters inside the parentheses of the two 'not working' cases.

Outputs are:

  1. Eππ, Eaπ, Eπa (normal character + subscript + subscript of subscript style)
  2. $\Bbb{E}{\pi\pi}$
  3. $\Bbb{E}{a\pi}$
  4. Eπa (blackboard bold + subscript + subscript of subscript style)

Thanks in advance!

jiryang avatar Jun 01 '21 00:06 jiryang

Please provide the three parts - input, current output, expected output - as standard code blocks, like this:

Input:

Some $test$ here

Output:

<p>Some $test$ here</p>

gettalong avatar Jun 01 '21 06:06 gettalong