]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
Update all layouts to format 32.
[lyx.git] / lib / layouts / stdlists.inc
1
2 # Standard textclass definition file. Taken from initial LyX source code
3 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
4 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
5 # Heavily modifed and enhanced by several developers.
6
7 # This include files contains various standard environments for lists.
8
9
10 Format 32
11
12 Style Itemize
13         Category              List
14         Margin                Static
15         LatexType             Item_Environment
16         LatexName             itemize
17         NextNoIndent          1
18         LeftMargin            MMN
19         LabelSep              xx
20         ItemSep               0.2
21         TopSep                0.7
22         BottomSep             0.7
23         ParSep                0.3
24         Align                 Block
25         AlignPossible         Block, Left
26         LabelType             Itemize
27         LabelString           "*"
28         HTMLTag               ul
29         HTMLItem              li
30         HTMLLabel             NONE
31 End
32
33
34 Style Enumerate
35         Category              List
36         Margin                Static
37         LatexType             Item_Environment
38         LatexName             enumerate
39         NextNoIndent          1
40         LeftMargin            MMN
41         LabelSep              xx
42         ParSkip               0.0
43         ItemSep               0.2
44         TopSep                0.7
45         BottomSep             0.7
46         ParSep                0.3
47         Align                 Block
48         AlignPossible         Block, Left
49         LabelType             Enumerate
50         LabelCounter          "enum"
51         HTMLTag               ol
52         HTMLItem              li
53         HTMLLabel             NONE
54         RefPrefix             enu
55 End
56
57 Style Description
58         Category              List
59         Margin                First_Dynamic
60         LatexType             Item_environment
61         LatexName             description
62         NextNoIndent          1
63         LeftMargin            MM
64         LabelSep              xxx
65         ParSkip               0.4
66         ItemSep               0.2
67         TopSep                0.7
68         BottomSep             0.7
69         ParSep                0.3
70         Align                 Block
71         AlignPossible         Block, Left
72         LabelType             Manual
73         LabelString           "MM"
74         LabelFont
75           Series              Bold
76         EndFont
77         HTMLTag               dl
78         HTMLAttr              class='description'
79         HTMLItem              dd
80         HTMLLabel             dt
81         HTMLLabelFirst        1
82         HTMLStyle
83                 dl.description dt { font-weight: bold; }
84         EndHTMLStyle
85 End
86
87
88 Style Labeling
89         Category              List
90         Margin                Manual
91         LatexType             List_Environment
92         LatexName             lyxlist
93         NextNoindent          1
94         LabelSep              xxx
95         ParSkip               0.4
96         TopSep                0.7
97         BottomSep             0.7
98         ParSep                0.5
99         Align                 Block
100         AlignPossible         Block, Left
101         LabelType             Manual
102         LabelString           "00.00.0000"
103         HTMLTag               ol
104         HTMLAttr              class='lyxlist'
105         HTMLItem              li
106         HTMLLabel             span
107         HTMLLabelAttr         class='lyxlist'
108
109         #define the environment lyxlist
110         Preamble
111                 \newenvironment{lyxlist}[1]
112                         {\begin{list}{}
113                                 {\settowidth{\labelwidth}{#1}
114                                  \setlength{\leftmargin}{\labelwidth}
115                                  \addtolength{\leftmargin}{\labelsep}
116                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
117                         {\end{list}}
118         EndPreamble
119
120         HTMLStyle
121                 ol.lyxlist {
122                         list-style-type: none;
123                 }
124                 li.labeling_item {
125                         text-indent: -5em;
126                         margin-left: 5em;
127                 }
128                 span.lyxlist {
129                         margin-right: 1em;
130                 }
131         EndHTMLStyle
132 End
133
134
135 Style List
136   Obsoletedby           Labeling
137 End