]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
convert the stdinlcude to new label scheme,
[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 Style Itemize
11         Margin                Static
12         LatexType             Item_Environment
13         LatexName             itemize
14         NextNoIndent          1
15         LeftMargin            MMN
16         LabelSep              xx
17         ItemSep               0.2
18         TopSep                0.7
19         BottomSep             0.7
20         ParSep                0.3
21         Align                 Block
22         AlignPossible         Block, Left
23         LabelType             Itemize
24         LabelString           *
25 End
26
27
28 Style Enumerate
29         Margin                Static
30         LatexType             Item_Environment
31         LatexName             enumerate
32         NextNoIndent          1
33         LeftMargin            MMN
34         LabelSep              xx
35         ParSkip               0.0
36         ItemSep               0.2
37         TopSep                0.7
38         BottomSep             0.7
39         ParSep                0.3
40         Align                 Block
41         AlignPossible         Block, Left
42         LabelType             Enumerate
43 End
44
45
46 Style Description
47         Margin                First_Dynamic
48         LatexType             Item_environment
49         LatexName             description
50         NextNoIndent          1
51         LeftMargin            MM
52         LabelSep              xxx
53         ParSkip               0.4
54         ItemSep               0.2
55         TopSep                0.7
56         BottomSep             0.7
57         ParSep                0.3
58         Align                 Block
59         AlignPossible         Block, Left
60         LabelType             Manual
61         LabelString           MM
62         LabelFont 
63           Series              Bold
64         EndFont
65 End
66
67
68 Style List
69         Margin                Manual
70         LatexType             List_Environment
71         LatexName             lyxlist
72         NextNoindent          1
73         LabelSep              xxx
74         ParSkip               0.4
75         TopSep                0.7
76         BottomSep             0.7
77         ParSep                0.5
78         Align                 Block
79         AlignPossible         Block, Left
80         LabelType             Manual
81         LabelString           00.00.0000
82
83         #define the environment lyxlist
84         Preamble
85                 \newenvironment{lyxlist}[1]
86                         {\begin{list}{}
87                                 {\settowidth{\labelwidth}{#1}
88                                  \setlength{\leftmargin}{\labelwidth}
89                                  \addtolength{\leftmargin}{\labelsep}
90                                  \renewcommand{\makelabel}[1]{##1\hfil}}}
91                         {\end{list}}
92         EndPreamble
93 End
94
95
96 Style Bibliography
97         Margin                Static
98         LatexType             Bib_Environment
99         LatexName             thebibliography
100         NextNoIndent          1
101         LeftMargin            MMN
102         LabelSep              xx
103         ParSkip               0.0
104         ItemSep               0.2
105         TopSep                0.7
106         BottomSep             0.7
107         ParSep                0.3
108         Align                 Block
109         AlignPossible         Block, Left
110         LabelType             Enumerate
111 End
112
113
114 #
115 # New environments (not active yet)
116 #
117 #Environment Itemize
118 #       LaTeXHeader "\begin{itemize}"
119 #       LaTeXFooter "\end{itemize}"
120 #  LabelString          *
121 #  Margin               Static
122 #  LatexType            Item_Environment
123 #  NextNoIndent         1
124 #  LeftMargin           MMN
125 #  LabelSep             xx
126 #  ItemSep              0.2
127 #  TopSep               0.7
128 #  BottomSep            0.7
129 #  ParSep               0.3
130 #  Align                Block
131 #  AlignPossible        Block, Left
132 #  LabelType            Static
133 #End
134
135 #Environment Enumerate
136 #  Margin               Static
137 #  LatexType            Item_Environment
138 #  LatexName            enumerate
139 #  NextNoIndent         1
140 #  LeftMargin           MMN
141 #  LabelSep             xx
142 #  ParSkip              0.0
143 #  ItemSep              0.2
144 #  TopSep               0.7
145 #  BottomSep            0.7
146 #  ParSep               0.3
147 #  Align                Block
148 #  AlignPossible        Block, Left
149 #  LabelType            Enumerate
150 #End
151