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