]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/simplecv.layout
Fix typos in comments
[lyx.git] / lib / layouts / simplecv.layout
index fe83a6133782d4b828939bd378af6809b742a466..c20c0ecba9cd6a271dcd2b89848c043edc769718 100644 (file)
@@ -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