]> git.lyx.org Git - lyx.git/blob - lib/layouts/europecv.layout
Remove profiling.py
[lyx.git] / lib / layouts / europecv.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[europecv,fancyhdr.sty,longtable.sty,ucs.sty]{Europe CV}
3 #  \DeclareCategory{Curricula Vitae}
4 # europe CV textclass definition file.
5 # Author : Uwe Stöhr (uwestoehr@web.de)
6
7
8 Format 104
9
10 # General textclass parameters
11 Columns         1
12 Sides           1
13 SecNumDepth     -1
14 TocDepth        -1
15
16
17 # Standard style definition
18 Style Standard
19         Category        MainText
20         Margin          Static
21         LatexType       Paragraph
22         LatexName       dummy
23         ParIndent       MM
24         ParSkip         0.4
25         Align           Block
26         LabelType       No_Label
27         DocBookTag  para
28 End
29
30 Input stdcounters.inc
31 Input stdinsets.inc
32
33 Style Name
34         Margin          Dynamic
35         LatexType       Command
36         LatexName       ecvname
37         Category        FrontMatter
38         InPreamble      1
39         ParSkip         0.4
40         LabelSep        xx
41         LabelType       Static
42         LabelString     "Name:"
43         LabelFont
44           Series        Bold
45           Color         textlabel1
46         EndFont
47         DocBookTag            personname
48         DocBookTagType        paragraph
49         DocBookWrapperTag     author
50         DocBookWrapperTagType block
51         DocBookInInfo         always
52 End
53
54 Style FooterName
55         CopyStyle       Name
56         LatexName       ecvfootername
57         LabelString     "Footer name:"
58         DocBookTag            personname
59         DocBookTagType        paragraph
60         DocBookWrapperTag     author
61         DocBookWrapperAttr    role='footer'
62         DocBookWrapperTagType block
63         DocBookInInfo         always
64 End
65
66 Style Nationality
67         CopyStyle       Name
68         LatexName       ecvnationality
69         LabelString     "Nationality:"
70         DocBookTag            date
71         DocBookAttr           role='nationality'
72         DocBookInInfo         always
73         DocBookWrapperTag     NONE
74     DocBookNoFontInside   true
75 End
76
77 Style Birthday
78         CopyStyle       Name
79         LatexName       ecvdateofbirth
80         LabelString     "Date of birth:"
81         DocBookTag            date
82         DocBookAttr           role='birthday'
83         DocBookInInfo         always
84         DocBookWrapperTag     NONE
85     DocBookNoFontInside   true
86 End
87
88 Style Address
89         CopyStyle       Name
90         LatexName       ecvaddress
91         LabelString     "Address:"
92         DocBookTag            NONE
93         DocBookWrapperTag     address
94         DocBookWrapperTagType block
95         DocBookWrapperMergeWithPrevious true
96         DocBookInInfo         always
97 End
98
99 Style Email
100         CopyStyle       Name
101         LatexName       ecvemail
102         LabelString     "E-mail:"
103         DocBookTag            email
104         DocBookTagType        paragraph
105         DocBookWrapperTag     address
106         DocBookWrapperTagType block
107         DocBookWrapperMergeWithPrevious true
108         DocBookInInfo         always
109 End
110
111 Style Telephone
112         CopyStyle       Name
113         LatexName       ecvtelephone
114         LabelString     "Telephone:"
115         Argument 1
116           LabelString   "Mobile"
117           Tooltip       "Mobile phone number"
118           DocBookTag    phrase
119           DocBookAttr   role='mobile'
120         EndArgument
121         DocBookTag            phone
122         DocBookTagType        paragraph
123         DocBookWrapperTag     address
124         DocBookWrapperTagType block
125         DocBookWrapperMergeWithPrevious true
126         DocBookInInfo         always
127 End
128
129 Style Gender
130         CopyStyle       Name
131         LatexName       ecvgender
132         LabelString     "Gender:"
133         DocBookTag            date
134         DocBookAttr           role='gender'
135         DocBookInInfo         always
136         DocBookWrapperTag     NONE
137     DocBookNoFontInside   true
138 End
139
140 Style Fax
141         CopyStyle       Name
142         LatexName       ecvfax
143         LabelString     "Fax:"
144         DocBookTag            fax
145         DocBookTagType        paragraph
146         DocBookWrapperTag     address
147         DocBookWrapperTagType block
148         DocBookWrapperMergeWithPrevious true
149         DocBookInInfo         always
150 End
151
152 Style BeforePicture
153         CopyStyle       Name
154         LatexName       ecvbeforepicture
155         LabelString     "Space before picture:"
156         DocBookTag          IGNORE
157         DocBookWrapperTag   NONE
158 End
159
160 Style Picture
161         CopyStyle       Name
162         LatexName       ecvpicture
163         PassThru        true
164         LabelString     "Picture:"
165         Argument 1
166           LabelString   "Size"
167           Tooltip       "Size the photo is resized to"
168           PassThru      1
169         EndArgument
170         DocBookTag            date
171         DocBookAttr           role='picture'
172         DocBookInInfo         always
173         DocBookWrapperTag     NONE
174     DocBookNoFontInside   true
175 End
176
177 Style AfterPicture
178         CopyStyle       Name
179         LatexName       ecvafterpicture
180         LabelString     "Space after picture:"
181         DocBookTag          IGNORE
182         DocBookWrapperTag   NONE
183 End
184
185 Style Page
186         CopyStyle       Name
187         LatexName       ecvpage
188         LabelString     "Page:"
189         DocBookTag  NONE
190         DocBookWrapperTag NONE
191 End
192
193 Style Section
194         Category        Sectioning
195         Margin          Dynamic
196         LatexType       Command
197         LatexName       ecvsection
198         NeedProtect     1
199         NextNoIndent    1
200         Argument 1
201           LabelString   "Short Title|S"
202           Tooltip       "The title as it appears in the header"
203           InsertCotext  1
204           IsTocCaption  1
205         EndArgument
206         ParSkip         0.4
207         TopSep          1.3
208         BottomSep       0.7
209         ParSep          0.7
210         Align           Block
211         LabelSep        xxx
212         LabelType       No_Label
213         Font
214           Family        Sans
215           Series        Bold
216         EndFont
217         TocLevel        1
218     HTMLTag     h2
219         DocBookTag  title
220         DocBookTagType paragraph
221 End
222
223 Style Item
224         Margin          Dynamic
225         LatexType       Command
226         LatexName       ecvitem
227         Category        MainText
228         Argument 1
229           LabelString   "Vertical Space"
230           Tooltip       "Additional vertical space"
231           PassThru      1
232         EndArgument
233         Argument 2
234           Mandatory     1
235           AutoInsert    1
236           LabelString   "Summary"
237           Tooltip       "Summary of the item, can also be the time"
238           DocBookTag    emphasis
239           # TODO: For DocBook, this should rather be title, but it would be output in the paragraph, and not before the paragraph.
240         EndArgument
241         ParSkip         0.4
242         Align           Block
243         LabelSep        xx
244         LabelType       Static
245         LabelString     "Item:"
246         LabelFont
247           Series        Bold
248           Color         textlabel1
249         EndFont
250         DocBookTag      sidebar
251         DocBookTagType  block
252         DocBookItemTag  para
253 End
254
255 Style BulletedItem
256         CopyStyle       Item
257         LatexName       ecvitem*
258         LabelString     "Bulleted Item:"
259         DocBookAttr role='bulleted'
260 End
261
262 Style Begin
263         Margin          Dynamic
264         LatexType       Command
265         LatexName       begin{europecv}
266         Category        FrontMatter
267         KeepEmpty       1
268         TopSep          1
269         BottomSep       1
270         ParSkip         0.4
271         Align           Block
272         LabelSep        xx
273         LabelType       Static
274         LabelString     "Begin of CV"
275         LabelFont
276           Series        Bold
277           Color         textlabel2
278         EndFont
279 End
280
281 Style PersonalInfo
282         CopyStyle       Begin
283         LatexName       ecvpersonalinfo{}
284         TopSep          0
285         BottomSep       0
286         LabelString     "Personal Info"
287 End
288
289 Style MotherTongue
290         Margin          Dynamic
291         LatexType       Command
292         LatexName       ecvmothertongue
293         Category        MainText
294         Argument 1
295           LabelString   "Vertical Space"
296           Tooltip       "Additional vertical space"
297           PassThru      1
298         EndArgument
299         ParSkip         0.4
300         Align           Block
301         LabelSep        xx
302         LabelType       Static
303         LabelString     "Mother Tongue:"
304         Font
305           Series        Bold
306         EndFont
307         LabelFont
308           Series        Bold
309           Color         textlabel1
310         EndFont
311         DocBookTag  para
312         DocBookAttr role='mother-tongue'
313 End
314
315 Style LangHeader
316         CopyStyle       MotherTongue
317         LatexName       ecvlanguageheader
318         ResetArgs       1
319         LabelString     "Language Header:"
320 End
321
322 Style Language
323         CopyStyle       MotherTongue
324         LatexName       ecvlanguage
325         LabelString     "Language:"
326         Argument 2
327           Mandatory     1
328           LabelString   "Language"
329           Tooltip       "Name of the language"
330           DocBookTag    phrase
331           DocBookAttr   role='language-name'
332         EndArgument
333         Argument 3
334           Mandatory     1
335           LabelString   "Listening"
336           Tooltip       "Level how good you think you can listen"
337           DocBookTag    phrase
338           DocBookAttr   role='listening'
339         EndArgument
340         Argument 4
341           Mandatory     1
342           LabelString   "Reading"
343           Tooltip       "Level how good you think you can read"
344           DocBookTag    phrase
345           DocBookAttr   role='reading'
346         EndArgument
347         Argument 5
348           Mandatory     1
349           LabelString   "Interaction"
350           Tooltip       "Level how good you think you can conversate"
351           DocBookTag    phrase
352           DocBookAttr   role='speaking'
353         EndArgument
354         Argument 6
355           Mandatory     1
356           LabelString   "Production"
357           Tooltip       "Level how good you think you can freely talk"
358           DocBookTag    phrase
359           DocBookAttr   role='writing'
360         EndArgument
361         DocBookTag  para
362         DocBookAttr role='language'
363 End
364
365 Style LastLanguage
366         CopyStyle       Language
367         LatexName       ecvlastlanguage
368         LabelString     "Last Language:"
369 End
370
371 Style LangFooter
372         CopyStyle       LangHeader
373         LatexName       ecvlanguagefooter
374         LabelString     "Language Footer:"
375 End
376
377 Style End
378         Margin          Dynamic
379         LatexType       Command
380         LatexName       end{europecv}
381         Category        BackMatter
382         KeepEmpty       1
383         TopSep          1
384         ParSkip         0.4
385         Align           Block
386         LabelSep        xx
387         LabelType       Static
388         LabelString     "End of CV"
389         LabelFont
390           Series        Bold
391           Color         textlabel2
392         EndFont
393 End
394
395 InsetLayout "Flex:VerticalSpace"
396         LyxType         custom
397         LatexType       command
398         LatexName       ecvspace
399         Decoration      Conglomerate
400         LabelString     "Vertical space"
401         Font
402           Color         foreground
403           Size          Small
404           Family        Roman
405           Shape         Up
406           Series        Medium
407           Misc          No_Emph
408           Misc          No_Noun
409           Misc          No_Bar
410         EndFont
411         LabelFont
412           Color         textlabel2
413           Size          Small
414         EndFont
415 End
416