HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduletexmath-0.13.3.1Haskell2010

Text.TeXMath.Unicode.ToUnicode

Function for replacing strings of characters with their respective mathvariant and vice versa.

Synopsis
  • Packagetexmath-0.13.3.1
  • Exports4
  • LanguageHaskell2010
  • LicenceGPL-2.0-only
  • SourceToUnicode.hs
valuetoUnicode :: TextType -> Text -> Text

Replace characters with their corresponding mathvariant unicode character. MathML has a mathvariant attribute which is unimplemented in Firefox (see here) Therefore, we may want to translate mathscr, etc to unicode symbols directly.