File: amsbook.layout

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (177 lines) | stat: -rw-r--r-- 3,553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{American Mathematical Society (AMS)}
#  \DeclareCategory{Books}
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <dlj0@lehigh.edu>
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan '08 by Richard Kimberly Heck <rikiheck@lyx.org>
# Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)


Format 111

Columns                 1
Sides                   2
PageStyle               Headers
DocBookRoot             book

Provides amsmath         1
Provides makeidx         1

ClassOptions
	FontSize   8|9|10|11|12
End

DefaultModule theorems-ams
DefaultModule eqs-within-sections
DefaultModule figs-within-sections

Style Standard
	Category       MainText
	Margin         Static
	LatexType      Paragraph
	LatexName      dummy
	ParIndent      MM
	ParSkip        0.4
	Align          Block
	AlignPossible  Block, Left, Right, Center
	LabelType      No_Label
	DocBookTag     para
End


Preamble
	\numberwithin{section}{chapter}
EndPreamble


Input stdsections.inc
Input stdinsets.inc
Input numreport.inc


Style Section
	Align          Center
	Font
	  Series       Bold
	  Size         Large
	EndFont
	TocLevel 1
End


Style Subsection
	Font
	  Series       Bold
	  Size         Normal
	EndFont
	TocLevel 2
End


Style Subsubsection
	Font
	  Shape        Italic
	  Size         Normal
	EndFont
	TocLevel 3
End

Input stdstarsections.inc

Style Section*
	Align          Center
	Font
	  Series       Bold
	  Size         Large
	EndFont
End


Style Subsection*
	Font
	  Series       Bold
	  Size         Normal
	EndFont
End


Style Subsubsection*
	Font
	  Shape        Italic
	  Size         Normal
	EndFont
End


Input lyxmacros.inc
Input stdlayouts.inc
Input stdlists.inc
Input stdfloats.inc
Input stdcounters.inc
Input amsdefs.inc

# Unwanted styles from the includes
NoStyle Verse

Style Bibliography
	TocLevel             0
End

# Chapter is _not_ prepended
# JSpitz: this seems to be not true (anymore?)
#Style Section
#	LabelString          "\arabic{section}"
#	LabelStringAppendix  "\arabic{section}"
#End


Style Paragraph
	Font
	  Series       Medium
	EndFont
	TocLevel 4
End


# End-of Chapter exercises  I need a way to do this.
Style Chapter_Exercises
	Margin                First_Dynamic
	LatexType             Item_Environment
	LatexName             lyxxcb
	NextNoIndent          1
	LeftMargin            MMN
	LabelSep              xx
	ParSkip               0.0
	ItemSep               0.2
	TopSep                0.7
	BottomSep             0.7
	ParSep                0.3
	Align                 Block
	AlignPossible         Block, Left
	LabelType             Itemize
	LabelFont
	  Shape               Up
	  Series              Bold
	EndFont
	Preamble
	  \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
	                     {\end{enumerate}\end{xcb}}
	EndPreamble
	Argument listpreamble:1
	  LabelString    "List preamble"
	  MenuString     "List Preamble"
	  Tooltip        "LaTeX code to be inserted before the first item"
	  PassThru       1
	  Font
	    Family typewriter
	    Color latex
	  EndFont
	EndArgument
	DocBookTag       para
	DocBookAttr      role='chapter-exercises'
End