Safe Haskell | None |
---|
Some types shared along the library.
Documentation
type PackageName = StringSource
Package names are represented by a String
.
createLabel :: String -> LabelSource
Create a label from its name.
Type of table specifications.
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 |
VerticalLine | Vertical line between two columns. |
DVerticalLine | Double vertical line between two columns. |
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.
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 |