Xaringan: Xaringan requires escaping of underscores for subscripts in math formulas in some cases

Created on 11 Jun 2018  路  3Comments  路  Source: yihui/xaringan

# foo

This breaks

$$
f_N \circ f_{N-1}
$$

screen shot 2018-06-11 at 1 19 43 pm

# bar

But this renders correctly

$$
f\_N \circ f_{N-1}
$$

screen shot 2018-06-11 at 1 20 49 pm

Most helpful comment

When dollars appear it's a sign
that your code does not quite align
Ensure that your math
in xaringan hath
been placed on a single long line

Apologies for the lame pseudo-limerick. However, do try to use

$$f_N \circ f_{N-1}$$

(oh, and it's in the documentation)

All 3 comments

When dollars appear it's a sign
that your code does not quite align
Ensure that your math
in xaringan hath
been placed on a single long line

Apologies for the lame pseudo-limerick. However, do try to use

$$f_N \circ f_{N-1}$$

(oh, and it's in the documentation)

@ekstroem Thanks a bunch!

Haha, the limerick is funny! 馃槅

For the record, the documentation is here: https://slides.yihui.name/xaringan/#16

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gavinsimpson picture gavinsimpson  路  4Comments

slowkow picture slowkow  路  3Comments

emitanaka picture emitanaka  路  3Comments

ramongallego picture ramongallego  路  3Comments

ekstroem picture ekstroem  路  6Comments