]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Question environments, from Russ Woodroofe.
[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
88 # Chapter is _not_ prepended
89 Style Section
90         LabelString          "\arabic{section}"
91         LabelStringAppendix  "\arabic{section}"
92 End
93
94
95 Style Paragraph
96         Font
97           Series Medium
98         EndFont
99 End
100
101
102 # End-of Chapter exercises  I need a way to do this.
103 Style Chapter_Exercises
104         Margin                First_Dynamic
105         LatexType             Item_Environment
106         LatexName             lyxxcb
107         NextNoIndent          1
108         LeftMargin            MMN
109         LabelSep              xx
110         ParSkip               0.0
111         ItemSep               0.2
112         TopSep                0.7
113         BottomSep             0.7
114         ParSep                0.3
115         Align                 Block
116         AlignPossible         Block, Left
117         LabelType             Counter
118         LabelFont
119           Shape               Up
120           Series              Bold
121         EndFont
122         Preamble
123           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
124                              {\end{enumerate}\end{xcb}}
125         EndPreamble
126 End