sscript-0.1.0.0: Formats Strings with subscript or superscript characters

LicenseBSD3
Maintainerkhalil.fazal@uoit.net
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Data.Char.SScript

Description

Formats Strings with subscript or superscript characters

Synopsis

Documentation

subscript :: Char -> Char Source

subscripts a char

subscript '0' == '₀'

superscript :: Char -> Char Source

superscripts a char

subscript '0' == '⁰'

formatSS :: String -> String Source

formats a string

formatSS "x_1^2 + x_2^2 + x_3^2 = z^2" == "x₁² + x₂² + x₃² = z²"