]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/simplecv.layout
Update layouts to latest fileformat
[lyx.git] / lib / layouts / simplecv.layout
index c36065f58feb94038133bf6b22cf0a38a37d0baf..8e1b1394d22ce17287680ea62c668998453aff98 100644 (file)
@@ -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 5
+Format 48
 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,16 @@ 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"
+       EndArgument
 End
 
 
@@ -50,6 +59,7 @@ Style Subsection
        LatexName             subsection
        Margin                Static
        LeftMargin            MMM
+       TocLevel 2
 End
 
 Style Topic
@@ -66,7 +76,6 @@ Style Topic
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           "MMMMM"
        LabelFont
          Family              Sans
          Shape               Slanted
@@ -75,6 +84,7 @@ End
 
 
 Style Itemize
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             itemize
@@ -87,8 +97,10 @@ Style Itemize
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           "*"
+       LabelType             Itemize
+       HTMLTag               ul
+       HTMLItem              li
+       HTMLLabel             NONE
 End
 
 
@@ -117,6 +129,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -133,15 +146,16 @@ Style Title
          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
        LabelFont
          Size                Tiny