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