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