]> git.lyx.org Git - lyx.git/blob - lib/layouts/moderncv.layout
New AddToPreamble tag for layout files. This tag will ADD some information to the...
[lyx.git] / lib / layouts / moderncv.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{curriculum vitae (modern)}
3 # modern CV textclass definition file.
4 # Author : Uwe Stöhr (uwestoehr@web.de)
5
6
7 # General textclass parameters
8 Format 7
9         Columns                 1
10         Sides                   1
11         SecNumDepth             -1
12         TocDepth                -1
13
14 Provides hyperref  1
15 Provides url       1
16
17
18 # Standard style definition
19 Style Standard
20         Margin                  Static
21         LatexType               Paragraph
22         LatexName               dummy
23         ParIndent               MM
24         ParSkip                 0.4
25         Align                   Block
26         AlignPossible           Block, Left, Right, Center
27         LabelType               No_Label
28 End
29
30 Input stdcounters.inc
31 Input stdinsets.inc
32
33 Style Section
34         Margin                  Dynamic
35         LatexType               Command
36         LatexName               section
37         NeedProtect             1
38         NextNoIndent            1
39         ParSkip                 0.4
40         TopSep                  1.3
41         BottomSep               0.7
42         ParSep                  0.7
43         Align                   Block
44         LabelSep                xxx
45         LabelType               No_Label
46         Font
47           Family                Sans
48           Series                Bold
49         EndFont
50 End
51
52 Style Subsection
53         CopyStyle               Section
54         LatexName               subsection
55         TopSep                  0.9
56         BottomSep               0
57         ParSep                  0.5
58         Font
59           Family                Sans
60           Series                Medium
61         EndFont
62 End
63
64 Style Entry
65         Margin                  Dynamic
66         LatexType               Command
67         LatexName               cventry
68         OptionalArgs            1
69         ParSkip                 0.4
70         Align                   Block
71         LabelSep                xx
72         LabelType               Static
73         LabelString             "Entry:"
74         LabelFont
75           Series                Bold
76           Color                 Blue
77         EndFont
78 End
79
80 Style Item
81         Margin                  Dynamic
82         LatexType               Command
83         LatexName               cvitem
84         OptionalArgs            1
85         ParSkip                 0.4
86         Align                   Block
87         LabelSep                xx
88         LabelType               Static
89         LabelString             "Item:"
90         LabelFont
91           Series                Bold
92           Color                 Blue
93         EndFont
94 End
95
96 Style ListItem
97         CopyStyle               Item
98         LatexName               cvlistitem
99         LabelString             "List Item:"
100 End
101
102 Style DoubleItem
103         CopyStyle               Item
104         LatexName               cvlistdoubleitem
105         LabelString             "Double Item:"
106 End
107
108 Style Space
109         CopyStyle               Item
110         LatexName               vspace*
111         LabelString             "Space:"
112 End
113
114 Style Language
115         CopyStyle               Item
116         LatexName               cvlanguage
117         LabelString             "Language:"
118 End
119
120 Style Computer
121         CopyStyle               Item
122         LatexName               cvcomputer
123         LabelString             "Computer:"
124 End
125
126 Style EmptySection
127         Margin                  Dynamic
128         LatexType               Command
129         LatexName               emptysection{}
130         KeepEmpty               1
131         ParSkip                 0.4
132         Align                   Block
133         LabelSep                xx
134         LabelType               Static
135         LabelString             "Empty Section"
136         LabelFont
137           Series                Bold
138           Color                 Green
139         EndFont
140 End
141
142 Style CloseSection
143         CopyStyle               EmptySection
144         LatexName               closesection{}
145         LabelString             "Close Section"
146 End
147
148 Style Bibliography
149         Margin                  First_Dynamic
150         LatexType               Bib_Environment
151         LatexName               thebibliography
152         NextNoIndent            1
153         LeftMargin              MM
154         ParSkip                 0.4
155         ItemSep                 0
156         TopSep                  0.7
157         BottomSep               0.7
158         ParSep                  0.5
159         Align                   Block
160         AlignPossible           Block, Left
161         LabelType               Bibliography
162         LabelString             "References"
163         LabelBottomSep          1.2
164         LabelFont
165           Series                Bold
166           Size                  Larger
167           Family                Sans
168         EndFont
169 End
170