lyx_mirror/lib/layouts/customHeadersFooters.module
Juergen Spitzmueller b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +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 69
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