module Language.Ltml.ToLaTeX.LaTeXType
( LaTeX (..)
) where
import qualified Data.Text as T
data LaTeX
= Text T.Text
|
Raw T.Text
|
CommandS T.Text
|
Command T.Text [T.Text] [LaTeX]
|
Environment T.Text [T.Text] [LaTeX]
|
Braced LaTeX
|
Sequence [LaTeX]
deriving (Int -> LaTeX -> ShowS
[LaTeX] -> ShowS
LaTeX -> String
(Int -> LaTeX -> ShowS)
-> (LaTeX -> String) -> ([LaTeX] -> ShowS) -> Show LaTeX
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LaTeX -> ShowS
showsPrec :: Int -> LaTeX -> ShowS
$cshow :: LaTeX -> String
show :: LaTeX -> String
$cshowList :: [LaTeX] -> ShowS
showList :: [LaTeX] -> ShowS
Show)