]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
read the ChangeLog... no huge changes .. but some might get reversed...
[lyx.git] / lib / layouts / stdlists.inc
1 # Standard textclass definition file. Taken from initial LyX source code
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
4 # Heavily modifed and enhanced by several developers.
5
6 # This include files contains various standard environments for lists.
7
8 # Itemize style definition
9 Style Itemize
10   Margin                Static
11   LatexType             Item_Environment
12   LatexName             itemize
13   NextNoIndent          1
14   LeftMargin            MMN
15   LabelSep              xx
16   ItemSep               0.2
17   TopSep                0.7
18   BottomSep             0.7
19   ParSep                0.3
20   Align                 Block
21   AlignPossible         Block, Left
22   LabelType             Static
23   LabelString           *
24 End
25
26 # Enumerate style definition
27 Style Enumerate
28   Margin                Static
29   LatexType             Item_Environment
30   LatexName             enumerate
31   NextNoIndent          1
32   LeftMargin            MMN
33   LabelSep              xx
34   ParSkip               0.0
35   ItemSep               0.2
36   TopSep                0.7
37   BottomSep             0.7
38   ParSep                0.3
39   Align                 Block
40   AlignPossible         Block, Left
41   LabelType             Counter_EnumI
42 End
43
44 # Description style definition
45 Style Description
46   Margin                First_Dynamic
47   LatexType             Item_environment
48   LatexName             description
49   NextNoIndent          1
50   LeftMargin            MM
51   LabelSep              xxx
52   ParSkip               0.4
53   ItemSep               0.2
54   TopSep                0.7
55   BottomSep             0.7
56   ParSep                0.3
57   Align                 Block
58   AlignPossible         Block, Left
59   LabelType             Manual
60   LabelString           MM
61
62   # label font definition
63   LabelFont 
64     Series              Bold
65   EndFont
66 End
67
68 # List style definition
69 Style List
70   Margin                Manual
71   LatexType             List_Environment
72   LatexName             lyxlist
73   NextNoindent          1
74   LabelSep              xxx
75   ParSkip               0.4
76   TopSep                0.7
77   BottomSep             0.7
78   ParSep                0.5
79   Align                 Block
80   AlignPossible         Block, Left
81   LabelType             Manual
82   LabelString           00.00.0000
83
84   #define the environment lyxlist
85   Preamble
86   \newenvironment{lyxlist}[1]
87     {\begin{list}{}
88       {\settowidth{\labelwidth}{#1}
89        \setlength{\leftmargin}{\labelwidth}
90        \addtolength{\leftmargin}{\labelsep}
91        \renewcommand{\makelabel}[1]{\makebox[\labelwidth][l]{##1}}}}
92     {\end{list}}
93   EndPreamble
94
95 End