]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Spanish EmbeddedObjects.lyx: translation update by Ignacio
[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 7
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         Category              MainText
26         Margin                Static
27         LatexType             Paragraph
28         LatexName             dummy
29         ParIndent             MM
30         ParSkip               0.4
31         Align                 Block
32         AlignPossible         Block, Left, Right, Center
33         LabelType             No_Label
34 End
35
36
37 Preamble
38         \numberwithin{section}{chapter}
39         \numberwithin{equation}{section} %% Comment out for sequentially-numbered
40         \numberwithin{figure}{section} %% Comment out for sequentially-numbered
41 EndPreamble
42
43
44 Input stdsections.inc
45 Input stdinsets.inc
46 Input numreport.inc
47
48
49 Style Section
50         Align                 Center
51         Font
52           Series              Medium
53           Shape               Smallcaps
54           Size                Large
55         EndFont
56 End
57
58
59 Style Subsection
60         Font
61           Series              Bold
62           Size                Normal
63         EndFont
64 End
65
66
67 Style Subsubsection
68         Font
69           Shape               Italic
70           Size                Normal
71         EndFont
72 End
73
74
75 Input stdstarsections.inc
76 Input lyxmacros.inc
77 Input stdlayouts.inc
78 Input stdlists.inc
79 Input stdfloats.inc
80 Input stdcounters.inc
81 Input amsdefs.inc
82
83 # Unwanted styles from the includes
84 NoStyle Address
85 NoStyle Verse
86 NoStyle Abstract
87
88 # Chapter is _not_ prepended
89 Style Section
90         LabelString          "\arabic{section}"
91         LabelStringAppendix  "\arabic{section}"
92 End
93
94
95 Style Paragraph
96         Font
97           Series Medium
98         EndFont
99 End
100
101
102 # End-of Chapter exercises  I need a way to do this.
103 Style Chapter_Exercises
104         Margin                First_Dynamic
105         LatexType             Item_Environment
106         LatexName             lyxxcb
107         NextNoIndent          1
108         LeftMargin            MMN
109         LabelSep              xx
110         ParSkip               0.0
111         ItemSep               0.2
112         TopSep                0.7
113         BottomSep             0.7
114         ParSep                0.3
115         Align                 Block
116         AlignPossible         Block, Left
117         LabelType             Counter
118         LabelFont
119           Shape               Up
120           Series              Bold
121         EndFont
122         Preamble
123           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
124                              {\end{enumerate}\end{xcb}}
125         EndPreamble
126 End