]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
f303026035c436ee362720e07507e7e18c5c4f18
[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 68
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 Style Bibliography
120         TocLevel             0
121 End
122
123 # Chapter is _not_ prepended
124 # JSpitz: this seems to be not true (anymore?)
125 #Style Section
126 #       LabelString          "\arabic{section}"
127 #       LabelStringAppendix  "\arabic{section}"
128 #End
129
130
131 Style Paragraph
132         Font
133           Series       Medium
134         EndFont
135         TocLevel 4
136 End
137
138
139 # End-of Chapter exercises  I need a way to do this.
140 Style Chapter_Exercises
141         Margin                First_Dynamic
142         LatexType             Item_Environment
143         LatexName             lyxxcb
144         NextNoIndent          1
145         LeftMargin            MMN
146         LabelSep              xx
147         ParSkip               0.0
148         ItemSep               0.2
149         TopSep                0.7
150         BottomSep             0.7
151         ParSep                0.3
152         Align                 Block
153         AlignPossible         Block, Left
154         LabelType             Static
155         LabelFont
156           Shape               Up
157           Series              Bold
158         EndFont
159         Preamble
160           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
161                              {\end{enumerate}\end{xcb}}
162         EndPreamble
163 End