]> git.lyx.org Git - lyx.git/blob - lib/layouts/moderncv.layout
c8a5596d5778f083cad74284db64820bd91d216f
[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 6
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
32 Style Section
33         Margin                  Dynamic
34         LatexType               Command
35         LatexName               section
36         NeedProtect             1
37         NextNoIndent            1
38         ParSkip                 0.4
39         TopSep                  1.3
40         BottomSep               0.7
41         ParSep                  0.7
42         Align                   Block
43         LabelSep                xxx
44         LabelType               No_Label
45         Font
46           Family                Sans
47           Series                Bold
48         EndFont
49 End
50
51 Style Subsection
52         CopyStyle               Section
53         LatexName               subsection
54         TopSep                  0.9
55         BottomSep               0
56         ParSep                  0.5
57         Font
58           Family                Sans
59           Series                Medium
60         EndFont
61 End
62
63 Style Entry
64         Margin                  Dynamic
65         LatexType               Command
66         LatexName               cventry
67         OptionalArgs            1
68         ParSkip                 0.4
69         Align                   Block
70         LabelSep                xx
71         LabelType               Static
72         LabelString             "Entry:"
73         LabelFont
74           Series                Bold
75           Color                 Blue
76         EndFont
77 End
78
79 Style Item
80         Margin                  Dynamic
81         LatexType               Command
82         LatexName               cvitem
83         OptionalArgs            1
84         ParSkip                 0.4
85         Align                   Block
86         LabelSep                xx
87         LabelType               Static
88         LabelString             "Item:"
89         LabelFont
90           Series                Bold
91           Color                 Blue
92         EndFont
93 End
94
95 Style ListItem
96         CopyStyle               Item
97         LatexName               cvlistitem
98         LabelString             "List Item:"
99 End
100
101 Style DoubleItem
102         CopyStyle               Item
103         LatexName               cvlistdoubleitem
104         LabelString             "Double Item:"
105 End
106
107 Style Space
108         CopyStyle               Item
109         LatexName               vspace*
110         LabelString             "Space:"
111 End
112
113 Style Language
114         CopyStyle               Item
115         LatexName               cvlanguage
116         LabelString             "Language:"
117 End
118
119 Style Computer
120         CopyStyle               Item
121         LatexName               cvcomputer
122         LabelString             "Computer:"
123 End
124
125 Style EmptySection
126         Margin                  Dynamic
127         LatexType               Command
128         LatexName               emptysection{}
129         KeepEmpty               1
130         ParSkip                 0.4
131         Align                   Block
132         LabelSep                xx
133         LabelType               Static
134         LabelString             "Empty Section"
135         LabelFont
136           Series                Bold
137           Color                 Green
138         EndFont
139 End
140
141 Style CloseSection
142         CopyStyle               EmptySection
143         LatexName               closesection{}
144         LabelString             "Close Section"
145 End
146
147 Style Bibliography
148         Margin                  First_Dynamic
149         LatexType               Bib_Environment
150         LatexName               thebibliography
151         NextNoIndent            1
152         LeftMargin              MM
153         ParSkip                 0.4
154         ItemSep                 0
155         TopSep                  0.7
156         BottomSep               0.7
157         ParSep                  0.5
158         Align                   Block
159         AlignPossible           Block, Left
160         LabelType               Bibliography
161         LabelString             "References"
162         LabelBottomSep          1.2
163         LabelFont
164           Series                Bold
165           Size                  Larger
166           Family                Sans
167         EndFont
168 End
169