mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
f7a9b8a4ac
commit
6d7fe7552a
@ -2752,6 +2752,7 @@ lib_layouts_files = Split('''
|
||||
broadway.layout
|
||||
chess.layout
|
||||
cl2emult.layout
|
||||
customHeadersFooters.module
|
||||
dinbrief.layout
|
||||
docbook-book.layout
|
||||
docbook-chapter.layout
|
||||
|
@ -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 \
|
||||
|
61
lib/layouts/customHeadersFooters.module
Normal file
61
lib/layouts/customHeadersFooters.module
Normal 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
|
Loading…
Reference in New Issue
Block a user