X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsimplecv.layout;h=c20c0ecba9cd6a271dcd2b89848c043edc769718;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=fe83a6133782d4b828939bd378af6809b742a466;hpb=c32ae63b6c673a675ed6ab328f6904c7a4a34a17;p=lyx.git diff --git a/lib/layouts/simplecv.layout b/lib/layouts/simplecv.layout index fe83a61337..c20c0ecba9 100644 --- a/lib/layouts/simplecv.layout +++ b/lib/layouts/simplecv.layout @@ -1,10 +1,11 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{curriculum vitae (simple)} +# \DeclareLaTeXClass{Simple CV} +# \DeclareCategory{Curricula Vitae} # Simple CV textclass definition file. # Author : Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr) -Format 36 +Format 98 Columns 1 Sides 1 SecNumDepth -1 @@ -15,6 +16,7 @@ Input stdinsets.inc Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -23,10 +25,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 @@ -43,8 +47,16 @@ Style Section Family Sans Series Bold EndFont - TocLevel 1 - OptionalArgs 1 + TocLevel 1 + Argument 1 + LabelString "Short Title|S" + Tooltip "The section as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 + EndArgument + DocBookTag title + DocBookTagType paragraph + DocBookSectionTag section End @@ -60,6 +72,16 @@ Style Topic Margin Manual LatexType Item_environment LatexName topic + 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 NextNoIndent 1 LabelSep xxx ParSkip 0.4 @@ -74,14 +96,32 @@ Style Topic Family Sans Shape Slanted EndFont + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term + DocBookItemLabelTagType paragraph End Style Itemize + Category List Margin Static LatexType Item_Environment LatexName itemize + 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 NextNoIndent 1 + ToggleIndent Never LeftMargin MMN LabelSep xx ItemSep 0.2 @@ -94,6 +134,9 @@ Style Itemize HTMLTag ul HTMLItem li HTMLLabel NONE + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End @@ -111,6 +154,8 @@ Style Left_Header Font Family Sans EndFont + DocBookTag para + DocBookAttr role='left-header' End @@ -118,10 +163,13 @@ Style Right_Header CopyStyle Left_Header LatexName rightheader Margin Right_Address_Box + DocBookTag para + DocBookAttr role='right-header' End Style Title + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -139,16 +187,33 @@ Style Title Size Largest EndFont HTMLTitle true + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End Style Bibliography CopyStyle Topic + Category BackMatter LatexName thebibliography LatexType Bib_Environment LabelType Bibliography LabelBottomSep 0.7 + ToggleIndent Never LabelFont Size Tiny 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