]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
*** Requires tag for classes, layouts and custom insets ***
[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 Format 6
11 Style Itemize
12         Margin                Static
13         LatexType             Item_Environment
14         LatexName             itemize
15         NextNoIndent          1
16         LeftMargin            MMN
17         LabelSep              xx
18         ItemSep               0.2
19         TopSep                0.7
20         BottomSep             0.7
21         ParSep                0.3
22         Align                 Block
23         AlignPossible         Block, Left
24         LabelType             Itemize
25         LabelString           "*"
26 End
27
28
29 Style Enumerate
30         Margin                Static
31         LatexType             Item_Environment
32         LatexName             enumerate
33         NextNoIndent          1
34         LeftMargin            MMN
35         LabelSep              xx
36         ParSkip               0.0
37         ItemSep               0.2
38         TopSep                0.7
39         BottomSep             0.7
40         ParSep                0.3
41         Align                 Block
42         AlignPossible         Block, Left
43         LabelType             Enumerate
44 End
45
46
47 Style Description
48         Margin                First_Dynamic
49         LatexType             Item_environment
50         LatexName             description
51         NextNoIndent          1
52         LeftMargin            MM
53         LabelSep              xxx
54         ParSkip               0.4
55         ItemSep               0.2
56         TopSep                0.7
57         BottomSep             0.7
58         ParSep                0.3
59         Align                 Block
60         AlignPossible         Block, Left
61         LabelType             Manual
62         LabelString           "MM"
63         LabelFont
64           Series              Bold
65         EndFont
66 End
67
68
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]{##1\hfil}}}
92                         {\end{list}}
93         EndPreamble
94 End
95
96
97 #
98 # New environments (not active yet)
99 #
100 #Environment Itemize
101 #       LaTeXHeader "\begin{itemize}"
102 #       LaTeXFooter "\end{itemize}"
103 #  LabelString          "*"
104 #  Margin               Static
105 #  LatexType            Item_Environment
106 #  NextNoIndent         1
107 #  LeftMargin           MMN
108 #  LabelSep             xx
109 #  ItemSep              0.2
110 #  TopSep               0.7
111 #  BottomSep            0.7
112 #  ParSep               0.3
113 #  Align                Block
114 #  AlignPossible        Block, Left
115 #  LabelType            Static
116 #End
117
118 #Environment Enumerate
119 #  Margin               Static
120 #  LatexType            Item_Environment
121 #  LatexName            enumerate
122 #  NextNoIndent         1
123 #  LeftMargin           MMN
124 #  LabelSep             xx
125 #  ParSkip              0.0
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            Enumerate
133 #End
134