]> git.lyx.org Git - features.git/blob - lib/layouts/moderncv.layout
Bump layout format
[features.git] / lib / layouts / moderncv.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[moderncv,color.sty,fancyhdr.sty,hyperref.sty,ifpdf.sty,marvosym.sty]{Modern CV}
3 #  \DeclareCategory{Curricula Vitae}
4 # textclass definition file for modernCV 1.2.0
5 # Author : Uwe Stöhr (uwestoehr@web.de)
6
7
8 # General textclass parameters
9 Format 42
10         Columns         1
11         Sides           1
12         SecNumDepth     -1
13         TocDepth        -1
14
15 Provides hyperref       1
16 Provides url            1
17
18
19 # Standard style definition
20 Style Standard
21         Margin                  Static
22         LatexType               Paragraph
23         LatexName               dummy
24         ParIndent               MM
25         ParSkip                 0.4
26         Align                   Block
27         AlignPossible           Block, Left, Right, Center
28         LabelType               No_Label
29 End
30
31 Input stdcounters.inc
32 Input stdinsets.inc
33 Input stdlists.inc
34
35 Style CVStyle
36         Margin          Dynamic
37         LatexType       Command
38         LatexName       moderncvstyle
39         Category        FrontMatter
40         InPreamble      1
41         ParSkip         0.4
42         LabelSep        xx
43         LabelType       Static
44         LabelString     "CV style:"
45         LabelFont
46           Series        Bold
47           Color         Blue
48         EndFont
49 End
50
51 Style CVColor
52         CopyStyle       CVStyle
53         LatexName       moderncvcolor
54         LabelString     "CV color scheme:"
55 End
56
57 Style FirstName
58         LatexType       command
59         LatexName       firstname
60         Category        FrontMatter
61         InPreamble      1
62         TopSep          0.7
63         Align           Center
64         Font
65           Family        Sans
66           Size          Largest
67         EndFont
68 End
69
70 Style FamilyName
71         CopyStyle       FirstName
72         LatexName       familyname
73         TopSep          0.3
74         LabelString     "Family Name:"
75 End
76
77 Style Title
78         Margin          Static
79         LatexType       Command
80         Category        FrontMatter
81         InPreamble      1
82         LatexName       title
83         ParSkip         0.4
84         ItemSep         0
85         TopSep          0.7
86         BottomSep       0.7
87         ParSep          1
88         Align           Center
89         LabelType       No_Label
90         Font
91           Size          Larger
92           Shape         Italic
93           EndFont
94         HTMLTag         h1
95         HTMLTitle       true
96 End
97
98 Style Address
99         CopyStyle       CVStyle
100         LatexName       address
101         LabelString     "Address:"
102         BottomSep       0.3
103         TopSep          0
104         Argument 1
105           Mandatory     1
106           LabelString   "Street"
107         EndArgument
108 End
109
110 Style Mobile
111         CopyStyle       CVStyle
112         LatexName       mobile
113         LabelString     "Mobile:"
114 End
115
116 Style Phone
117         CopyStyle       CVStyle
118         LatexName       phone
119         LabelString     "Phone:"
120 End
121
122 Style Fax
123         CopyStyle       CVStyle
124         LatexName       fax
125         LabelString     "Fax:"
126 End
127
128 Style Email
129         CopyStyle       CVStyle
130         LatexName       email
131         LabelString     "Email:"
132 End
133
134 Style Homepage
135         CopyStyle       CVStyle
136         LatexName       homepage
137         LabelString     "Homepage:"
138 End
139
140 Style ExtraInfo
141         CopyStyle       CVStyle
142         LatexName       extrainfo
143         LabelString     "Extra Info:"
144 End
145
146 Style Photo
147         CopyStyle       CVStyle
148         LatexName       photo
149         LabelString     "Photo:"
150         Argument 1
151           LabelString   "Height"
152           Tooltip       "Height the photo is resized to"
153         EndArgument
154         Argument 2
155           LabelString   "Thickness"
156           Tooltip       "Thickness of the surrounding frame"
157         EndArgument
158 End
159
160 Style Quote
161         CopyStyle       CVStyle
162         LatexName       quote
163         LabelType       No_Label
164         Align           Center
165         BottomSep       0.7
166         TopSep          0.5
167         Font
168           Shape         Italic
169           Size          Large
170         EndFont
171 End
172
173 Style Section
174         Margin          Dynamic
175         LatexType       Command
176         LatexName       section
177         NeedProtect     1
178         NextNoIndent    1
179         ParSkip         0.4
180         TopSep          1.3
181         BottomSep       0.7
182         ParSep          0.7
183         Align           Block
184         LabelSep        xxx
185         LabelType       No_Label
186         Font
187           Family        Sans
188           Series        Bold
189         EndFont
190         TocLevel        1
191 End
192
193 Style Subsection
194         CopyStyle       Section
195         LatexName       subsection
196         TopSep          0.9
197         BottomSep       0
198         ParSep          0.5
199         Font
200           Family        Sans
201           Series        Medium
202         EndFont
203         TocLevel        2
204 End
205
206 Style Entry
207         Margin          Dynamic
208         LatexType       Command
209         LatexName       cventry
210         Argument 1
211           Mandatory     1
212           LabelString   "Time"
213           Tooltip       "Time"
214         EndArgument
215         Argument 2
216           Mandatory     1
217           LabelString   "What?"
218           Tooltip       "What?"
219           Font
220             Series      Bold
221           EndFont
222         EndArgument
223         Argument 3
224           Mandatory     1
225           LabelString   "Affiliation"
226           Tooltip       "Affiliation"
227           Font
228             Shape       Italic
229           EndFont
230         EndArgument
231         Argument 4
232           Mandatory     1
233           LabelString   "City"
234           Tooltip       "City"
235         EndArgument
236         Argument 5
237           Mandatory     1
238           LabelString   "Country"
239           Tooltip       "Country"
240         EndArgument
241         ParSkip         0.4
242         Align           Block
243         LabelSep        xx
244         LabelType       Static
245         LabelString     "Entry:"
246         LabelFont
247           Series        Bold
248           Color         Blue
249         EndFont
250 End
251
252 Style Item
253         Margin          Dynamic
254         LatexType       Command
255         LatexName       cvitem
256         Argument 1
257           Mandatory     1
258           LabelString   "Summary"
259           Tooltip       "Summary"
260         EndArgument
261         ParSkip         0.4
262         Align           Block
263         LabelSep        xx
264         LabelType       Static
265         LabelString     "Item:"
266         LabelFont
267           Series        Bold
268           Color         Blue
269         EndFont
270 End
271
272 Style ItemWithComment
273         CopyStyle       Item
274         LatexName       cvitemwithcomment
275         LabelString     "Item with comment:"
276         KeepEmpty       1
277         ResetArgs       1
278         Argument 1
279           Mandatory     1
280           LabelString   "Summary"
281           Tooltip       "Summary"
282         EndArgument
283         Argument 2
284           Mandatory     1
285           LabelString   "Text"
286           Tooltip       "Text"
287           Font
288             Series      Bold
289             Shape       Up
290           EndFont
291         EndArgument
292         Font
293           Shape         Italic
294         EndFont
295         LabelFont
296           Series        Bold
297           Color         Blue
298           Shape         Up
299         EndFont
300 End
301
302 Style ListItem
303         CopyStyle       Item
304         LatexName       cvlistitem
305         LabelString     "List Item:"
306         ResetArgs       1
307 End
308
309 Style DoubleItem
310         CopyStyle       ListItem
311         LatexName       cvdoubleitem
312         LabelString     "Double Item:"
313         KeepEmpty       1
314         Argument 1
315           Mandatory     1
316           LabelString   "Left summary"
317           Tooltip       "Left summary"
318         EndArgument
319         Argument 2
320           Mandatory     1
321           LabelString   "Left text"
322           Tooltip       "Left text"
323         EndArgument
324         Argument 3
325           Mandatory     1
326           LabelString   "Right summary"
327           Tooltip       "Right summary"
328         EndArgument
329 End
330
331 Style DoubleListItem
332         CopyStyle       ListItem
333         LatexName       cvlistdoubleitem
334         LabelString     "Double List Item:"
335         ResetArgs       1
336         Argument 1
337           Mandatory     1
338           LabelString   "First Item"
339           Tooltip       "First Item"
340         EndArgument
341 End
342
343 Style Language
344         ObsoletedBy     ItemWithComment
345 End
346
347 Style Computer
348         ObsoletedBy     DoubleItem
349 End
350
351 Style EmptySection
352         Margin          Dynamic
353         LatexType       Command
354         LatexName       emptysection{}
355         KeepEmpty       1
356         ParSkip         0.4
357         Align           Block
358         LabelSep        xx
359         LabelType       Static
360         LabelString     "Empty Section"
361         LabelFont
362           Series        Bold
363           Color         Green
364         EndFont
365 End
366
367 Style CloseSection
368         CopyStyle       EmptySection
369         LatexName       closesection{}
370         LabelString     "Close Section"
371 End
372
373 Style MakeCVtitle
374         CopyStyle       EmptySection
375         LatexName       makecvtitle{}
376         LabelString     "Make CV title"
377         Category        Title
378 End
379
380 Style MakeLetterTitle
381         CopyStyle       EmptySection
382         LatexName       makelettertitle{}
383         LabelString     "Make letter title"
384         Category        Letter
385 End
386
387 Style MakeLetterClosing
388         CopyStyle       EmptySection
389         LatexName       makeletterclosing{}
390         LabelString     "Close Letter"
391         Category        Letter
392 End
393
394 Style Bibliography
395         Margin          First_Dynamic
396         LatexType       Bib_Environment
397         LatexName       thebibliography
398         NextNoIndent    1
399         LeftMargin      MM
400         ParSkip         0.4
401         ItemSep         0
402         TopSep          0.7
403         BottomSep       0.7
404         ParSep          0.5
405         Align           Block
406         AlignPossible   Block, Left
407         LabelType       Bibliography
408         LabelString     "References"
409         LabelBottomSep  1.2
410         LabelFont
411           Series        Bold
412           Size          Larger
413           Family        Sans
414         EndFont
415 End
416
417 Style --Separator--
418         KeepEmpty       1
419         Margin          Dynamic
420         LatexType       Paragraph
421         LatexName       dummy
422         ParIndent       MM
423         Align           Block
424         LabelType       Static
425         LabelString     "--- Separate Environment ---"
426         LabelFont
427           Family        Roman
428           Series        Medium
429           Size          Normal
430           Color         Blue
431         EndFont
432         HTMLLabel       NONE
433 End
434
435 Style Recipient
436         Margin          Dynamic
437         LatexType       Command
438         LatexName       recipient
439         Category        Letter
440         Argument 1
441           Mandatory     1
442           LabelString   "Company name"
443           Tooltip       "Company name"
444           #Font
445           #  Series     Bold
446           #EndFont
447         EndArgument
448         NextNoIndent    1
449         ParSkip         0.4
450         TopSep          1.3
451         BottomSep       0
452         ParSep          0.7
453         Align           Left
454         LabelSep        xxx
455         LabelType       No_Label
456         Font
457           Shape         Italic
458         EndFont
459 End
460
461 Style Date
462         CopyStyle       Recipient
463         LatexName       date
464         ResetArgs       1
465         TopSep          0
466         BottomSep       0
467         Align           Right
468         Font
469           Series        Medium
470         EndFont
471 End
472
473 Style Opening
474         CopyStyle       Date
475         LatexName       opening
476         TopSep          0
477         BottomSep       0.5
478         Align           Left
479 End
480
481 Style Closing
482         CopyStyle       Opening
483         LatexName       closing
484 End
485
486 Style Enclosing
487         Margin          Dynamic
488         CopyStyle       Opening
489         LatexName       enclosure
490         Argument 1
491           LabelString   "Alternative name"
492           Tooltip       "Alternative instead of 'Enclosure'"
493         EndArgument
494         LabelSep        xx
495         LabelType       Static
496         LabelString     "Enclosing:"
497         Font
498           Shape         Italic
499         EndFont
500         LabelFont
501           Shape         Up
502           Series        Bold
503           Color         Blue
504         EndFont
505         
506 End
507