]> git.lyx.org Git - lyx.git/blob - lib/layouts/customHeadersFooters.module
customHeadersFooters.module:
[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 35
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   OptionalArgs          1
20   KeepEmpty             1
21   ParSkip               0
22   TopSep                0
23   BottomSep             0
24   ParSep                0
25   LabelFont
26           Color         Green
27   EndFont
28 End
29
30 Style "Center Header"
31   CopyStyle             "Left Header"
32   LatexName             chead
33   LabelString           "Center Header:"
34 End
35
36 Style "Right Header"
37   CopyStyle             "Left Header"
38   LatexName             rhead
39   LabelString           "Right Header:"
40 End
41
42 Style "Left Footer"
43   CopyStyle             "Left Header"
44   LatexName             lfoot
45   LabelString           "Left Footer:"
46 End
47
48 Style "Center Footer"
49   CopyStyle             "Left Header"
50   LatexName             cfoot
51   LabelString           "Center Footer:"
52 End
53
54 Style "Right Footer"
55   CopyStyle             "Left Header"
56   LatexName             rfoot
57   LabelString           "Right Footer:"
58 End
59