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