| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Language.LaTeX.Types
- data Document = Document {}
- type LineNumber = Int
- type CharNumber = Int
- data Loc = Loc {}
- data Note
- data DocumentClassKind
- data DocumentClss = DocClass {}
- data AnyItm
- 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
- 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
Constructors
| Document | |
Fields | |
type LineNumber = Int Source
type CharNumber = Int Source
Constructors
| Loc | |
Fields
| |
data DocumentClassKind Source
data PreambleItm Source
Constructors
| TexDcl | |
Fields
| |
Constructors
data PackageAction Source
Constructors
| PackageDependency PackageName | |
| ProvidePackage PackageName |
Instances
Constructors
| NoArg | |
| StarArg | |
| Mandatory [a] | |
| Optional [a] | |
| NamedArgs [Named a] | |
| NamedOpts [Named a] | |
| Coordinates a a | |
| RawArg String | |
| LiftArg a | |
| PackageAction PackageAction |
Constructors
| MkCoord LatexLength LatexLength |
uncatParItm :: ParItm -> [ParItm] Source
Constructors
| Sp | Scalled point (1pt = 65536sp) |
| Pt | Point unit size (1pt = 0.351mm) |
| Bp | Big point (1in = 72bp), also PostScript point |
| Dd | Didôt 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 -> LatexLength Source
scaleBy :: Rational -> LatexLength -> LatexLength Source
locSpecChar :: LocSpec -> Char Source
Constructors
| 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
Constructors
| A4paper | |
| OtherPaperSize String |
Constructors
| ListItm | |
Fields
| |
newtype PackageName Source
Constructors
| PkgName | |
Fields
| |
Constructors
| UnsafeMakeSaveBin | |
Fields | |
data LatexState Source
Constructors
| LS | |
Fields | |
type ErrorMessage = String Source
Constructors
| LatexM | |
Fields
| |
Instances
| Monad LatexM Source | |
| Functor LatexM Source | |
| Applicative LatexM Source | |
| Alternative LatexM Source | |
| MonadPlus LatexM Source | |
| MonadError ErrorMessage LatexM Source | |
| Eq a => Eq (LatexM a) Source | |
| Fractional a => Fractional (LatexM a) Source | |
| Data a => Data (LatexM a) Source | |
| Num a => Num (LatexM a) Source | |
| Show a => Show (LatexM a) Source | |
| IsString a => IsString (LatexM a) Source | |
| Monoid a => Monoid (LatexM a) Source | |
| Greek (LatexM LatexItm) Source |
type PreambleItem = LatexM PreambleItm Source
type DocumentClass = LatexM DocumentClss Source
type LatexItemW = Writer LatexItem () Source
type PreambleItemW = Writer PreambleItem () Source