HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduletexmath-0.13.3.1Haskell2010

Text.TeXMath.Unicode.ToUnicode

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

  • 4 values
  • 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.