jorgensd / dolfinx-tutorial

A reimplementation of the Springer book: https://github.com/hplgit/fenics-tutorial/, covering new topics as well as transitioning from dolfin to dolfinx
https://jorgensd.github.io/dolfinx-tutorial/
114 stars 64 forks source link

Math subscripts rendered as * on page /chapter1/nitsche.html #178

Closed drew-parsons closed 9 months ago

drew-parsons commented 9 months ago

There's a typesetting problem with the equations at https://jsdokken.com/dolfinx-tutorial/chapter1/nitsche.html Subscripts such as \int_{\Omega} are getting rendered in the browser (firefox) with a star, as in "∫*Ω" instead of "∫Ω". It makes it look as if some arcane operators are being used, making it seem more complicated than it really is.

The source code at https://github.com/jorgensd/dolfinx-tutorial/blob/1b64530ec5c30911ea5ba330906217d446bcf035/chapter1/nitsche.py#L48 looks fine, so not clear where the problem is. Perhaps in the sphinx modules used to generate the html pages.

Subscripts on other pages are correctly formatted.

jorgensd commented 9 months ago

Good spot. I’ll have a look.

drew-parsons commented 9 months ago

missed some in eq.9 (u*D)

drew-parsons commented 9 months ago

Eq.10b too (_ is shown verbatim)