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