]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / amsbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{American Mathematical Society (AMS)}
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 Kimberly Heck <rikiheck@lyx.org>
12 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
13
14
15 Format 98
16
17 Columns                 1
18 Sides                   2
19 PageStyle               Headers
20 DocBookRoot             book
21
22 Provides amsmath         1
23 Provides makeidx         1
24
25 ClassOptions
26         FontSize   8|9|10|11|12
27 End
28
29 DefaultModule theorems-ams
30 DefaultModule eqs-within-sections
31 DefaultModule figs-within-sections
32
33 Style Standard
34         Category       MainText
35         Margin         Static
36         LatexType      Paragraph
37         LatexName      dummy
38         ParIndent      MM
39         ParSkip        0.4
40         Align          Block
41         AlignPossible  Block, Left, Right, Center
42         LabelType      No_Label
43         DocBookTag     para
44 End
45
46
47 Preamble
48         \numberwithin{section}{chapter}
49 EndPreamble
50
51
52 Input stdsections.inc
53 Input stdinsets.inc
54 Input numreport.inc
55
56
57 Style Section
58         Align          Center
59         Font
60           Series       Bold
61           Size         Large
62         EndFont
63         TocLevel 1
64 End
65
66
67 Style Subsection
68         Font
69           Series       Bold
70           Size         Normal
71         EndFont
72         TocLevel 2
73 End
74
75
76 Style Subsubsection
77         Font
78           Shape        Italic
79           Size         Normal
80         EndFont
81         TocLevel 3
82 End
83
84 Input stdstarsections.inc
85
86 Style Section*
87         Align          Center
88         Font
89           Series       Bold
90           Size         Large
91         EndFont
92 End
93
94
95 Style Subsection*
96         Font
97           Series       Bold
98           Size         Normal
99         EndFont
100 End
101
102
103 Style Subsubsection*
104         Font
105           Shape        Italic
106           Size         Normal
107         EndFont
108 End
109
110
111 Input lyxmacros.inc
112 Input stdlayouts.inc
113 Input stdlists.inc
114 Input stdfloats.inc
115 Input stdcounters.inc
116 Input amsdefs.inc
117
118 # Unwanted styles from the includes
119 NoStyle Verse
120
121 Style Bibliography
122         TocLevel             0
123 End
124
125 # Chapter is _not_ prepended
126 # JSpitz: this seems to be not true (anymore?)
127 #Style Section
128 #       LabelString          "\arabic{section}"
129 #       LabelStringAppendix  "\arabic{section}"
130 #End
131
132
133 Style Paragraph
134         Font
135           Series       Medium
136         EndFont
137         TocLevel 4
138 End
139
140
141 # End-of Chapter exercises  I need a way to do this.
142 Style Chapter_Exercises
143         Margin                First_Dynamic
144         LatexType             Item_Environment
145         LatexName             lyxxcb
146         NextNoIndent          1
147         LeftMargin            MMN
148         LabelSep              xx
149         ParSkip               0.0
150         ItemSep               0.2
151         TopSep                0.7
152         BottomSep             0.7
153         ParSep                0.3
154         Align                 Block
155         AlignPossible         Block, Left
156         LabelType             Static
157         LabelFont
158           Shape               Up
159           Series              Bold
160         EndFont
161         Preamble
162           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
163                              {\end{enumerate}\end{xcb}}
164         EndPreamble
165         Argument listpreamble:1
166           LabelString    "List preamble"
167           MenuString     "List Preamble"
168           Tooltip        "LaTeX code to be inserted before the first item"
169           PassThru       1
170           Font
171             Family typewriter
172             Color latex
173           EndFont
174         EndArgument
175         DocBookTag       para
176         DocBookAttr      role='chapter-exercises'
177 End