X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsimplecv.layout;h=c20c0ecba9cd6a271dcd2b89848c043edc769718;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=fd6c243177c3310867aface4bd47cf00fa832a00;hpb=a2f4949d3842eb2fe5a692031a8f6ccb995b3d24;p=lyx.git diff --git a/lib/layouts/simplecv.layout b/lib/layouts/simplecv.layout index fd6c243177..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 11 +Format 98 Columns 1 Sides 1 SecNumDepth -1 @@ -13,7 +14,9 @@ TocDepth -1 Input stdcounters.inc Input stdinsets.inc + Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -22,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 @@ -42,6 +47,16 @@ Style Section Family Sans Series Bold EndFont + 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 @@ -50,12 +65,23 @@ Style Subsection LatexName subsection Margin Static LeftMargin MMM + TocLevel 2 End 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 @@ -66,19 +92,36 @@ Style Topic Align Block AlignPossible Block, Left LabelType Manual - LabelString "MMMMM" LabelFont 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 @@ -87,8 +130,13 @@ Style Itemize ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Static - LabelString "*" + LabelType Itemize + HTMLTag ul + HTMLItem li + HTMLLabel NONE + DocBookTag itemizedlist + DocBookItemTag listitem + DocBookItemInnerTag para End @@ -106,6 +154,8 @@ Style Left_Header Font Family Sans EndFont + DocBookTag para + DocBookAttr role='left-header' End @@ -113,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 @@ -133,17 +186,34 @@ Style Title Series Bold 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 - LabelString "" 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