]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
Don't paint misspelled mark if continuous spellchecking is disabled.
[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 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         HTMLAttr              class='description'
76         HTMLItem              dd
77         HTMLLabel             dt
78         HTMLLabelFirst        1
79         HTMLStyle
80                 dl.description dt { font-weight: bold; }
81         EndHTMLStyle
82 End
83
84
85 Style List
86         Category              List
87         Margin                Manual
88         LatexType             List_Environment
89         LatexName             lyxlist
90         NextNoindent          1
91         LabelSep              xxx
92         ParSkip               0.4
93         TopSep                0.7
94         BottomSep             0.7
95         ParSep                0.5
96         Align                 Block
97         AlignPossible         Block, Left
98         LabelType             Manual
99         LabelString           "00.00.0000"
100         HTMLTag               ol
101         HTMLAttr              class='lyxlist'
102         HTMLItem              li
103         HTMLLabel             span
104         HTMLLabelAttr         class='lyxlist'
105
106         #define the environment lyxlist
107         Preamble
108                 \newenvironment{lyxlist}[1]
109                         {\begin{list}{}
110                                 {\settowidth{\labelwidth}{#1}
111                                  \setlength{\leftmargin}{\labelwidth}
112                                  \addtolength{\leftmargin}{\labelsep}
113                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
114                         {\end{list}}
115         EndPreamble
116
117         HTMLStyle
118                 ol.lyxlist {
119                         list-style-type: none;
120                 }
121                 span.lyxlist {
122                         margin-right: 3em;
123                 }
124         EndHTMLStyle
125 End