]> git.lyx.org Git - lyx.git/blob - lib/layouts/moderncv.layout
* Change the dim parameter correctly, even if dim_ has not changed
[lyx.git] / lib / layouts / moderncv.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{curriculum vitae (modern)}
3 # modern CV textclass definition file.
4 # Author : Uwe Stöhr (uwestoehr@web.de)
5
6
7 # General textclass parameters
8 Format 4
9         Columns                 1
10         Sides                   1
11         SecNumDepth             -1
12         TocDepth                -1
13
14
15 # Standard style definition
16 Style Standard
17         Margin                  Static
18         LatexType               Paragraph
19         LatexName               dummy
20         ParIndent               MM
21         ParSkip                 0.4
22         Align                   Block
23         AlignPossible           Block, Left, Right, Center
24         LabelType               No_Label
25 End
26
27 Input stdcounters.inc
28
29 Style Section
30         Margin                  Dynamic
31         LatexType               Command
32         LatexName               section
33         NeedProtect             1
34         NextNoIndent            1
35         ParSkip                 0.4
36         TopSep                  1.3
37         BottomSep               0.7
38         ParSep                  0.7
39         Align                   Block
40         AlignPossible           Block, Left
41         LabelSep                xxx
42         LabelType               No_Label
43         Font
44           Family                Sans
45           Series                Bold
46         EndFont
47 End
48
49 Style Entry
50         Margin                  Dynamic
51         LatexType               Command
52         LatexName               cventry
53         OptionalArgs            1
54         ParSkip                 0.4
55         Align                   Block
56         LabelSep                xx
57         LabelType               Static
58         LabelString             "Entry:"
59         LabelFont
60           Series                Bold
61           Color                 Blue
62         EndFont
63 End
64
65 Style Item
66         Margin                  Dynamic
67         LatexType               Command
68         LatexName               cvitem
69         OptionalArgs            1
70         ParSkip                 0.4
71         Align                   Block
72         LabelSep                xx
73         LabelType               Static
74         LabelString             "Item:"
75         LabelFont
76           Series                Bold
77           Color                 Blue
78         EndFont
79 End
80
81 Style ListItem
82         CopyStyle               Item
83         LatexName               cvlistitem
84         LabelString             "List Item:"
85 End
86
87 Style DoubleItem
88         CopyStyle               Item
89         LatexName               cvlistdoubleitem
90         LabelString             "Double Item:"
91 End
92
93 Style Space
94         CopyStyle               Item
95         LatexName               vspace*
96         LabelString             "Space:"
97 End
98
99 Style Language
100         CopyStyle               Item
101         LatexName               cvlanguage
102         LabelString             "Language:"
103 End
104
105 Style Computer
106         CopyStyle               Item
107         LatexName               cvcomputer
108         LabelString             "Computer:"
109 End
110
111 Style EmptySection
112         Margin                  Dynamic
113         LatexType               Command
114         LatexName               emptysection{}
115         KeepEmpty               1
116         ParSkip                 0.4
117         Align                   Block
118         LabelSep                xx
119         LabelType               Static
120         LabelString             "Empty Section"
121         LabelFont
122           Series                Bold
123           Color                 Green
124         EndFont
125 End
126
127 Style CloseSection
128         CopyStyle               EmptySection
129         LatexName               closesection{}
130         LabelString             "Close Section"
131 End
132
133 Style Bibliography
134         Margin                  First_Dynamic
135         LatexType               Bib_Environment
136         LatexName               thebibliography
137         NextNoIndent            1
138         LeftMargin              MM
139         ParSkip                 0.4
140         ItemSep                 0
141         TopSep                  0.7
142         BottomSep               0.7
143         ParSep                  0.5
144         Align                   Block
145         AlignPossible           Block, Left
146         LabelType               Bibliography
147         LabelString             "References"
148         LabelBottomSep          1.2
149         LabelFont
150           Series                Bold
151           Size                  Larger
152           Family                Sans
153         EndFont
154 End
155