1lab icon indicating copy to clipboard operation
1lab copied to clipboard

Inline math breaks boldness

Open ncfavier opened this issue 7 months ago • 2 comments

Things like **$(o, \ell)$-complete** (from this page) are transformed to something like **$(o, \ell)\textnormal{-complete}$**, which loses the boldness information. Maybe we could walk Inlines, keeping track of when we encounter a Strong or Emph and reflect this appropriately in the generated LaTeX, or maybe there's a way to make textnormal aware that it's in a bold context somehow?

ncfavier avatar May 31 '25 12:05 ncfavier

https://github.com/the1lab/1lab/pull/484/files?file-filters%5B%5D=.scss&show-deleted-files=true&show-viewed-files=true#diff-cff9f892efdafcfa281f50b3d61c363942baf9b10b71b4937dbebb6f151bfa99R103

plt-amy avatar May 31 '25 15:05 plt-amy

Oh that's much simpler lol.

ncfavier avatar May 31 '25 15:05 ncfavier

Fixed in #538

plt-amy avatar Aug 28 '25 16:08 plt-amy