]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
0a732279299c88a416647413f9f527543869f0b0
[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
10
11 # General textclass parameters
12 # Description          "book (AMS)"
13 Columns                 1
14 Sides                   2
15 PageStyle               Headers
16 MaxCounter              Counter_Chapter
17
18 ClassOptions
19   FontSize   8|9|10|11|12
20 End  
21
22 # Standard style definition
23 Style Standard
24   Margin                Static
25   LatexType             Paragraph
26   LatexName             dummy
27   ParIndent             MM
28   ParSkip               0.4
29   Align                 Block
30   AlignPossible         Block, Left, Right, Center
31   LabelType             No_Label
32 End
33
34
35
36 ############### Sections.
37
38 Input stdsections.inc
39
40 # Redefine some of the section styles.
41 Style Section
42   Align                 Center
43   AlignPossible         Block, Center, Left
44
45   # standard font definition
46   Font
47     Series              Medium
48     Shape               Smallcaps
49     Size                Large
50   EndFont
51 End
52
53 # Subsection-numbered style definition
54 Style Subsection
55   # standard font definition
56   Font
57     Series              Bold
58     Size                Normal
59   EndFont
60 End
61
62 # Subsubsection-numbered style definition
63 Style Subsubsection
64   # standard font definition
65   Font
66     Shape               Italic
67     Size                Normal
68   EndFont
69 End
70
71 # then define the unumbered sections, based on the numbered ones.
72 Input stdstarsections.inc
73
74
75 # Perharp's we should put this at the end of the file so it appears at the end
76 # of the list box ??
77
78 Preamble
79   \numberwithin{section}{chapter}
80   \theoremstyle{plain}    
81   \newtheorem{thm}{Theorem}[section]
82   \numberwithin{equation}{section} %% Comment out for sequentially-numbered
83   \numberwithin{figure}{section} %% Comment out for sequentially-numbered
84 EndPreamble
85
86 Input amsdefs.inc
87
88  
89 Input stdlayouts.inc
90 NoStyle Verse    # Although mathematicians tend to be poets at times, 
91                  # we don't need this.
92 NoStyle Abstract  # there are no abstract in a book.
93
94 Input stdlists.inc
95
96
97 # End-of Chapter exercises  I need a way to do this.
98
99 # Chapter Exercises style definition
100 Style Chapter_Exercises
101   Margin                First_Dynamic
102   LatexType             Item_Environment
103   LatexName             lyxxcb
104   NextNoIndent          1
105   LeftMargin            MMN
106   LabelSep              xx
107   ParSkip               0.0
108   ItemSep               0.2
109   TopSep                0.7
110   BottomSep             0.7
111   ParSep                0.3
112   Align                 Block
113   AlignPossible         Block, Left
114   LabelType             Counter_EnumI
115
116   # standard font definition
117
118   # label font definition
119   LabelFont
120     Shape               Up
121     Series              Bold
122   EndFont
123
124   Preamble
125     \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
126                        {\end{enumerate}\end{xcb}}
127   EndPreamble
128
129 End
130
131 Input lyxmacros.inc
132
133 ### Finally a few obsolete definitions for compatibility
134 Input obsolete.inc
135