]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/moderncv.layout
* revtex4.layout : Adapt fonts and numbering to better reflect the pdf output.
[lyx.git] / lib / layouts / moderncv.layout
index 0c53fc6b6074c2ccc5fa103e83b46d82d2e93184..887fd5d3e29f9cd37dc2759a289f8e7b5633b775 100644 (file)
@@ -1,16 +1,19 @@
 #% 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]{curriculum vitae (modern)}
 # modern CV textclass definition file.
 # Author : Uwe Stöhr (uwestoehr@web.de)
 
 
 # General textclass parameters
-Format 4
+Format 35
        Columns                 1
        Sides                   1
        SecNumDepth             -1
        TocDepth                -1
 
+Provides hyperref  1
+Provides url       1
+
 
 # Standard style definition
 Style Standard
@@ -25,6 +28,7 @@ Style Standard
 End
 
 Input stdcounters.inc
+Input stdinsets.inc
 
 Style Section
        Margin                  Dynamic
@@ -37,13 +41,26 @@ Style Section
        BottomSep               0.7
        ParSep                  0.7
        Align                   Block
-       AlignPossible           Block, Left
        LabelSep                xxx
        LabelType               No_Label
        Font
          Family                Sans
          Series                Bold
        EndFont
+               TocLevel 1
+End
+
+Style Subsection
+       CopyStyle               Section
+       LatexName               subsection
+       TopSep                  0.9
+       BottomSep               0
+       ParSep                  0.5
+       Font
+         Family                Sans
+         Series                Medium
+       EndFont
+       TocLevel 2
 End
 
 Style Entry