sscript-0.1.0.0: Formats Strings with superscript or subscript characters

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

Char.SScript

Description

Formats Strings with superscript or subscript characters

Synopsis

Documentation

formatSS :: String -> String Source

formats a string > formatSS "x_1^2 + x_2^2 + x_3^2 = z^2" == "x₁² + x₂² + x₃² = z²"

subscript :: Char -> Char Source

subscripts a char > subscript '0' == '₀'

superscript :: Char -> Char Source

superscripts a char > subscript '0' == '⁰'