]> git.lyx.org Git - lyx.git/blob - lib/layouts/customHeadersFooters.module
8ee735a4d66a4a3c9551f0758e1632f222729971
[lyx.git] / lib / layouts / customHeadersFooters.module
1 #\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footerlines}
2 #DescriptionBegin
3 #Adds environments to define header and footer lines.
4 #NOTE: To use this module you must set the 'Headings style' in 
5 #      the menu Document Settings -> Page Layout to 'fancy'!
6 #DescriptionEnd
7 #Author: Uwe Stöhr
8
9 Format 68
10
11 Style "Left Header"
12   Category              Header/Footer
13   Margin                First_Dynamic
14   LatexType             command
15   LabelType             Static
16   LabelSep              xx
17   LatexName             lhead
18   LabelString           "Left Header:"
19   Argument 1
20     LabelString         "Even Header"
21     Tooltip             "Alternative text for the even header"
22   EndArgument
23   KeepEmpty             1
24   ParSkip               0
25   TopSep                0
26   BottomSep             0
27   ParSep                0
28   LabelFont
29     Color               Green
30   EndFont
31 End
32
33 Style "Center Header"
34   CopyStyle             "Left Header"
35   LatexName             chead
36   LabelString           "Center Header:"
37 End
38
39 Style "Right Header"
40   CopyStyle             "Left Header"
41   LatexName             rhead
42   LabelString           "Right Header:"
43 End
44
45 Style "Left Footer"
46   CopyStyle             "Left Header"
47   LatexName             lfoot
48   LabelString           "Left Footer:"
49 End
50
51 Style "Center Footer"
52   CopyStyle             "Left Header"
53   LatexName             cfoot
54   LabelString           "Center Footer:"
55 End
56
57 Style "Right Footer"
58   CopyStyle             "Left Header"
59   LatexName             rfoot
60   LabelString           "Right Footer:"
61 End
62