]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlyxlist.inc
310ff6bbc55b10af18fb4fdf60a54c23c7f700d9
[lyx.git] / lib / layouts / stdlyxlist.inc
1 # The special "LyXList". Separated out for inclusion where the
2 # whole of stdlist.inc is not needed.
3
4 Format 68
5
6 Style Labeling
7         Category              List
8         Margin                Manual
9         LatexType             List_Environment
10         LatexName             lyxlist
11         NextNoindent          1
12         LabelSep              xxx
13         ParSkip               0.4
14         TopSep                0.7
15         BottomSep             0.7
16         ParSep                0.5
17         Align                 Block
18         AlignPossible         Block, Left
19         LabelType             Manual
20         LabelString           "00.00.0000"
21         HTMLTag               ol
22         HTMLAttr              class='lyxlist'
23         HTMLItem              li
24         HTMLLabel             span
25         HTMLLabelAttr         class='lyxlist'
26
27         #define the environment lyxlist
28         Preamble
29                 \newenvironment{lyxlist}[1]
30                         {\begin{list}{}
31                                 {\settowidth{\labelwidth}{#1}
32                                  \setlength{\leftmargin}{\labelwidth}
33                                  \addtolength{\leftmargin}{\labelsep}
34                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
35                         {\end{list}}
36         EndPreamble
37
38         HTMLStyle
39                 ol.lyxlist {
40                         list-style-type: none;
41                 }
42                 li.labeling_item {
43                         text-indent: -5em;
44                         margin-left: 5em;
45                 }
46                 span.lyxlist {
47                         margin-right: 1em;
48                 }
49         EndHTMLStyle
50 End