marxup-3.1.1.0: Markup language preprocessor for Haskell

Safe HaskellNone
LanguageHaskell98

MarXup.Tex

Synopsis

Documentation

data ClassFile Source #

Constructors

ACMArt 
Plain 
LNCS 
SIGPlan 
IEEE 
EPTCS 
Beamer 
Instances
Eq ClassFile Source # 
Instance details

Defined in MarXup.Tex

data Key Source #

Instances
Eq Key Source # 
Instance details

Defined in MarXup.Tex

Methods

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

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

Ord Key Source # 
Instance details

Defined in MarXup.Tex

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 # 
Instance details

Defined in MarXup.Tex

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 # 
Instance details

Defined in MarXup.Tex

Methods

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

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

MonadFix Tex Source # 
Instance details

Defined in MarXup.Tex

Methods

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

IsString TeX Source # 
Instance details

Defined in MarXup.Tex

Methods

fromString :: String -> TeX #

Applicative Tex Source # 
Instance details

Defined in MarXup.Tex

Methods

pure :: a -> Tex a #

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

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

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

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

Semigroup TeX Source # 
Instance details

Defined in MarXup.Tex

Methods

(<>) :: TeX -> TeX -> TeX #

sconcat :: NonEmpty TeX -> TeX #

stimes :: Integral b => b -> TeX -> TeX #

Monoid TeX Source # 
Instance details

Defined in MarXup.Tex

Methods

mempty :: TeX #

mappend :: TeX -> TeX -> TeX #

mconcat :: [TeX] -> TeX #

Textual Tex Source # 
Instance details

Defined in MarXup.Tex

Methods

textual :: String -> Tex () Source #

Element (Tex a) Source # 
Instance details

Defined in MarXup.Tex

Associated Types

type Target (Tex a) :: Type Source #

Methods

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

Element (Diagram TeX Tex ()) Source # 
Instance details

Defined in MarXup.Diagram.Tikz

Associated Types

type Target (Diagram TeX Tex ()) :: Type Source #

type Target (Tex a) Source # 
Instance details

Defined in MarXup.Tex

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

Defined in MarXup.Diagram.Tikz

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

data SortedLabel Source #

Constructors

SortedLabel String Label 
Instances
Element SortedLabel Source # 
Instance details

Defined in MarXup.Tex

Associated Types

type Target SortedLabel :: Type Source #

type Target SortedLabel Source # 
Instance details

Defined in MarXup.Tex

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

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

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