Safe Haskell | None |
---|---|
Language | Haskell2010 |
This package provides extensive control of page headers and footers.
CTAN page for fancyhdr: http://www.ctan.org/pkg/fancyhdr.
- fancyhdr :: PackageName
- data HdrSettings = HdrSettings {}
- defaultHdrSettings :: HdrSettings
- applyHdrSettings :: LaTeXC l => HdrSettings -> l
- fancy :: PageStyle
- lhead :: LaTeXC l => l -> l
- chead :: LaTeXC l => l -> l
- rhead :: LaTeXC l => l -> l
- lfoot :: LaTeXC l => l -> l
- cfoot :: LaTeXC l => l -> l
- rfoot :: LaTeXC l => l -> l
- renewheadrulewidth :: LaTeXC l => Measure -> l
- renewfootrulewidth :: LaTeXC l => Measure -> l
fancyhdr package
fancyhdr :: PackageName Source #
The fancyhdr package.
Please, consider to use applyHdrSettings
instead of importing the package manually.
If you really want to do it manually, use
the functions from the raw interface
exposed below.
Simple interface
data HdrSettings Source #
Header and footer settings of a LaTeX document.
Use applyHdrSettings
to apply these settings
in your document. A default value is provided
by defaultHdrSettings
, which you can modify
using record syntax.
mySettings :: HdrSettings mySettings = defaultHdrSettings { centerHeader = "Amazing header" , headRuleWidth = Pt 2 }
HdrSettings | |
|
defaultHdrSettings :: HdrSettings Source #
Default header and footer settings.
It leaves everything empty but the
centerFooter
field, which is filled
with thePage
.
Also, it sets to 0.4 points
the headRuleWidth
field.
applyHdrSettings :: LaTeXC l => HdrSettings -> l Source #
Apply custom header and footer settings to a
LaTeX document. It takes care of package importing
and page style settings, so using this function
is enough to get the settings applied.
Do not import the fancyhdr
package again.
To be used in the preamble.
Raw interface
renewheadrulewidth :: LaTeXC l => Measure -> l Source #
Set the headrulewidth
attribute.
renewfootrulewidth :: LaTeXC l => Measure -> l Source #
Set the footrulewidth
attribute.