]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
typo
[lyx.git] / lib / layouts / amsbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{book (AMS)}
3 # AMS-Article textclass definition file. Taken from initial LyX source code
4 # and from the Article textclass definition file, following the AMS sample
5 # paper "testmath.tex" of January, 1995
6 # Author : David L. Johnson <dlj0@lehigh.edu>
7 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
9 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
10 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
11 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
12
13
14 Format 34
15
16 Columns                 1
17 Sides                   2
18 PageStyle               Headers
19
20 Provides amsmath         1
21 Provides makeidx         1
22
23 ClassOptions
24         FontSize   8|9|10|11|12
25 End
26
27 DefaultModule theorems-ams
28 DefaultModule eqs-within-sections
29 DefaultModule figs-within-sections
30
31 Style Standard
32         Category       MainText
33         Margin         Static
34         LatexType      Paragraph
35         LatexName      dummy
36         ParIndent      MM
37         ParSkip        0.4
38         Align          Block
39         AlignPossible  Block, Left, Right, Center
40         LabelType      No_Label
41 End
42
43
44 Preamble
45         \numberwithin{section}{chapter}
46 EndPreamble
47
48
49 Input stdsections.inc
50 Input stdinsets.inc
51 Input numreport.inc
52
53
54 Style Section
55         Align          Center
56         Font
57           Series       Bold
58           Size         Large
59         EndFont
60         TocLevel 1
61 End
62
63
64 Style Subsection
65         Font
66           Series       Bold
67           Size         Normal
68         EndFont
69         TocLevel 2
70 End
71
72
73 Style Subsubsection
74         Font
75           Shape        Italic
76           Size         Normal
77         EndFont
78         TocLevel 3
79 End
80
81 Input stdstarsections.inc
82
83 Style Section*
84         Align          Center
85         Font
86           Series       Bold
87           Size         Large
88         EndFont
89 End
90
91
92 Style Subsection*
93         Font
94           Series       Bold
95           Size         Normal
96         EndFont
97 End
98
99
100 Style Subsubsection*
101         Font
102           Shape        Italic
103           Size         Normal
104         EndFont
105 End
106
107
108 Input lyxmacros.inc
109 Input stdlayouts.inc
110 Input stdlists.inc
111 Input stdfloats.inc
112 Input stdcounters.inc
113 Input amsdefs.inc
114
115 # Unwanted styles from the includes
116 NoStyle Address
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             Counter
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