Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data ClassFile
- data Key
- newtheorem :: String -> String -> TeX
- usepkg :: String -> Int -> [String] -> TeX
- documentClass :: String -> [String] -> TeX
- renderKey :: Key -> String -> String
- newtype Tex a = Tex {}
- kern :: String -> TeX
- escape :: Char -> [Char]
- tex :: String -> TeX
- texComment :: String -> TeX
- type TeX = Tex ()
- reference :: Label -> Tex ()
- texLn :: String -> TeX
- texLines :: [String] -> Tex ()
- genParen :: String -> Tex a -> Tex a
- braces :: Tex a -> Tex a
- brackets :: Tex a -> Tex a
- backslash :: TeX
- nil :: TeX
- cmd0 :: String -> Tex ()
- cmd :: String -> Tex a -> Tex a
- cmd' :: String -> [String] -> Tex b -> Tex b
- cmdn' :: String -> [String] -> [Tex a] -> Tex [a]
- cmdm :: String -> [Tex a] -> [Tex a] -> Tex [a]
- cmdn'_ :: String -> [String] -> [TeX] -> Tex ()
- cmdn :: String -> [Tex a] -> Tex [a]
- cmdn_ :: String -> [TeX] -> Tex ()
- env :: String -> Tex a -> Tex a
- env' :: String -> [String] -> Tex a -> Tex a
- env'' :: String -> [TeX] -> [TeX] -> Tex a -> Tex a
- data SortedLabel = SortedLabel String Label
- label :: String -> Tex SortedLabel
- xref :: SortedLabel -> TeX
- fxref :: SortedLabel -> TeX
- pageref :: SortedLabel -> TeX
- inBox :: Tex a -> Tex (a, BoxSpec)
- justBox :: Tex a -> Tex BoxSpec
- helpBox :: Bool -> Tex a -> Tex (a, BoxSpec)
- getBoxFromId :: Int -> Tex BoxSpec
- fillBox :: Label -> Bool -> Tex a -> Tex a
- renderWithBoxes :: ClassFile -> BoxSpecs -> Tex a -> String
- renderSimple :: ClassFile -> Tex a -> String
- renderTex :: ClassFile -> String -> TeX -> IO ()
- askClass :: Tex ClassFile
- getBoxInfo :: [Int] -> Map Int BoxSpec
Documentation
Instances
Monad Tex Source # | |
Functor Tex Source # | |
MonadFix Tex Source # | |
Defined in MarXup.Tex | |
IsString TeX Source # | |
Defined in MarXup.Tex fromString :: String -> TeX # | |
Applicative Tex Source # | |
Semigroup TeX Source # | |
Monoid TeX Source # | |
Textual Tex Source # | |
Element (Tex a) Source # | |
Element (Diagram TeX Tex ()) Source # | |
type Target (Tex a) Source # | |
Defined in MarXup.Tex | |
type Target (Diagram TeX Tex ()) Source # | |
texComment :: String -> TeX Source #
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
env'' :: String -> [TeX] -> [TeX] -> Tex a -> Tex a Source #
Environment with tex options and tex arguments
data SortedLabel Source #
Instances
Element SortedLabel Source # | |
Defined in MarXup.Tex type Target SortedLabel :: Type Source # element :: SortedLabel -> Target SortedLabel Source # | |
type Target SortedLabel Source # | |
Defined in MarXup.Tex |
xref :: SortedLabel -> TeX Source #
fxref :: SortedLabel -> TeX Source #
pageref :: SortedLabel -> TeX Source #