Skip to content

Mathjax subscript colliding with markdown italics #662

Open
@billylanchantin

Description

@billylanchantin

Output

screen shot 2018-04-03 at 2 10 52 pm

Code

## Works
```
\\[
a_{n} = b_{n}
\\]
```
\\[
a_{n} = b_{n}
\\]

## Doesn't work
```
\\[
\bar{a}_{n} = b_{n}
\\]
```
\\[
\bar{a}_{n} = b_{n}
\\]

## Workaround
```
\\[
\bar{a}\_{n} = b_{n}
\\]
```
\\[
\bar{a}\_{n} = b_{n}
\\]

Notes

  • Sorry if this is a duplicate. I see that the MathJax support is in flux right now (though I couldn't find this particular issue).
  • The workaround will not work in LaTeX. $a\_{n}$ forces a literal underscore.
  • You can reproduce the error with just {a}_{n} = b_{n} (I used \bar{a}_{n} = b_{n} because it's something someone might actually want to write).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions