]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Update Russian localization
[lyx.git] / lib / layouts / amsbook.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{American Mathematical Society (AMS)}
3 #  \DeclareCategory{Books}
4 # AMS-Article textclass definition file. Taken from initial LyX source code
5 # and from the Article textclass definition file, following the AMS sample
6 # paper "testmath.tex" of January, 1995
7 # Author : David L. Johnson <dlj0@lehigh.edu>
8 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
10 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
11 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
12 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
13
14
15 Format 82
16
17 Columns                 1
18 Sides                   2
19 PageStyle               Headers
20 DocBookRoot             book
21
22 Provides amsmath         1
23 Provides makeidx         1
24
25 ClassOptions
26         FontSize   8|9|10|11|12
27 End
28
29 DefaultModule theorems-ams
30 DefaultModule eqs-within-sections
31 DefaultModule figs-within-sections
32
33 Style Standard
34         Category       MainText
35         Margin         Static
36         LatexType      Paragraph
37         LatexName      dummy
38         ParIndent      MM
39         ParSkip        0.4
40         Align          Block
41         AlignPossible  Block, Left, Right, Center
42         LabelType      No_Label
43 End
44
45
46 Preamble
47         \numberwithin{section}{chapter}
48 EndPreamble
49
50
51 Input stdsections.inc
52 Input stdinsets.inc
53 Input numreport.inc
54
55
56 Style Section
57         Align          Center
58         Font
59           Series       Bold
60           Size         Large
61         EndFont
62         TocLevel 1
63 End
64
65
66 Style Subsection
67         Font
68           Series       Bold
69           Size         Normal
70         EndFont
71         TocLevel 2
72 End
73
74
75 Style Subsubsection
76         Font
77           Shape        Italic
78           Size         Normal
79         EndFont
80         TocLevel 3
81 End
82
83 Input stdstarsections.inc
84
85 Style Section*
86         Align          Center
87         Font
88           Series       Bold
89           Size         Large
90         EndFont
91 End
92
93
94 Style Subsection*
95         Font
96           Series       Bold
97           Size         Normal
98         EndFont
99 End
100
101
102 Style Subsubsection*
103         Font
104           Shape        Italic
105           Size         Normal
106         EndFont
107 End
108
109
110 Input lyxmacros.inc
111 Input stdlayouts.inc
112 Input stdlists.inc
113 Input stdfloats.inc
114 Input stdcounters.inc
115 Input amsdefs.inc
116
117 # Unwanted styles from the includes
118 NoStyle Verse
119
120 Style Bibliography
121         TocLevel             0
122 End
123
124 # Chapter is _not_ prepended
125 # JSpitz: this seems to be not true (anymore?)
126 #Style Section
127 #       LabelString          "\arabic{section}"
128 #       LabelStringAppendix  "\arabic{section}"
129 #End
130
131
132 Style Paragraph
133         Font
134           Series       Medium
135         EndFont
136         TocLevel 4
137 End
138
139
140 # End-of Chapter exercises  I need a way to do this.
141 Style Chapter_Exercises
142         Margin                First_Dynamic
143         LatexType             Item_Environment
144         LatexName             lyxxcb
145         NextNoIndent          1
146         LeftMargin            MMN
147         LabelSep              xx
148         ParSkip               0.0
149         ItemSep               0.2
150         TopSep                0.7
151         BottomSep             0.7
152         ParSep                0.3
153         Align                 Block
154         AlignPossible         Block, Left
155         LabelType             Static
156         LabelFont
157           Shape               Up
158           Series              Bold
159         EndFont
160         Preamble
161           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
162                              {\end{enumerate}\end{xcb}}
163         EndPreamble
164         Argument listpreamble:1
165           LabelString    "List preamble"
166           MenuString     "List Preamble"
167           Tooltip        "LaTeX code to be inserted before the first item"
168           PassThru       1
169           Font
170             Family typewriter
171             Color latex
172           EndFont
173         EndArgument
174 End