| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Text.LaTeX.Base.Types
Description
Some types shared along the library.
Documentation
type PackageName = String Source #
Package names are represented by a String.
Type of labels.
createLabel :: String -> Label Source #
Create a label from its name.
Vertical position.
Horizontal position.
Type of table specifications.
Constructors
| LeftColumn | Left-justified column. |
| CenterColumn | Centered column. |
| RightColumn | Right-justified column. |
| ParColumnTop LaTeX | Paragraph column with text vertically aligned at the top. |
| ParColumnMid LaTeX | Paragraph column with text vertically aligned at the middle. Requires |
| ParColumnBot LaTeX | Paragraph column with text vertically aligned at the bottom. Requires |
| NameColumn String | User defined column. Requires |
| BeforeColumn LaTeX | Can be used before a |
| AfterColumn LaTeX | Can be used after a |
| VerticalLine | Vertical line between two columns. |
| DVerticalLine | Double vertical line between two columns. |
| Separator LaTeX | Column separator. Requires |
Measure units defined in LaTeX. Use CustomMeasure to use commands like textwidth.
For instance:
rule Nothing (CustomMeasure linewidth) (Pt 2)
This will create a black box (see rule) as wide as the text and two points tall.
Constructors
| Pt Double | A point is 1/72.27 inch, that means about 0.0138 inch or 0.3515 mm. |
| Mm Double | Millimeter. |
| Cm Double | Centimeter. |
| In Double | Inch. |
| Ex Double | The height of an "x" in the current font. |
| Em Double | The width of an "M" in the current font. |
| CustomMeasure LaTeX | You can introduce a |