]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/moderncv.layout
apa6.layout: add dependencies
[lyx.git] / lib / layouts / moderncv.layout
index bae80096a4304eb20c1fa3382bfb9922a966d589..9bca75d8de0fdd45729c8912f5d99795a118b30a 100644 (file)
@@ -7,7 +7,7 @@
 
 
 # General textclass parameters
-Format 54
+Format 65
        Columns         1
        Sides           1
        SecNumDepth     -1
@@ -48,6 +48,10 @@ Style CVStyle
          Series        Bold
          Color         Blue
        EndFont
+       Argument 1
+         LabelString   "Style Options"
+         Tooltip               "Options for the CV style"
+       EndArgument
 End
 
 Style CVColor
@@ -56,15 +60,27 @@ Style CVColor
        LabelString     "CV Color Scheme:"
 End
 
+Style CVIcons
+       CopyStyle       CVStyle
+       LatexName       moderncvicons
+       LabelString     "CV Icon Set:"
+End
+
+Style CVColumnWidth
+       CopyStyle       CVStyle
+       LatexName       setlength{\hintscolumnwidth}
+       LabelString     "Column Width:"
+End
+
 Style PDF_Page_Mode
        CopyStyle       CVStyle
        LatexName       renewcommand{\pdfpagemode}
        LabelString     "PDF Page Mode:"
 End
 
-Style FirstName
+Style Name
        LatexType       command
-       LatexName       firstname
+       LatexName       name
        Category        FrontMatter
        InPreamble      1
        TopSep          0.7
@@ -73,6 +89,18 @@ Style FirstName
          Family        Sans
          Size          Largest
        EndFont
+       Argument 1
+         LabelString   "First Name"
+         Tooltip       "First name"
+         Mandatory     1
+       EndArgument
+End
+
+Style FirstName
+       CopyStyle       Name
+       LatexName       firstname
+       ResetArgs       0
+       ObsoletedBy     Name
 End
 
 Style FamilyName
@@ -80,6 +108,7 @@ Style FamilyName
        LatexName       familyname
        TopSep          0.3
        LabelString     "Family Name:"
+       ObsoletedBy     Name
 End
 
 Style Title
@@ -121,22 +150,28 @@ Style Address
        EndArgument
 End
 
-Style Mobile
-       CopyStyle       CVStyle
-       LatexName       mobile
-       LabelString     "Mobile:"
-End
-
 Style Phone
        CopyStyle       CVStyle
        LatexName       phone
        LabelString     "Phone:"
+       Argument 1
+         LabelString   "Phone Type"
+         Tooltip       "can be fixed, mobile or fax"
+       EndArgument
+End
+
+Style Mobile
+       CopyStyle       CVStyle
+       LatexName       mobile
+       LabelString     "Mobile:"
+       ObsoletedBy     Phone
 End
 
 Style Fax
        CopyStyle       CVStyle
        LatexName       fax
        LabelString     "Fax:"
+       ObsoletedBy     Phone
 End
 
 Style Email
@@ -174,10 +209,12 @@ Style Photo
        Argument 1
          LabelString   "Height"
          Tooltip       "Height the photo is resized to"
+         PassThru      1
        EndArgument
        Argument 2
          LabelString   "Thickness"
          Tooltip       "Thickness of the surrounding frame"
+         PassThru      1
        EndArgument
 End
 
@@ -272,6 +309,7 @@ InsetLayout Flex:Column
        Argument 1
          LabelString   "Width"
          Tooltip       "Optional width"
+         PassThru      1
        EndArgument
        Argument 2
          Mandatory     1