]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/moderncv.layout
Label string tweaks (capitalization etc.)
[lyx.git] / lib / layouts / moderncv.layout
index 742ffdcf7c59f0479ab2c7c1d68ab7863887c138..212151e6caaae99cd6418633f3a5a1cee73bb30c 100644 (file)
@@ -1,11 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{curriculum vitae (modern)}
+#  \DeclareLaTeXClass[moderncv,color.sty,fancyhdr.sty,hyperref.sty,ifpdf.sty,marvosym.sty]{Modern CV}
+#  \DeclareCategory{Curricula Vitae}
 # modern CV textclass definition file.
 # Author : Uwe Stöhr (uwestoehr@web.de)
 
 
 # General textclass parameters
-Format 7
+Format 40
        Columns                 1
        Sides                   1
        SecNumDepth             -1
@@ -47,6 +48,7 @@ Style Section
          Family                Sans
          Series                Bold
        EndFont
+               TocLevel 1
 End
 
 Style Subsection
@@ -59,13 +61,17 @@ Style Subsection
          Family                Sans
          Series                Medium
        EndFont
+       TocLevel 2
 End
 
 Style Entry
        Margin                  Dynamic
        LatexType               Command
        LatexName               cventry
-       OptionalArgs            1
+       Argument 1
+               LabelString   "Entry Option"
+               Tooltip       "Optional argument to the cventry command"
+       EndArgument
        ParSkip                 0.4
        Align                   Block
        LabelSep                xx
@@ -81,7 +87,10 @@ Style Item
        Margin                  Dynamic
        LatexType               Command
        LatexName               cvitem
-       OptionalArgs            1
+       Argument 1
+               LabelString   "Item Option"
+               Tooltip       "Optional argument to the cvitem command"
+       EndArgument
        ParSkip                 0.4
        Align                   Block
        LabelSep                xx
@@ -168,3 +177,21 @@ Style Bibliography
        EndFont
 End
 
+Style --Separator--
+       KeepEmpty             1
+       Margin                Dynamic
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       Align                 Block
+       LabelType             Static
+       LabelString           "--- Separate Environment ---"
+       LabelFont
+         Family              Roman
+         Series              Medium
+         Size                Normal
+         Color               Blue
+       EndFont
+       HTMLLabel             NONE
+End
+