]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/moderncv.layout
More tweaks, and some fixes for missing files in the makefiles, while we're at it.
[lyx.git] / lib / layouts / moderncv.layout
index df9bb94bb4533ed96cb8c9a7dfeb1ee051801127..7ee7c10a9f2c219cac428d06301339a075977755 100644 (file)
@@ -5,7 +5,7 @@
 
 
 # General textclass parameters
-Format 4
+Format 6
        Columns                 1
        Sides                   1
        SecNumDepth             -1
@@ -37,7 +37,6 @@ Style Section
        BottomSep               0.7
        ParSep                  0.7
        Align                   Block
-       AlignPossible           Block, Left
        LabelSep                xxx
        LabelType               No_Label
        Font
@@ -46,6 +45,18 @@ Style Section
        EndFont
 End
 
+Style Subsection
+       CopyStyle               Section
+       LatexName               subsection
+       TopSep                  0.9
+       BottomSep               0
+       ParSep                  0.5
+       Font
+         Family                Sans
+         Series                Medium
+       EndFont
+End
+
 Style Entry
        Margin                  Dynamic
        LatexType               Command
@@ -79,83 +90,33 @@ Style Item
 End
 
 Style ListItem
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               cvlistitem
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "List Item:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style DoubleItem
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               cvlistdoubleitem
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Double Item:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style Space
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               vspace*
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Space:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style Language
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               cvlanguage
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Language:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style Computer
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               cvcomputer
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Computer:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style EmptySection
@@ -175,19 +136,9 @@ Style EmptySection
 End
 
 Style CloseSection
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               EmptySection
        LatexName               closesection{}
-       KeepEmpty               1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Close Section"
-       LabelFont
-         Series                Bold
-         Color                 Green
-       EndFont
 End
 
 Style Bibliography