X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsimplecv.layout;h=05bed7fdf53cc752750120c38734b9048490c195;hb=9c97021623b6db5239715eb543d65a5e779084b6;hp=2b1621d67186d2bd2189681511002e24790f18c9;hpb=766000a7d86e7c86cfdac75cd582962c3773fce3;p=lyx.git diff --git a/lib/layouts/simplecv.layout b/lib/layouts/simplecv.layout index 2b1621d671..05bed7fdf5 100644 --- a/lib/layouts/simplecv.layout +++ b/lib/layouts/simplecv.layout @@ -1,18 +1,22 @@ #% 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 2 +Format 80 Columns 1 Sides 1 SecNumDepth -1 TocDepth -1 Input stdcounters.inc +Input stdinsets.inc + Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -25,6 +29,7 @@ End Style Section + Category Sectioning Margin Dynamic LatexType Command LatexName section @@ -36,12 +41,18 @@ Style Section BottomSep 0.7 ParSep 0.7 Align Block - AlignPossible Block, Left LabelType No_Label Font 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 End @@ -50,17 +61,23 @@ Style Subsection LatexName subsection Margin Static LeftMargin MMM -End - -# we used to have this version with wrong case -Style SubSection - ObsoletedBy Subsection + 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 @@ -71,7 +88,6 @@ Style Topic Align Block AlignPossible Block, Left LabelType Manual - LabelString "MMMMM" LabelFont Family Sans Shape Slanted @@ -80,10 +96,22 @@ 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 @@ -92,8 +120,10 @@ Style Itemize ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Static - LabelString "*" + LabelType Itemize + HTMLTag ul + HTMLItem li + HTMLLabel NONE End @@ -122,6 +152,7 @@ End Style Title + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -132,24 +163,37 @@ Style Title BottomSep 1 ParSep 1 Align Center - AlignPossible Center LabelType No_Label Font Family Sans Series Bold Size Largest EndFont + HTMLTitle true 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