marxup-3.1.0.0: Markup language preprocessor for Haskell

Safe HaskellNone
LanguageHaskell98

MarXup.Tex

Synopsis

Documentation

data Key Source #

Instances

Eq Key Source # 

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Ord Key Source # 

Methods

compare :: Key -> Key -> Ordering #

(<) :: Key -> Key -> Bool #

(<=) :: Key -> Key -> Bool #

(>) :: Key -> Key -> Bool #

(>=) :: Key -> Key -> Bool #

max :: Key -> Key -> Key #

min :: Key -> Key -> Key #

newtype Tex a Source #

Constructors

Tex 

Fields

Instances

Monad Tex Source # 

Methods

(>>=) :: Tex a -> (a -> Tex b) -> Tex b #

(>>) :: Tex a -> Tex b -> Tex b #

return :: a -> Tex a #

fail :: String -> Tex a #

Functor Tex Source # 

Methods

fmap :: (a -> b) -> Tex a -> Tex b #

(<$) :: a -> Tex b -> Tex a #

MonadFix Tex Source # 

Methods

mfix :: (a -> Tex a) -> Tex a #

IsString TeX Source # 

Methods

fromString :: String -> TeX #

Applicative Tex Source # 

Methods

pure :: a -> Tex a #

(<*>) :: Tex (a -> b) -> Tex a -> Tex b #

(*>) :: Tex a -> Tex b -> Tex b #

(<*) :: Tex a -> Tex b -> Tex a #

Monoid TeX Source # 

Methods

mempty :: TeX #

mappend :: TeX -> TeX -> TeX #

mconcat :: [TeX] -> TeX #

Textual Tex Source # 

Methods

textual :: String -> Tex () Source #

Element (Tex a) Source # 

Associated Types

type Target (Tex a) :: * Source #

Methods

element :: Tex a -> Target (Tex a) Source #

type Target (Tex a) Source # 
type Target (Tex a) = Tex a
type Target (Diagram TeX Tex ()) Source # 
type Target (Diagram TeX Tex ()) = TeX

type TeX = Tex () Source #

genParen :: String -> Tex a -> Tex a Source #

braces :: Tex a -> Tex a Source #

brackets :: Tex a -> Tex a Source #

cmd0 :: String -> Tex () Source #

Command with no argument

cmd :: String -> Tex a -> Tex a Source #

Command with one argument

cmd' :: String -> [String] -> Tex b -> Tex b Source #

Command with options

cmdn' :: String -> [String] -> [Tex a] -> Tex [a] Source #

Command with options and many arguments

cmdm :: String -> [Tex a] -> [Tex a] -> Tex [a] Source #

Command with tex options and several arguments

cmdn'_ :: String -> [String] -> [TeX] -> Tex () Source #

Command with string options and several arguments; no result

cmdn :: String -> [Tex a] -> Tex [a] Source #

Command with n arguments

cmdn_ :: String -> [TeX] -> Tex () Source #

Command with n arguments, no result

env :: String -> Tex a -> Tex a Source #

Environment

env' :: String -> [String] -> Tex a -> Tex a Source #

Environment with options

env'' :: String -> [TeX] -> [TeX] -> Tex a -> Tex a Source #

Environment with tex options and tex arguments

inBox :: Tex a -> Tex (a, BoxSpec) Source #

helpBox :: Bool -> Tex a -> Tex (a, BoxSpec) Source #

fillBox :: Label -> Bool -> Tex a -> Tex a Source #