X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fegs.layout;h=ae700090479bfa16940fb7d34496b8723b17e81b;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=db19949fb6d453f156efd8591a22afe41a8c2d7c;hpb=2bb93b6c549e5a059b5e5cc63c7a25398b1c5d6d;p=lyx.git diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index db19949fb6..ae70009047 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{article (European Geophysical Society)} +# \DeclareLaTeXClass{European Geophysical Society (EGS)} +# \DeclareCategory{Articles} # egs (article) textclass definition file for LyX. # Get egs.cls from EGS website under www.copernicus.org # Author : Matthias Ettrich @@ -8,7 +9,7 @@ # Converted article -> egs Martin Vermeer -Format 8 +Format 98 Columns 2 Sides 1 PageStyle Plain @@ -16,6 +17,7 @@ Provides natbib 1 Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -24,10 +26,12 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -45,10 +49,12 @@ Style Section LabelFont Series Bold EndFont + TocLevel 1 End Style Subsection + Category Sectioning Margin Dynamic LatexType Command LatexName subsection @@ -63,6 +69,7 @@ Style Subsection Font Shape Up EndFont + TocLevel 2 End @@ -80,6 +87,7 @@ Style Paragraph Series Bold Size Normal EndFont + TocLevel 4 End @@ -88,6 +96,7 @@ Style Subparagraph LatexName subparagraph NextNoIndent 0 LeftMargin MM + TocLevel 5 End @@ -96,6 +105,7 @@ Style Quotation LatexType Environment LatexName quotation NextNoIndent 1 + ToggleIndent Always LeftMargin MMM RightMargin MMM ParIndent MM @@ -114,6 +124,7 @@ Style Quote LatexType Environment LatexName quote NextNoIndent 1 + ToggleIndent Never LeftMargin MMM RightMargin MMM TopSep 0.5 @@ -139,10 +150,21 @@ Style List AlignPossible Block, Left LabelType Manual LabelString "00.00.0000" + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End Style Enumerate + Category List Margin Static LatexType Item_Environment LatexName enumerate @@ -157,14 +179,40 @@ Style Enumerate Align Block AlignPossible Block, Left LabelType Enumerate + RefPrefix enu + Argument item:1 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument + DocBookTag orderedlist + DocBookItemTag listitem + DocBookItemInnerTag para + HTMLStyle + ol.enumi { list-style-type: decimal; } + ol.enumii { list-style-type: lower-latin; } + ol.enumiii { list-style-type: lower-roman; } + ol.enumiv { list-style-type: upper-latin; } + EndHTMLStyle End Style Itemize + Category List Margin Static LatexType Item_Environment LatexName itemize NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -174,7 +222,23 @@ Style Itemize Align Block AlignPossible Block, Left LabelType Itemize - LabelString "*" + Argument item:1 + LabelString "Custom Item|s" + Tooltip "A customized item string" + EndArgument + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End @@ -183,6 +247,7 @@ Style Description LatexType Item_environment LatexName description NextNoIndent 1 + ToggleIndent Never LeftMargin MM LabelSep xxx ParSkip 0.4 @@ -193,10 +258,25 @@ Style Description Align Block AlignPossible Block, Left LabelType Manual - LabelString "MM" LabelFont Series Bold EndFont + Argument listpreamble:1 + LabelString "List preamble" + MenuString "List Preamble" + Tooltip "LaTeX code to be inserted before the first item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term + DocBookItemLabelTagType paragraph End @@ -244,6 +324,7 @@ End Style Title + Category FrontMatter Margin Static LatexType Command LatexName title @@ -255,13 +336,15 @@ Style Title Align Left AlignPossible Block, Center, Left, Right, Center LabelType No_Label - Fill_Top 1 - Fill_Bottom 1 Font Family Sans Series Bold Size Largest EndFont + HTMLTitle true + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End @@ -282,10 +365,12 @@ Style LaTeX_Title Series Bold Size Largest EndFont + HTMLTitle true End Style Author + Category FrontMatter Margin Static LatexType Command LatexName author @@ -302,8 +387,13 @@ Style Author LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End @@ -320,11 +410,11 @@ Style Affil ParSep 0.7 Align Left LabelType Static - LabelString "Affilation:" + LabelString "Affiliation:" LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -346,7 +436,7 @@ Style Journal LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -369,7 +459,7 @@ Style msnumber LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -392,7 +482,7 @@ Style FirstAuthor LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -414,7 +504,7 @@ Style Received LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -436,7 +526,7 @@ Style Accepted LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -458,7 +548,7 @@ Style Offsets LabelFont Series Bold Shape Italic - Color red + Color textlabel3 EndFont End @@ -479,6 +569,7 @@ End Style Abstract + Category FrontMatter Margin First_Dynamic LatexType Environment LatexName abstract @@ -500,6 +591,7 @@ End Style Acknowledgements + Category BackMatter Margin First_Dynamic LatexType Environment LatexName acknowledgements @@ -550,10 +642,12 @@ End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -564,10 +658,22 @@ Style Bibliography AlignPossible Block, Left LabelType Bibliography LabelString "References" - LabelBottomSep 0.7 + LabelBottomSep 0.7 LabelFont Series Bold EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End @@ -590,6 +696,7 @@ Style Section* Series Bold # Size Larger EndFont + HTMLInToc 0 End @@ -606,6 +713,7 @@ Style Subsection* Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + HTMLInToc 0 End @@ -622,7 +730,7 @@ Style LaTeX LabelType No_Label FreeSpacing 1 Font - Color red + Color textlabel3 EndFont End @@ -643,6 +751,9 @@ Style LyX-Code Font Family Typewriter EndFont + DocBookTag programlisting + DocBookTagType paragraph + DocBookAttr language='lyx' End @@ -650,3 +761,4 @@ Input stdinsets.inc Input stdfloats.inc Input numarticle.inc Input stdcounters.inc +Input stdrefprefix.inc