]> 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 eb34343fa74a585b675d35478499ff3bf980f922..05bed7fdf53cc752750120c38734b9048490c195 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 33
+Format 80
 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
@@ -26,6 +29,7 @@ End
 
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -42,7 +46,13 @@ Style Section
          Family              Sans
          Series              Bold
        EndFont
-               TocLevel 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
 End
 
 
@@ -58,6 +68,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
@@ -68,7 +88,6 @@ Style Topic
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           "MMMMM"
        LabelFont
          Family              Sans
          Shape               Slanted
@@ -77,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
@@ -90,7 +121,9 @@ Style Itemize
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Itemize
-       LabelString           "*"
+       HTMLTag               ul
+       HTMLItem              li
+       HTMLLabel             NONE
 End
 
 
@@ -119,6 +152,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -141,12 +175,25 @@ 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