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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 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.