]> 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
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 numreport.inc
45
46
47 Style Section
48         Align                 Center
49         Font
50           Series              Medium
51           Shape               Smallcaps
52           Size                Large
53         EndFont
54 End
55
56
57 Style Subsection
58         Font
59           Series              Bold
60           Size                Normal
61         EndFont
62 End
63
64
65 Style Subsubsection
66         Font
67           Shape               Italic
68           Size                Normal
69         EndFont
70 End
71
72
73 Input stdstarsections.inc
74 Input lyxmacros.inc
75 Input stdlayouts.inc
76 Input stdlists.inc
77 Input stdfloats.inc
78 Input stdcounters.inc
79 Input amsdefs.inc
80
81 # Unwanted styles from the includes
82 NoStyle Address
83 NoStyle Verse
84 NoStyle Abstract
85
86 # Chapter is _not_ prepended
87 Style Section
88         LabelString          "\arabic{section}"
89         LabelStringAppendix  "\arabic{section}"
90 End
91
92
93 Style Paragraph
94         Font
95           Series Medium
96         EndFont
97 End
98
99
100 # End-of Chapter exercises  I need a way to do this.
101 Style Chapter_Exercises
102         Margin                First_Dynamic
103         LatexType             Item_Environment
104         LatexName             lyxxcb
105         NextNoIndent          1
106         LeftMargin            MMN
107         LabelSep              xx
108         ParSkip               0.0
109         ItemSep               0.2
110         TopSep                0.7
111         BottomSep             0.7
112         ParSep                0.3
113         Align                 Block
114         AlignPossible         Block, Left
115         LabelType             Counter
116         LabelFont
117           Shape               Up
118           Series              Bold
119         EndFont
120         Preamble
121           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
122                              {\end{enumerate}\end{xcb}}
123         EndPreamble
124 End