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