X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FcustomHeadersFooters.module;h=9969e4ab558dbb7464bf3b4f4b6350e5e8f7e5fd;hb=adefdf8eebb9aebccdd472482579e55758857f66;hp=aaf349e5e0b8ad5025d6bcbf492485509732ab17;hpb=41d858b88cc49ef6d5f1dc79e1ae84e15a004644;p=lyx.git diff --git a/lib/layouts/customHeadersFooters.module b/lib/layouts/customHeadersFooters.module index aaf349e5e0..9969e4ab55 100644 --- a/lib/layouts/customHeadersFooters.module +++ b/lib/layouts/customHeadersFooters.module @@ -1,28 +1,35 @@ -#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footerlines} +#\DeclareLyXModule[fancyhdr.sty]{Custom Header/Footer Text} +#\DeclareCategory{Page Layout} #DescriptionBegin #Adds environments to define header and footer lines. -#NOTE: To use this module you must set the 'Headings style' in +#See the Additional manual, section Modules > Page Layout > +#Custom Header/Footer Text, for a detailed description. +#NOTE: To use this module you must set the 'Page style' in # the menu Document Settings -> Page Layout to 'fancy'! #DescriptionEnd +#Author: Uwe Stöhr -Format 32 +Format 104 Style "Left Header" - Category FrontMatter + Category Header/Footer Margin First_Dynamic LatexType command LabelType Static LabelSep xx LatexName lhead LabelString "Left Header:" - OptionalArgs 1 + Argument 1 + LabelString "Even Header" + Tooltip "Alternative text for the even header" + EndArgument KeepEmpty 1 ParSkip 0 TopSep 0 BottomSep 0 ParSep 0 LabelFont - Color Green + Color textlabel2 EndFont End @@ -32,30 +39,27 @@ Style "Center Header" 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 +