scottprahl / miepython

Mie scattering of light by perfect spheres
MIT License
164 stars 56 forks source link

display of documentation in browser #2

Closed AmosEgel closed 5 years ago

AmosEgel commented 6 years ago

Hi Scott, thanks for this very helpful tool!

When looking at the introductory documentation page in a browser (Chrome, Internet Explorer), the formulas are displayed in a strange way (see the following snippet).

image

I think this is a bit confusing, as one could read the second line as x = 2 pi r / lambda / n, while it is actually x = 2 pi r / (lambda / n), right?

scottprahl commented 5 years ago

Somehow, I missed your bug report when it was submitted. Sorry.

You are correct, the markup is rendered incorrectly. The problem is that Github does not render $x \over y$ properly, but does so for $\frac{x}{y}$. I have recently updated all the jupyter notebooks so that things now render properly.

Thanks for the report.