customHeadersFooters.module: new module to defined header/footer lines

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35522 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-28 02:29:07 +00:00
parent f7a9b8a4ac
commit 6d7fe7552a
3 changed files with 63 additions and 0 deletions

View File

@ -2752,6 +2752,7 @@ lib_layouts_files = Split('''
broadway.layout
chess.layout
cl2emult.layout
customHeadersFooters.module
dinbrief.layout
docbook-book.layout
docbook-chapter.layout

View File

@ -1048,6 +1048,7 @@ dist_layouts_DATA =\
layouts/broadway.layout \
layouts/chess.layout \
layouts/cl2emult.layout \
layouts/customHeadersFooters.module \
layouts/db_lyxmacros.inc \
layouts/db_stdclass.inc \
layouts/db_stdcharstyles.inc \

View File

@ -0,0 +1,61 @@
#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footerlines}
#DescriptionBegin
#Adds environments to define header and footer lines
#NOTE: To use this mudule you must set the "Headings style" in
# the menu Document Settings -> Page Layout to "fancy"!
#DescriptionEnd
Format 28
Style "Left Header"
Category FrontMatter
Margin First_Dynamic
LatexType command
LabelType Static
LabelSep xx
LatexName lhead
LabelString "Left Header:"
OptionalArgs 1
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