- data Document = Document {}
- type LineNumber = Int
- type CharNumber = Int
- data Loc = Loc {}
- data Note
- data DocumentClassKind
- data DocumentClss = DocClass {}
- data AnyItm
- = PreambleItm PreambleItm
- | LatexItm LatexItm
- | MathItm MathItm
- | ParItm ParItm
- | LocSpecs [LocSpec]
- | Key Key
- | PackageName PackageName
- | Coord Coord
- | Length LatexLength
- | SaveBin SaveBin
- data PreambleItm
- data TexDcl = TexDcl {
- texDeclName :: String
- texDeclArgs :: [Arg AnyItm]
- data LatexItm
- = LatexCmdArgs String [Arg LatexItm]
- | LatexCmdAnyArgs String [Arg AnyItm]
- | TexDecls [TexDcl]
- | TexCmdNoArg String
- | TexCmdArg String LatexItm
- | Environment String [Arg AnyItm] AnyItm
- | RawTex String
- | LatexCast AnyItm
- | TexGroup LatexItm
- | LatexEmpty
- | LatexAppend LatexItm LatexItm
- | LatexNote Key Note LatexItm
- appendAny :: AnyItm -> AnyItm -> Maybe AnyItm
- data Named a = Named String a
- data PackageAction
- data Arg a
- = NoArg
- | StarArg
- | Mandatory [a]
- | Optional [a]
- | NamedArgs [Named a]
- | NamedOpts [Named a]
- | Coordinates a a
- | RawArg String
- | LiftArg a
- | PackageAction PackageAction
- data Star
- data Coord = MkCoord LatexLength LatexLength
- newtype Percentage = Percentage {
- percentage :: Int
- data ParItm
- unParNote :: ParItm -> Maybe (Key, Note, ParItm)
- uncatParItm :: ParItm -> [ParItm]
- newtype MathDcl = MathDcl String
- data MathItm
- data TexUnit
- data LatexLength
- lengthCst :: LatexLength -> Maybe (Maybe TexUnit, Rational)
- safeLengthOp :: String -> (Rational -> Rational -> Rational) -> LatexLength -> LatexLength -> LatexLength
- scaleBy :: Rational -> LatexLength -> LatexLength
- data RowSpec a
- data LocSpec
- locSpecChar :: LocSpec -> Char
- data Pos
- = Centered
- | FlushLeft
- | FlushRight
- | Stretch
- charPos :: Pos -> Char
- data LatexPaperSize
- data Row cell
- data ListItm = ListItm {
- itemOptions :: [Arg LatexItm]
- itemContents :: ParItm
- newtype PackageName = PkgName {
- getPkgName :: String
- newtype Key = MkKey {}
- newtype SaveBin = UnsafeMakeSaveBin {}
- data LatexState = LS {}
- type ErrorMessage = String
- newtype LatexM a = LatexM {
- runLatexM :: Either ErrorMessage a
- type TexDecl = LatexM TexDcl
- type LatexItem = LatexM LatexItm
- type ParItem = LatexM ParItm
- type MathDecl = LatexM MathDcl
- newtype AnyItem = AnyItem {}
- newtype MathItem = MathItem {}
- type ListItem = LatexM ListItm
- type PreambleItem = LatexM PreambleItm
- type DocumentClass = LatexM DocumentClss
- type TexDeclW = Writer TexDecl ()
- type LatexItemW = Writer LatexItem ()
- type ParItemW = Writer ParItem ()
- type MathDeclW = Writer MathDecl ()
- type MathItemW = Writer MathItem ()
- type PreambleItemW = Writer PreambleItem ()
- rawhchar :: Char -> String
- newtype Encoding = Encoding {}
Documentation
type LineNumber = IntSource
type CharNumber = IntSource
Loc | |
|
data DocumentClassKind Source
data DocumentClss Source
data PreambleItm Source
TexDcl | |
|
data PackageAction Source
NoArg | |
StarArg | |
Mandatory [a] | |
Optional [a] | |
NamedArgs [Named a] | |
NamedOpts [Named a] | |
Coordinates a a | |
RawArg String | |
LiftArg a | |
PackageAction PackageAction |
newtype Percentage Source
uncatParItm :: ParItm -> [ParItm]Source
Sp | Scalled point (1pt = 65536sp) |
Pt | Point unit size (1pt = 0.351mm) |
Bp | Big point (1in = 72bp), also PostScript point |
Dd | Didt point (1dd = 0.376mm) |
Em | One em is about the width of the letter M in the current font |
Ex | One ex is about the hoigh of the letter x in the current font |
Cm | Centimeter unit size |
Mm | Milimeter unit size (1mm = 2.845pt) |
In | Inch unit size (1in = 72.27pt) |
Pc | Picas (1pc = 12pt) |
Cc | Cicero (1dd = 12dd = 4.531mm) |
Mu | Math unit (18mu = 1em) |
data LatexLength Source
safeLengthOp :: String -> (Rational -> Rational -> Rational) -> LatexLength -> LatexLength -> LatexLengthSource
scaleBy :: Rational -> LatexLength -> LatexLengthSource
locSpecChar :: LocSpec -> CharSource
Centered | Centered (default). |
FlushLeft | Flush left |
FlushRight | Flush right |
Stretch | Stretch (justify) across entire width; text must contain stretchable space for this to work. |
data LatexPaperSize Source
ListItm | |
|
newtype PackageName Source
data LatexState Source
type ErrorMessage = StringSource
Monad LatexM | |
Functor LatexM | |
Typeable1 LatexM | |
MonadPlus LatexM | |
Applicative LatexM | |
MonadError ErrorMessage LatexM | |
Eq a => Eq (LatexM a) | |
Fractional a => Fractional (LatexM a) | |
Data a => Data (LatexM a) | |
Num a => Num (LatexM a) | |
Show a => Show (LatexM a) | |
IsString a => IsString (LatexM a) | |
Monoid a => Monoid (LatexM a) | |
Greek (LatexM LatexItm) |
type PreambleItem = LatexM PreambleItmSource
type LatexItemW = Writer LatexItem ()Source
type PreambleItemW = Writer PreambleItem ()Source