]> git.lyx.org Git - features.git/blob - lib/layouts/stdlists.inc
Forgot to update the layout format when transferring from branch.
[features.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 End
31
32
33 Style Enumerate
34         Category              List
35         Margin                Static
36         LatexType             Item_Environment
37         LatexName             enumerate
38         NextNoIndent          1
39         LeftMargin            MMN
40         LabelSep              xx
41         ParSkip               0.0
42         ItemSep               0.2
43         TopSep                0.7
44         BottomSep             0.7
45         ParSep                0.3
46         Align                 Block
47         AlignPossible         Block, Left
48         LabelType             Enumerate
49         LabelCounter          "enum"
50         HTMLTag               ol
51         HTMLItem              li
52 End
53
54 Style Description
55         Category              List
56         Margin                First_Dynamic
57         LatexType             Item_environment
58         LatexName             description
59         NextNoIndent          1
60         LeftMargin            MM
61         LabelSep              xxx
62         ParSkip               0.4
63         ItemSep               0.2
64         TopSep                0.7
65         BottomSep             0.7
66         ParSep                0.3
67         Align                 Block
68         AlignPossible         Block, Left
69         LabelType             Manual
70         LabelString           "MM"
71         LabelFont
72           Series              Bold
73         EndFont
74         HTMLTag               dl
75         HTMLItem              dd
76         HTMLLabel             dt
77 End
78
79
80 Style List
81         Category              List
82         Margin                Manual
83         LatexType             List_Environment
84         LatexName             lyxlist
85         NextNoindent          1
86         LabelSep              xxx
87         ParSkip               0.4
88         TopSep                0.7
89         BottomSep             0.7
90         ParSep                0.5
91         Align                 Block
92         AlignPossible         Block, Left
93         LabelType             Manual
94         LabelString           "00.00.0000"
95         HTMLTag               ol
96         HTMLAttr              class='lyxlist'
97         HTMLItem              li
98         HTMLLabel             span
99         HTMLLabelAttr         class='lyxlist'
100
101         #define the environment lyxlist
102         Preamble
103                 \newenvironment{lyxlist}[1]
104                         {\begin{list}{}
105                                 {\settowidth{\labelwidth}{#1}
106                                  \setlength{\leftmargin}{\labelwidth}
107                                  \addtolength{\leftmargin}{\labelsep}
108                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
109                         {\end{list}}
110         EndPreamble
111
112         HTMLStyle
113                 ol.lyxlist {
114                         list-style-type: none;
115                 }
116                 span.lyxlist {
117                         margin-right: 3em;
118                 }
119         EndHTMLStyle
120 End