]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Whitespace, only whitespace. Part II.
[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 Columns                 1
12 Sides                   2
13 PageStyle               Headers
14
15
16 ClassOptions
17         FontSize   8|9|10|11|12
18 End
19
20
21 Style Standard
22         Margin                Static
23         LatexType             Paragraph
24         LatexName             dummy
25         ParIndent             MM
26         ParSkip               0.4
27         Align                 Block
28         AlignPossible         Block, Left, Right, Center
29         LabelType             No_Label
30 End
31
32
33 Preamble
34         \numberwithin{section}{chapter}
35         \theoremstyle{plain}
36         \newtheorem{thm}{Theorem}[section]
37         \numberwithin{equation}{section} %% Comment out for sequentially-numbered
38         \numberwithin{figure}{section} %% Comment out for sequentially-numbered
39 EndPreamble
40
41
42 Input stdsections.inc
43 Input numreport.inc
44
45
46 Style Section
47         Align                 Center
48         AlignPossible         Block, Center, Left
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
75
76 Input lyxmacros.inc
77 NoStyle Address
78
79
80 Input amsdefs.inc
81
82
83 Input stdlayouts.inc
84 NoStyle Verse
85 NoStyle Abstract
86
87
88 Input stdlists.inc
89 Input stdfloats.inc
90 Input stdcounters.inc
91
92
93 # Chapter is _not_ prepended
94 Style Section
95         LabelString          "\arabic{section}"
96         LabelStringAppendix  "\arabic{section}"
97 End
98
99
100 # Paragraph doesn't have numbered labels
101 Style Paragraph
102         LabelString          ""
103         LabelStringAppendix  ""
104         Font
105         EndFont
106 End
107
108
109 # End-of Chapter exercises  I need a way to do this.
110 Style Chapter_Exercises
111         Margin                First_Dynamic
112         LatexType             Item_Environment
113         LatexName             lyxxcb
114         NextNoIndent          1
115         LeftMargin            MMN
116         LabelSep              xx
117         ParSkip               0.0
118         ItemSep               0.2
119         TopSep                0.7
120         BottomSep             0.7
121         ParSep                0.3
122         Align                 Block
123         AlignPossible         Block, Left
124         LabelType             Counter
125         LabelFont
126           Shape               Up
127           Series              Bold
128         EndFont
129         Preamble
130           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
131                              {\end{enumerate}\end{xcb}}
132         EndPreamble
133 End