HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletexmath-0.12.8.9Haskell2010

Text.TeXMath.Unicode.ToUnicode

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

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