]> git.lyx.org Git - features.git/commitdiff
clean up the CV document class layouts
authorUwe Stöhr <uwestoehr@web.de>
Tue, 5 Jun 2007 22:07:15 +0000 (22:07 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 5 Jun 2007 22:07:15 +0000 (22:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18686 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/europecv.layout
lib/layouts/moderncv.layout

index 985bbef0a923ee797b7fdb77b994c18a15812a84..ba1acab63d6d0326539058e53270ad8fd4bf6e18 100644 (file)
@@ -62,19 +62,9 @@ Style Item
 End
 
 Style BulletedItem
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Item
        LatexName               ecvitem*
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Bulleted Item:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style Begin
@@ -82,7 +72,7 @@ Style Begin
        LatexType               Command
        LatexName               begin{europecv}
        KeepEmpty               1
-       BottomSep                       1
+       BottomSep               1
        ParSkip                 0.4
        Align                   Block
        LabelSep                xx
@@ -95,19 +85,10 @@ Style Begin
 End
 
 Style PersonalInfo
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               Begin
        LatexName               ecvpersonalinfo{}
-       KeepEmpty               1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
+       BottomSep               0
        LabelString             "Personal Info"
-       LabelFont
-         Series                Bold
-         Color                 Green
-       EndFont
 End
 
 Style MotherTongue
@@ -127,65 +108,29 @@ Style MotherTongue
 End
 
 Style LangHeader
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               MotherTongue
        LatexName               ecvlanguageheader
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
+       OptionalArgs            0
        LabelString             "Language Header:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style Language
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               MotherTongue
        LatexName               ecvlanguage
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Language:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style LastLanguage
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               MotherTongue
        LatexName               ecvlastlanguage
-       OptionalArgs            1
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
        LabelString             "Last Language:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style LangFooter
-       Margin                  Dynamic
-       LatexType               Command
+       CopyStyle               MotherTongue
        LatexName               ecvlanguagefooter
-       ParSkip                 0.4
-       Align                   Block
-       LabelSep                xx
-       LabelType               Static
+       OptionalArgs            0
        LabelString             "Language Footer:"
-       LabelFont
-         Series                Bold
-         Color                 Blue
-       EndFont
 End
 
 Style End
index df9bb94bb4533ed96cb8c9a7dfeb1ee051801127..0c53fc6b6074c2ccc5fa103e83b46d82d2e93184 100644 (file)
@@ -79,83 +79,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 +125,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