]> git.lyx.org Git - lyx.git/blob - lib/layouts/customHeadersFooters.module
Now update layout format.
[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 mudule you must set the "Headings style" in 
5 #      the menu Document Settings -> Page Layout to "fancy"!
6 #DescriptionEnd
7
8 Format 29
9
10 Style "Left Header"
11   Category              FrontMatter
12   Margin                First_Dynamic
13   LatexType             command
14   LabelType             Static
15   LabelSep              xx
16   LatexName             lhead
17   LabelString           "Left Header:"
18   OptionalArgs          1
19   KeepEmpty             1
20   ParSkip               0
21   TopSep                0
22   BottomSep             0
23   ParSep                0
24   LabelFont
25           Color         Green
26   EndFont
27 End
28
29 Style "Center Header"
30   CopyStyle             "Left Header"
31   LatexName             chead
32   LabelString           "Center Header:"
33 End
34
35
36 Style "Right Header"
37   CopyStyle             "Left Header"
38   LatexName             rhead
39   LabelString           "Right Header:"
40 End
41
42
43 Style "Left Footer"
44   CopyStyle             "Left Header"
45   LatexName             lfoot
46   LabelString           "Left Footer:"
47 End
48
49
50 Style "Center Footer"
51   CopyStyle             "Left Header"
52   LatexName             cfoot
53   LabelString           "Center Footer:"
54 End
55
56
57 Style "Right Footer"
58   CopyStyle             "Left Header"
59   LatexName             rfoot
60   LabelString           "Right Footer:"
61 End