]> git.lyx.org Git - lyx.git/blob - lib/layouts/moderncv.layout
cdef7759a8114d343ead7fdc579bf0c41d5bf07d
[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]{Modern CV}
3 #  \DeclareCategory{Curricula Vitae}
4 # modern CV textclass definition file for modernCV 1.2.0
5 # Author : Uwe Stöhr (uwestoehr@web.de)
6
7
8 # General textclass parameters
9 Format 41
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 Section
36         Margin                  Dynamic
37         LatexType               Command
38         LatexName               section
39         NeedProtect             1
40         NextNoIndent            1
41         ParSkip                 0.4
42         TopSep                  1.3
43         BottomSep               0.7
44         ParSep                  0.7
45         Align                   Block
46         LabelSep                xxx
47         LabelType               No_Label
48         Font
49           Family                Sans
50           Series                Bold
51         EndFont
52         TocLevel                1
53 End
54
55 Style Subsection
56         CopyStyle               Section
57         LatexName               subsection
58         TopSep                  0.9
59         BottomSep               0
60         ParSep                  0.5
61         Font
62           Family                Sans
63           Series                Medium
64         EndFont
65         TocLevel                2
66 End
67
68 Style Entry
69         Margin                  Dynamic
70         LatexType               Command
71         LatexName               cventry
72         Argument 1
73           Mandatory             1
74           LabelString           "Time"
75           Tooltip               "Time"
76         EndArgument
77         Argument 2
78           Mandatory             1
79           LabelString           "What?"
80           Tooltip               "What?"
81         EndArgument
82         Argument 3
83           Mandatory             1
84           LabelString           "Affiliation"
85           Tooltip               "Affiliation"
86           #Font
87           #  Shape              Italic
88           #EndFont
89         EndArgument
90         Argument 4
91           Mandatory             1
92           LabelString           "City"
93           Tooltip               "City"
94         EndArgument
95         Argument 5
96           Mandatory             1
97           LabelString           "Country"
98           Tooltip               "Country"
99         EndArgument
100         ParSkip                 0.4
101         Align                   Block
102         LabelSep                xx
103         LabelType               Static
104         LabelString             "Entry:"
105         LabelFont
106           Series                Bold
107           Color                 Blue
108         EndFont
109 End
110
111 Style Item
112         Margin                  Dynamic
113         LatexType               Command
114         LatexName               cvitem
115         Argument 1
116           Mandatory             1
117           LabelString           "Summary"
118           Tooltip               "Summary"
119         EndArgument
120         ParSkip                 0.4
121         Align                   Block
122         LabelSep                xx
123         LabelType               Static
124         LabelString             "Item:"
125         LabelFont
126           Series                Bold
127           Color                 Blue
128         EndFont
129 End
130
131 Style ItemWithComment
132         CopyStyle               Item
133         LatexName               cvitemwithcomment
134         LabelString             "Item with comment:"
135         KeepEmpty               1
136         ResetArgs               1
137         Argument 1
138           Mandatory             1
139           LabelString           "Summary"
140           Tooltip               "Summary"
141         EndArgument
142         Argument 2
143           Mandatory             1
144           LabelString           "Text"
145           Tooltip               "Text"
146         EndArgument
147 End
148
149 Style ListItem
150         CopyStyle               Item
151         LatexName               cvlistitem
152         LabelString             "List Item:"
153         ResetArgs               1
154 End
155
156 Style DoubleItem
157         CopyStyle               ListItem
158         LatexName               cvdoubleitem
159         LabelString             "Double Item:"
160         KeepEmpty               1
161         Argument 1
162           Mandatory             1
163           LabelString           "Left summary"
164           Tooltip               "Left summary"
165         EndArgument
166         Argument 2
167           Mandatory             1
168           LabelString           "Left text"
169           Tooltip               "Left text"
170         EndArgument
171         Argument 3
172           Mandatory             1
173           LabelString           "Right summary"
174           Tooltip               "Right summary"
175         EndArgument
176 End
177
178 Style DoubleListItem
179         CopyStyle               ListItem
180         LatexName               cvlistdoubleitem
181         LabelString             "Double List Item:"
182         ResetArgs               1
183         Argument 1
184           Mandatory             1
185           LabelString           "First Item"
186           Tooltip               "First Item"
187         EndArgument
188 End
189
190 Style Language
191         ObsoletedBy             ItemWithComment
192 End
193
194 Style Computer
195         ObsoletedBy             DoubleItem
196 End
197
198 Style EmptySection
199         Margin                  Dynamic
200         LatexType               Command
201         LatexName               emptysection{}
202         KeepEmpty               1
203         ParSkip                 0.4
204         Align                   Block
205         LabelSep                xx
206         LabelType               Static
207         LabelString             "Empty Section"
208         LabelFont
209           Series                Bold
210           Color                 Green
211         EndFont
212 End
213
214 Style CloseSection
215         CopyStyle               EmptySection
216         LatexName               closesection{}
217         LabelString             "Close Section"
218 End
219
220 Style MakeCVtitle
221         CopyStyle               EmptySection
222         LatexName               makecvtitle{}
223         LabelString             "Make CV title"
224         Category                Title
225 End
226
227 Style MakeLetterTitle
228         CopyStyle               EmptySection
229         LatexName               makelettertitle{}
230         LabelString             "Make letter title"
231         Category                Letter
232 End
233
234 Style MakeLetterClosing
235         CopyStyle               EmptySection
236         LatexName               makeletterclosing{}
237         LabelString             "Close Letter"
238         Category                Letter
239 End
240
241 Style Bibliography
242         Margin                  First_Dynamic
243         LatexType               Bib_Environment
244         LatexName               thebibliography
245         NextNoIndent            1
246         LeftMargin              MM
247         ParSkip                 0.4
248         ItemSep                 0
249         TopSep                  0.7
250         BottomSep               0.7
251         ParSep                  0.5
252         Align                   Block
253         AlignPossible           Block, Left
254         LabelType               Bibliography
255         LabelString             "References"
256         LabelBottomSep          1.2
257         LabelFont
258           Series                Bold
259           Size                  Larger
260           Family                Sans
261         EndFont
262 End
263
264 Style --Separator--
265         KeepEmpty               1
266         Margin                  Dynamic
267         LatexType               Paragraph
268         LatexName               dummy
269         ParIndent               MM
270         Align                   Block
271         LabelType               Static
272         LabelString             "--- Separate Environment ---"
273         LabelFont
274           Family                Roman
275           Series                Medium
276           Size                  Normal
277           Color                 Blue
278         EndFont
279         HTMLLabel               NONE
280 End
281
282 Style Recipient
283         Margin                  Dynamic
284         LatexType               Command
285         LatexName               recipient
286         Category                Letter
287         Argument 1
288           Mandatory             1
289           LabelString           "Company name"
290           Tooltip               "Company name"
291           #Font
292           #  Series             Bold
293           #EndFont
294         EndArgument
295         NextNoIndent            1
296         ParSkip                 0.4
297         TopSep                  1.3
298         BottomSep               0
299         ParSep                  0.7
300         Align                   Left
301         LabelSep                xxx
302         LabelType               No_Label
303         Font
304           Shape                 Italic
305         EndFont
306 End
307
308 Style Date
309         CopyStyle               Recipient
310         LatexName               date
311         ResetArgs               1
312         TopSep                  0
313         BottomSep               0
314         Align                   Right
315         Font
316           Series                Medium
317         EndFont
318 End
319
320 Style Opening
321         CopyStyle               Date
322         LatexName               opening
323         TopSep                  0
324         BottomSep               0.5
325         Align                   Left
326 End
327
328 Style Closing
329         CopyStyle               Opening
330         LatexName               closing
331 End
332
333 Style Enclosing
334         Margin                  Dynamic
335         CopyStyle               Opening
336         LatexName               enclosure
337         Argument 1
338           LabelString           "Alternative name"
339           Tooltip               "Alternative instead of 'Enclosure'"
340         EndArgument
341         LabelSep                xx
342         LabelType               Static
343         LabelString             "Enclosing:"
344         Font
345           Shape                 Italic
346         EndFont
347         LabelFont
348           Shape                 Up
349           Series                Bold
350           Color                 Blue
351         EndFont
352         
353 End
354