]> git.lyx.org Git - lyx.git/blob - lib/layouts/europecv.layout
Merge branch '2.2.x' into 2.2.2-staging
[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 60
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 End
27
28 Input stdcounters.inc
29 Input stdinsets.inc
30
31 Style Name
32         Margin          Dynamic
33         LatexType       Command
34         LatexName       ecvname
35         Category        FrontMatter
36         InPreamble      1
37         ParSkip         0.4
38         LabelSep        xx
39         LabelType       Static
40         LabelString     "Name:"
41         LabelFont
42           Series        Bold
43           Color         Blue
44         EndFont
45 End
46
47 Style FooterName
48         CopyStyle       Name
49         LatexName       ecvfootername
50         LabelString     "Footer name:"
51 End
52
53 Style Nationality
54         CopyStyle       Name
55         LatexName       ecvnationality
56         LabelString     "Nationality:"
57 End
58
59 Style Birthday
60         CopyStyle       Name
61         LatexName       ecvdateofbirth
62         LabelString     "Date of birth:"
63 End
64
65 Style Address
66         CopyStyle       Name
67         LatexName       ecvaddress
68         LabelString     "Address:"
69 End
70
71 Style Email
72         CopyStyle       Name
73         LatexName       ecvemail
74         LabelString     "E-mail:"
75 End
76
77 Style Telephone
78         CopyStyle       Name
79         LatexName       ecvtelephone
80         LabelString     "Telephone:"
81         Argument 1
82           LabelString   "Mobile"
83           Tooltip       "Mobile phone number"
84         EndArgument
85 End
86
87 Style Gender
88         CopyStyle       Name
89         LatexName       ecvgender
90         LabelString     "Gender:"
91 End
92
93 Style Fax
94         CopyStyle       Name
95         LatexName       ecvfax
96         LabelString     "Fax:"
97 End
98
99 Style BeforePicture
100         CopyStyle       Name
101         LatexName       ecvbeforepicture
102         LabelString     "Space before picture:"
103 End
104
105 Style Picture
106         CopyStyle       Name
107         LatexName       ecvpicture
108         PassThru        true
109         LabelString     "Picture:"
110         Argument 1
111           LabelString   "Size"
112           Tooltip       "Size the photo is resized to"
113         EndArgument
114 End
115
116 Style AfterPicture
117         CopyStyle       Name
118         LatexName       ecvafterpicture
119         LabelString     "Space after picture:"
120 End
121
122 Style Page
123         CopyStyle       Name
124         LatexName       ecvpage
125         LabelString     "Page:"
126 End
127
128 Style Section
129         Category        Sectioning
130         Margin          Dynamic
131         LatexType       Command
132         LatexName       ecvsection
133         NeedProtect     1
134         NextNoIndent    1
135         Argument 1
136           LabelString   "Short Title|S"
137           Tooltip       "The title as it appears in the header"
138           InsertCotext   1
139         EndArgument
140         ParSkip         0.4
141         TopSep          1.3
142         BottomSep       0.7
143         ParSep          0.7
144         Align           Block
145         LabelSep        xxx
146         LabelType       No_Label
147         Font
148           Family        Sans
149           Series        Bold
150         EndFont
151         TocLevel        1
152 End
153
154 Style Item
155         Margin          Dynamic
156         LatexType       Command
157         LatexName       ecvitem
158         Category        MainText
159         Argument 1
160           LabelString   "Vertical Space"
161           Tooltip       "Additional vertical space"
162         EndArgument
163         Argument 2
164           Mandatory     1
165           AutoInsert    1
166           LabelString   "Summary"
167           Tooltip       "Summary of the item, can also be the time"
168         EndArgument
169         ParSkip         0.4
170         Align           Block
171         LabelSep        xx
172         LabelType       Static
173         LabelString     "Item:"
174         LabelFont
175           Series        Bold
176           Color         Blue
177         EndFont
178 End
179
180 Style BulletedItem
181         CopyStyle       Item
182         LatexName       ecvitem*
183         LabelString     "Bulleted Item:"
184 End
185
186 Style Begin
187         Margin          Dynamic
188         LatexType       Command
189         LatexName       begin{europecv}
190         Category        FrontMatter
191         KeepEmpty       1
192         TopSep          1
193         BottomSep       1
194         ParSkip         0.4
195         Align           Block
196         LabelSep        xx
197         LabelType       Static
198         LabelString     "Begin of CV"
199         LabelFont
200           Series        Bold
201           Color         Green
202         EndFont
203 End
204
205 Style PersonalInfo
206         CopyStyle       Begin
207         LatexName       ecvpersonalinfo{}
208         TopSep          0
209         BottomSep       0
210         LabelString     "Personal Info"
211 End
212
213 Style MotherTongue
214         Margin          Dynamic
215         LatexType       Command
216         LatexName       ecvmothertongue
217         Category        MainText
218         Argument 1
219           LabelString   "Vertical Space"
220           Tooltip       "Additional vertical space"
221         EndArgument
222         ParSkip         0.4
223         Align           Block
224         LabelSep        xx
225         LabelType       Static
226         LabelString     "Mother Tongue:"
227         Font
228           Series        Bold
229         EndFont
230         LabelFont
231           Series        Bold
232           Color         Blue
233         EndFont
234 End
235
236 Style LangHeader
237         CopyStyle       MotherTongue
238         LatexName       ecvlanguageheader
239         ResetArgs       1
240         LabelString     "Language Header:"
241 End
242
243 Style Language
244         CopyStyle       MotherTongue
245         LatexName       ecvlanguage
246         LabelString     "Language:"
247         Argument 2
248           Mandatory     1
249           LabelString   "Language"
250           Tooltip       "Name of the language"
251         EndArgument
252         Argument 3
253           Mandatory     1
254           LabelString   "Listening"
255           Tooltip       "Level how good you think you can listen"
256         EndArgument
257         Argument 4
258           Mandatory     1
259           LabelString   "Reading"
260           Tooltip       "Level how good you think you can read"
261         EndArgument
262         Argument 5
263           Mandatory     1
264           LabelString   "Interaction"
265           Tooltip       "Level how good you think you can conversate"
266         EndArgument
267         Argument 6
268           Mandatory     1
269           LabelString   "Production"
270           Tooltip       "Level how good you think you can freely talk"
271         EndArgument
272 End
273
274 Style LastLanguage
275         CopyStyle       Language
276         LatexName       ecvlastlanguage
277         LabelString     "Last Language:"
278 End
279
280 Style LangFooter
281         CopyStyle       LangHeader
282         LatexName       ecvlanguagefooter
283         LabelString     "Language Footer:"
284 End
285
286 Style End
287         Margin          Dynamic
288         LatexType       Command
289         LatexName       end{europecv}
290         Category        BackMatter
291         KeepEmpty       1
292         TopSep          1
293         ParSkip         0.4
294         Align           Block
295         LabelSep        xx
296         LabelType       Static
297         LabelString     "End of CV"
298         LabelFont
299           Series        Bold
300           Color         Green
301         EndFont
302 End
303
304 InsetLayout "Flex:VerticalSpace"
305         LyxType         custom
306         LatexType       command
307         LatexName       ecvspace
308         Decoration      Conglomerate
309         LabelString     "Vertical space"
310         Font
311           Color         foreground
312           Size          Small
313           Family        Roman
314           Shape         Up
315           Series        Medium
316           Misc          No_Emph
317           Misc          No_Noun
318           Misc          No_Bar
319         EndFont
320         LabelFont
321           Color         green
322           Size          Small
323         EndFont
324 End
325