X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2FcustomHeadersFooters.module;h=797ab573b892d1811be1cc89881480f04e91b969;hb=eb53c60a8f2e3b9bf6fb783a893cc7814f94139f;hp=46d4e9d5958580c84742deb502c80b70e03c00f7;hpb=b653286691f06a1dcfafda10bf44cce5ded8859e;p=lyx.git diff --git a/lib/layouts/customHeadersFooters.module b/lib/layouts/customHeadersFooters.module index 46d4e9d595..797ab573b8 100644 --- a/lib/layouts/customHeadersFooters.module +++ b/lib/layouts/customHeadersFooters.module @@ -1,28 +1,32 @@ #\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"! +#Adds environments to define header and footer lines. +#NOTE: To use this module you must set the 'Headings style' in +# the menu Document Settings -> Page Layout to 'fancy'! #DescriptionEnd +#Author: Uwe Stöhr -Format 29 +Format 45 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 Green EndFont End @@ -32,30 +36,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 +