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