It looks like you're new here. If you want to get involved, click one of these buttons!

- All Categories 1.4K
- General 29
- Azimuth Project 14
- - Latest Changes 269
- News and Information 122
- - Strategy 92
- - Questions 39
- Azimuth Forum 22
- - Conventions and Policies 20
- Chat 165
- Azimuth Blog 132
- - - Action 13
- - - Biodiversity 7
- - - Books 1
- - - Carbon 7
- - - Climate 41
- - - Computational methods 34
- - - Earth science 21
- - - Ecology 40
- - - Energy 28
- - - Geoengineering 0
- - - Mathematical methods 62
- - - Oceans 4
- - - Methodology 16
- - - Organizations 33
- - - People 6
- - - Reports 3
- - - Software 19
- - - Statistical methods 1
- - - Things to do 1
- - - Visualisation 1
- - - Meta 7
- - - Natural resources 4
- Azimuth Wiki 6
- - - Experiments 23
- - - Sustainability 4
- - - Publishing 3
- Azimuth Code Project 69
- - Spam 1

This is a distillation of the example from Andrew.

1) Double asterisks in Text formulas get processed by the Markdown processor, thereby causing errors.

`$\int_0^\infty a*b*c dx$`

$\int_0^\infty a*b*c dx$

Workaround: put spaces around the offending pair of asterisks.

`$\int_0^\infty a * b * c \ dx$`

$\int_0^\infty a * b * c \ dx$

`$a*b*c$`

$a*b*c$

`$a * b * c$`

$a * b * c$

`$a*b*c$ normal text $a*b*c$`

$a*b*c$ normal text $a*b*c$

`$a * b * c$ normal text $a * b * c$`

$a * b * c$ normal text $a * b * c$

2) Double occurrences of underbars in Tex formulas may get picked up by the Markdown processor. E.g. in `$a _b_ c$`

the b gets italicized by Markdown. But not in `$a_b_c$`

-- Markdown does not act on underbars that are not surrounded by spaces.

`$$ a_b_c $$`

$$ a_b_c $$

`$$ a_{b_c} $$`

$$ a_{b_c} $$

`$a_b_c$`

$a_b_c$

`$a_{b_c}$`

$a_{b_c}$

`$a _b_ c$`

$a _b_ c$

Note that `$a_b_c$`

does not get processed by markdown. But this formula seems to have logical issues, and doesn't get shown as a double superscript by either MathJax or MathML. Is this even well-defined Tex? Simply disambiguating it as `$a_{b_c}$`

fixes it up for MathJax.

$5 ^ 7$

## Comments

Putting

`a_b_c`

in to TeX produces an error: "Double subscript". So, in the words of Neddie Seagoon, it ought not to be allowed.`Putting `a_b_c` in to TeX produces an error: "Double subscript". So, in the words of Neddie Seagoon, it ought not to be allowed.`

Let me try some more that I've heard of.

`$\{a,b,c\}$`

produces $\{a,b,c\}$, solution: double the backslash:`$\\{a,b,c\\}$`

to produce $\\{a,b,c\\}$`Let me try some more that I've heard of. `$\{a,b,c\}$` produces $\{a,b,c\}$, solution: double the backslash: `$\\{a,b,c\\}$` to produce $\\{a,b,c\\}$`

`$a_b c_d$`

makes $a_b c_d$, OK`$a^*b^*$`

makes $a^*b^*$, whoops, but`$a^* b^*$`

makes $a^* b^*$, OK``$a_b c_d$` makes $a_b c_d$, OK `$a^*b^*$` makes $a^*b^*$, whoops, but `$a^* b^*$` makes $a^* b^*$, OK`

A wiki link: David Tanzer

`A wiki link: [[David Tanzer]]`