]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/simplecv.layout
Add Eugene (Yu Jin) to the credits
[lyx.git] / lib / layouts / simplecv.layout
index ecd84ce913112a4ebf28be2ae8488a1846b28399..05bed7fdf53cc752750120c38734b9048490c195 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 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,12 +61,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,7 +88,6 @@ Style Topic
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           "MMMMM"
        LabelFont
          Family              Sans
          Shape               Slanted
@@ -75,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
@@ -87,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
 
 
@@ -117,6 +152,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -127,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