]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlyxlist.inc
Make Word Wrap property confiurable by language
[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 74
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         Argument listpreamble:1
22                 LabelString    "List preamble"
23                 MenuString     "List Preamble"
24                 Tooltip        "LaTeX code to be inserted before the first item"
25                 PassThru       1
26                 Font
27                         Family typewriter
28                         Color latex
29                 EndFont
30         EndArgument
31         HTMLTag               ol
32         HTMLAttr              class='lyxlist'
33         HTMLItem              li
34         HTMLLabel             span
35         HTMLLabelAttr         class='lyxlist'
36
37         #define the environment lyxlist
38         Preamble
39                 \newenvironment{lyxlist}[1]
40                         {\begin{list}{}
41                                 {\settowidth{\labelwidth}{#1}
42                                  \setlength{\leftmargin}{\labelwidth}
43                                  \addtolength{\leftmargin}{\labelsep}
44                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
45                         {\end{list}}
46         EndPreamble
47
48         HTMLStyle
49                 ol.lyxlist {
50                         list-style-type: none;
51                 }
52                 li.labeling_item {
53                         text-indent: -5em;
54                         margin-left: 5em;
55                 }
56                 span.lyxlist {
57                         margin-right: 1em;
58                 }
59         EndHTMLStyle
60 End