]> git.lyx.org Git - features.git/blob - lib/layouts/europecv.layout
756588fc77b700b9edbbc4e4581e0ece7aa074a4
[features.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 93
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         DocBookTag  title
219         DocBookTagType paragraph
220 End
221
222 Style Item
223         Margin          Dynamic
224         LatexType       Command
225         LatexName       ecvitem
226         Category        MainText
227         Argument 1
228           LabelString   "Vertical Space"
229           Tooltip       "Additional vertical space"
230           PassThru      1
231         EndArgument
232         Argument 2
233           Mandatory     1
234           AutoInsert    1
235           LabelString   "Summary"
236           Tooltip       "Summary of the item, can also be the time"
237           DocBookTag    emphasis
238           # TODO: For DocBook, this should rather be title, but it would be output in the paragraph, and not before the paragraph.
239         EndArgument
240         ParSkip         0.4
241         Align           Block
242         LabelSep        xx
243         LabelType       Static
244         LabelString     "Item:"
245         LabelFont
246           Series        Bold
247           Color         textlabel1
248         EndFont
249         DocBookTag      sidebar
250         DocBookTagType  block
251         DocBookItemTag  para
252 End
253
254 Style BulletedItem
255         CopyStyle       Item
256         LatexName       ecvitem*
257         LabelString     "Bulleted Item:"
258         DocBookAttr role='bulleted'
259 End
260
261 Style Begin
262         Margin          Dynamic
263         LatexType       Command
264         LatexName       begin{europecv}
265         Category        FrontMatter
266         KeepEmpty       1
267         TopSep          1
268         BottomSep       1
269         ParSkip         0.4
270         Align           Block
271         LabelSep        xx
272         LabelType       Static
273         LabelString     "Begin of CV"
274         LabelFont
275           Series        Bold
276           Color         textlabel2
277         EndFont
278 End
279
280 Style PersonalInfo
281         CopyStyle       Begin
282         LatexName       ecvpersonalinfo{}
283         TopSep          0
284         BottomSep       0
285         LabelString     "Personal Info"
286 End
287
288 Style MotherTongue
289         Margin          Dynamic
290         LatexType       Command
291         LatexName       ecvmothertongue
292         Category        MainText
293         Argument 1
294           LabelString   "Vertical Space"
295           Tooltip       "Additional vertical space"
296           PassThru      1
297         EndArgument
298         ParSkip         0.4
299         Align           Block
300         LabelSep        xx
301         LabelType       Static
302         LabelString     "Mother Tongue:"
303         Font
304           Series        Bold
305         EndFont
306         LabelFont
307           Series        Bold
308           Color         textlabel1
309         EndFont
310         DocBookTag  para
311         DocBookAttr role='mother-tongue'
312 End
313
314 Style LangHeader
315         CopyStyle       MotherTongue
316         LatexName       ecvlanguageheader
317         ResetArgs       1
318         LabelString     "Language Header:"
319 End
320
321 Style Language
322         CopyStyle       MotherTongue
323         LatexName       ecvlanguage
324         LabelString     "Language:"
325         Argument 2
326           Mandatory     1
327           LabelString   "Language"
328           Tooltip       "Name of the language"
329           DocBookTag    phrase
330           DocBookAttr   role='language-name'
331         EndArgument
332         Argument 3
333           Mandatory     1
334           LabelString   "Listening"
335           Tooltip       "Level how good you think you can listen"
336           DocBookTag    phrase
337           DocBookAttr   role='listening'
338         EndArgument
339         Argument 4
340           Mandatory     1
341           LabelString   "Reading"
342           Tooltip       "Level how good you think you can read"
343           DocBookTag    phrase
344           DocBookAttr   role='reading'
345         EndArgument
346         Argument 5
347           Mandatory     1
348           LabelString   "Interaction"
349           Tooltip       "Level how good you think you can conversate"
350           DocBookTag    phrase
351           DocBookAttr   role='speaking'
352         EndArgument
353         Argument 6
354           Mandatory     1
355           LabelString   "Production"
356           Tooltip       "Level how good you think you can freely talk"
357           DocBookTag    phrase
358           DocBookAttr   role='writing'
359         EndArgument
360         DocBookTag  para
361         DocBookAttr role='language'
362 End
363
364 Style LastLanguage
365         CopyStyle       Language
366         LatexName       ecvlastlanguage
367         LabelString     "Last Language:"
368 End
369
370 Style LangFooter
371         CopyStyle       LangHeader
372         LatexName       ecvlanguagefooter
373         LabelString     "Language Footer:"
374 End
375
376 Style End
377         Margin          Dynamic
378         LatexType       Command
379         LatexName       end{europecv}
380         Category        BackMatter
381         KeepEmpty       1
382         TopSep          1
383         ParSkip         0.4
384         Align           Block
385         LabelSep        xx
386         LabelType       Static
387         LabelString     "End of CV"
388         LabelFont
389           Series        Bold
390           Color         textlabel2
391         EndFont
392 End
393
394 InsetLayout "Flex:VerticalSpace"
395         LyxType         custom
396         LatexType       command
397         LatexName       ecvspace
398         Decoration      Conglomerate
399         LabelString     "Vertical space"
400         Font
401           Color         foreground
402           Size          Small
403           Family        Roman
404           Shape         Up
405           Series        Medium
406           Misc          No_Emph
407           Misc          No_Noun
408           Misc          No_Bar
409         EndFont
410         LabelFont
411           Color         textlabel2
412           Size          Small
413         EndFont
414 End
415