]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
- aa.layout: updatesd for aa.cls version 6.1
[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
12
13 Format 11
14 Columns                 1
15 Sides                   2
16 PageStyle               Headers
17
18
19 ClassOptions
20         FontSize   8|9|10|11|12
21 End
22
23 DefaultModule theorems-ams
24
25 Style Standard
26         Category              MainText
27         Margin                Static
28         LatexType             Paragraph
29         LatexName             dummy
30         ParIndent             MM
31         ParSkip               0.4
32         Align                 Block
33         AlignPossible         Block, Left, Right, Center
34         LabelType             No_Label
35 End
36
37
38 Preamble
39         \numberwithin{section}{chapter}
40         \numberwithin{equation}{section} %% Comment out for sequentially-numbered
41         \numberwithin{figure}{section} %% Comment out for sequentially-numbered
42 EndPreamble
43
44
45 Input stdsections.inc
46 Input stdinsets.inc
47 Input numreport.inc
48
49
50 Style Section
51         Align                 Center
52         Font
53           Series              Medium
54           Shape               Smallcaps
55           Size                Large
56         EndFont
57 End
58
59
60 Style Subsection
61         Font
62           Series              Bold
63           Size                Normal
64         EndFont
65 End
66
67
68 Style Subsubsection
69         Font
70           Shape               Italic
71           Size                Normal
72         EndFont
73 End
74
75
76 Input stdstarsections.inc
77 Input lyxmacros.inc
78 Input stdlayouts.inc
79 Input stdlists.inc
80 Input stdfloats.inc
81 Input stdcounters.inc
82 Input amsdefs.inc
83
84 # Unwanted styles from the includes
85 NoStyle Address
86 NoStyle Verse
87 NoStyle Abstract
88
89 # Chapter is _not_ prepended
90 Style Section
91         LabelString          "\arabic{section}"
92         LabelStringAppendix  "\arabic{section}"
93 End
94
95
96 Style Paragraph
97         Font
98           Series Medium
99         EndFont
100 End
101
102
103 # End-of Chapter exercises  I need a way to do this.
104 Style Chapter_Exercises
105         Margin                First_Dynamic
106         LatexType             Item_Environment
107         LatexName             lyxxcb
108         NextNoIndent          1
109         LeftMargin            MMN
110         LabelSep              xx
111         ParSkip               0.0
112         ItemSep               0.2
113         TopSep                0.7
114         BottomSep             0.7
115         ParSep                0.3
116         Align                 Block
117         AlignPossible         Block, Left
118         LabelType             Counter
119         LabelFont
120           Shape               Up
121           Series              Bold
122         EndFont
123         Preamble
124           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
125                              {\end{enumerate}\end{xcb}}
126         EndPreamble
127 End