]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Collapsable -> Collapsible (part 4)
[lyx.git] / lib / layouts / amsbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{American Mathematical Society (AMS) Book}
3 #  \DeclareCategory{Books}
4 # AMS-Article textclass definition file. Taken from initial LyX source code
5 # and from the Article textclass definition file, following the AMS sample
6 # paper "testmath.tex" of January, 1995
7 # Author : David L. Johnson <dlj0@lehigh.edu>
8 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
10 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
11 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
12 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
13
14
15 Format 65
16
17 Columns                 1
18 Sides                   2
19 PageStyle               Headers
20
21 Provides amsmath         1
22 Provides makeidx         1
23
24 ClassOptions
25         FontSize   8|9|10|11|12
26 End
27
28 DefaultModule theorems-ams
29 DefaultModule eqs-within-sections
30 DefaultModule figs-within-sections
31
32 Style Standard
33         Category       MainText
34         Margin         Static
35         LatexType      Paragraph
36         LatexName      dummy
37         ParIndent      MM
38         ParSkip        0.4
39         Align          Block
40         AlignPossible  Block, Left, Right, Center
41         LabelType      No_Label
42 End
43
44
45 Preamble
46         \numberwithin{section}{chapter}
47 EndPreamble
48
49
50 Input stdsections.inc
51 Input stdinsets.inc
52 Input numreport.inc
53
54
55 Style Section
56         Align          Center
57         Font
58           Series       Bold
59           Size         Large
60         EndFont
61         TocLevel 1
62 End
63
64
65 Style Subsection
66         Font
67           Series       Bold
68           Size         Normal
69         EndFont
70         TocLevel 2
71 End
72
73
74 Style Subsubsection
75         Font
76           Shape        Italic
77           Size         Normal
78         EndFont
79         TocLevel 3
80 End
81
82 Input stdstarsections.inc
83
84 Style Section*
85         Align          Center
86         Font
87           Series       Bold
88           Size         Large
89         EndFont
90 End
91
92
93 Style Subsection*
94         Font
95           Series       Bold
96           Size         Normal
97         EndFont
98 End
99
100
101 Style Subsubsection*
102         Font
103           Shape        Italic
104           Size         Normal
105         EndFont
106 End
107
108
109 Input lyxmacros.inc
110 Input stdlayouts.inc
111 Input stdlists.inc
112 Input stdfloats.inc
113 Input stdcounters.inc
114 Input amsdefs.inc
115
116 # Unwanted styles from the includes
117 NoStyle Verse
118
119 # Chapter is _not_ prepended
120 # JSpitz: this seems to be not true (anymore?)
121 #Style Section
122 #       LabelString          "\arabic{section}"
123 #       LabelStringAppendix  "\arabic{section}"
124 #End
125
126
127 Style Paragraph
128         Font
129           Series       Medium
130         EndFont
131         TocLevel 4
132 End
133
134
135 # End-of Chapter exercises  I need a way to do this.
136 Style Chapter_Exercises
137         Margin                First_Dynamic
138         LatexType             Item_Environment
139         LatexName             lyxxcb
140         NextNoIndent          1
141         LeftMargin            MMN
142         LabelSep              xx
143         ParSkip               0.0
144         ItemSep               0.2
145         TopSep                0.7
146         BottomSep             0.7
147         ParSep                0.3
148         Align                 Block
149         AlignPossible         Block, Left
150         LabelType             Static
151         LabelFont
152           Shape               Up
153           Series              Bold
154         EndFont
155         Preamble
156           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
157                              {\end{enumerate}\end{xcb}}
158         EndPreamble
159 End