lyx_mirror/lib/layouts/customHeadersFooters.module
Juergen Spitzmueller bbf287a3c6 Allow for cite engine and format definitions/modifications in layouts
Now layout files and modules can extend the cite engines or completely
overwrite them, and modify the cite formats.

Any CiteEngine definition in a layout/module will completely overwrite
those by cite engine files.

AddToCiteEngine will extend them (add if they do not exist yet).

Any CiteFormat definition in a layout will be preferred to those in cite
engines. CiteFormat definitions that are not touched by the former are
still active, though (so, as opposed to CiteEngine, a CiteFormat does
not completely overwrite those by the engine files).

Layout format change.
2018-05-21 12:46:53 +02:00

63 lines
1.2 KiB
Plaintext

#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footerlines}
#DescriptionBegin
#Adds environments to define header and footer lines.
#NOTE: To use this module you must set the 'Headings style' in
# the menu Document Settings -> Page Layout to 'fancy'!
#DescriptionEnd
#Author: Uwe Stöhr
Format 68
Style "Left Header"
Category Header/Footer
Margin First_Dynamic
LatexType command
LabelType Static
LabelSep xx
LatexName lhead
LabelString "Left Header:"
Argument 1
LabelString "Even Header"
Tooltip "Alternative text for the even header"
EndArgument
KeepEmpty 1
ParSkip 0
TopSep 0
BottomSep 0
ParSep 0
LabelFont
Color Green
EndFont
End
Style "Center Header"
CopyStyle "Left Header"
LatexName chead
LabelString "Center Header:"
End
Style "Right Header"
CopyStyle "Left Header"
LatexName rhead
LabelString "Right Header:"
End
Style "Left Footer"
CopyStyle "Left Header"
LatexName lfoot
LabelString "Left Footer:"
End
Style "Center Footer"
CopyStyle "Left Header"
LatexName cfoot
LabelString "Center Footer:"
End
Style "Right Footer"
CopyStyle "Left Header"
LatexName rfoot
LabelString "Right Footer:"
End