]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdlists.inc
update OSX instructions
[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 #
97 # New environments (not active yet)
98 #
99 #Environment Itemize
100 #       LaTeXHeader "\begin{itemize}"
101 #       LaTeXFooter "\end{itemize}"
102 #  LabelString          "*"
103 #  Margin               Static
104 #  LatexType            Item_Environment
105 #  NextNoIndent         1
106 #  LeftMargin           MMN
107 #  LabelSep             xx
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            Static
115 #End
116
117 #Environment Enumerate
118 #  Margin               Static
119 #  LatexType            Item_Environment
120 #  LatexName            enumerate
121 #  NextNoIndent         1
122 #  LeftMargin           MMN
123 #  LabelSep             xx
124 #  ParSkip              0.0
125 #  ItemSep              0.2
126 #  TopSep               0.7
127 #  BottomSep            0.7
128 #  ParSep               0.3
129 #  Align                Block
130 #  AlignPossible        Block, Left
131 #  LabelType            Enumerate
132 #End
133