]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
c2a586ad649368c2f89be84d42e1ebf9ab152ad6
[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 # Itemize style definition
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             Static
24   LabelString           *
25 End
26
27 # Enumerate style definition
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             Counter_EnumI
43 End
44
45 # Description style definition
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
63   # label font definition
64   LabelFont 
65     Series              Bold
66   EndFont
67 End
68
69 # List style definition
70 Style List
71   Margin                Manual
72   LatexType             List_Environment
73   LatexName             lyxlist
74   NextNoindent          1
75   LabelSep              xxx
76   ParSkip               0.4
77   TopSep                0.7
78   BottomSep             0.7
79   ParSep                0.5
80   Align                 Block
81   AlignPossible         Block, Left
82   LabelType             Manual
83   LabelString           00.00.0000
84
85   #define the environment lyxlist
86   Preamble
87   \newenvironment{lyxlist}[1]
88     {\begin{list}{}
89       {\settowidth{\labelwidth}{#1}
90        \setlength{\leftmargin}{\labelwidth}
91        \addtolength{\leftmargin}{\labelsep}
92        \renewcommand{\makelabel}[1]{##1\hfil}}}
93     {\end{list}}
94   EndPreamble
95
96 End
97
98
99
100 Style Bibliography
101   Margin                Static
102   LatexType             Bib_Environment
103   LatexName             thebibliography
104   NextNoIndent          1
105   LeftMargin            MMN
106   LabelSep              xx
107   ParSkip               0.0
108   ItemSep               0.2
109   TopSep                0.7
110   BottomSep             0.7
111   ParSep                0.3
112   Align                 Block
113   AlignPossible         Block, Left
114   LabelType             Counter_EnumI
115 End
116
117
118 #
119 # New environments (not active yet)
120 #
121 #Environment Itemize
122 #       LaTeXHeader "\begin{itemize}"
123 #       LaTeXFooter "\end{itemize}"
124 #  LabelString          *
125 #  Margin               Static
126 #  LatexType            Item_Environment
127 #  NextNoIndent         1
128 #  LeftMargin           MMN
129 #  LabelSep             xx
130 #  ItemSep              0.2
131 #  TopSep               0.7
132 #  BottomSep            0.7
133 #  ParSep               0.3
134 #  Align                        Block
135 #  AlignPossible                Block, Left
136 #  LabelType            Static
137 #End
138
139 #Environment Enumerate
140 #  Margin               Static
141 #  LatexType            Item_Environment
142 #  LatexName            enumerate
143 #  NextNoIndent         1
144 #  LeftMargin           MMN
145 #  LabelSep             xx
146 #  ParSkip              0.0
147 #  ItemSep              0.2
148 #  TopSep               0.7
149 #  BottomSep            0.7
150 #  ParSep               0.3
151 #  Align                        Block
152 #  AlignPossible                Block, Left
153 #  LabelType            Counter_EnumI
154 #End
155