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