]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
fix typos.
[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 16
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 End
55
56 Style Description
57         Category              List
58         Margin                First_Dynamic
59         LatexType             Item_environment
60         LatexName             description
61         NextNoIndent          1
62         LeftMargin            MM
63         LabelSep              xxx
64         ParSkip               0.4
65         ItemSep               0.2
66         TopSep                0.7
67         BottomSep             0.7
68         ParSep                0.3
69         Align                 Block
70         AlignPossible         Block, Left
71         LabelType             Manual
72         LabelString           "MM"
73         LabelFont
74           Series              Bold
75         EndFont
76         HTMLTag               dl
77         HTMLAttr              class='description'
78         HTMLItem              dd
79         HTMLLabel             dt
80         HTMLLabelFirst        1
81         HTMLStyle
82                 dl.description dt { font-weight: bold; }
83         EndHTMLStyle
84 End
85
86
87 Style List
88         Category              List
89         Margin                Manual
90         LatexType             List_Environment
91         LatexName             lyxlist
92         NextNoindent          1
93         LabelSep              xxx
94         ParSkip               0.4
95         TopSep                0.7
96         BottomSep             0.7
97         ParSep                0.5
98         Align                 Block
99         AlignPossible         Block, Left
100         LabelType             Manual
101         LabelString           "00.00.0000"
102         HTMLTag               ol
103         HTMLAttr              class='lyxlist'
104         HTMLItem              li
105         HTMLLabel             span
106         HTMLLabelAttr         class='lyxlist'
107
108         #define the environment lyxlist
109         Preamble
110                 \newenvironment{lyxlist}[1]
111                         {\begin{list}{}
112                                 {\settowidth{\labelwidth}{#1}
113                                  \setlength{\leftmargin}{\labelwidth}
114                                  \addtolength{\leftmargin}{\labelsep}
115                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
116                         {\end{list}}
117         EndPreamble
118
119         HTMLStyle
120                 ol.lyxlist {
121                         list-style-type: none;
122                 }
123                 span.lyxlist {
124                         margin-right: 3em;
125                 }
126         EndHTMLStyle
127 End