I am using CoLab to prepare some teaching materials. This is great because students do not have to have python (etc.) installed on their machines. (Thanks to google!)
I want to embed some math code in a nested list.
However, is is not rendered into math - the original code is remains visible.
Here is a code fragment:
- Simple
- Definition
- What
- Space $\dot{M}_{in}$
- What
The problem seems to be related to the indenting. This code fragment renders correctly in CoLab:
- Simple
- Definition
- What
- Space
- What
$\dot{M}_{in}$ <==== this is rendered in maths mode correctly on CoLab!
Using the workaround of having some math which is unindented in the unrendered code seems to fix the issue for the whole cell.
Notes:
I am a noobie, so I apologise if this is just user error. These two cases display the problem very simply in google CoLab on up-to-date versions of both Firefox and Opera on up-to-date Windows. (Although the point of using CoLab is to avoid these dependencies as much as possible!)
The rendering works as I expected (correctly?) in an Anaconda Jupyter Notebook.
I am not sure how the rendering on stackoverflow will affect the examples - the difference between the two fragments is that in the second (correctly rendered one) the math has been typed on a new line with the indenting removed in the source).
Thanks in advance.
The workaround is fine. The maths is correctly rendered and embedded in the text as expected. The problem is fixed for the whole cell. But it is a cumbersome fix.