]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Add lib/doc/Shortcuts.lyx and menu entry Help->Shortcuts. Please help complete this...
[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
11
12 Format 5
13 Columns                 1
14 Sides                   2
15 PageStyle               Headers
16
17
18 ClassOptions
19         FontSize   8|9|10|11|12
20 End
21
22
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 Preamble
36         \numberwithin{section}{chapter}
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         Font
49           Series              Medium
50           Shape               Smallcaps
51           Size                Large
52         EndFont
53 End
54
55
56 Style Subsection
57         Font
58           Series              Bold
59           Size                Normal
60         EndFont
61 End
62
63
64 Style Subsubsection
65         Font
66           Shape               Italic
67           Size                Normal
68         EndFont
69 End
70
71
72 Input stdstarsections.inc
73 Input lyxmacros.inc
74 Input stdlayouts.inc
75 Input stdlists.inc
76 Input stdfloats.inc
77 Input stdcounters.inc
78 Input amsdefs.inc
79
80 # Unwanted styles from the includes
81 NoStyle Address
82 NoStyle Verse
83 NoStyle Abstract
84
85 # Chapter is _not_ prepended
86 Style Section
87         LabelString          "\arabic{section}"
88         LabelStringAppendix  "\arabic{section}"
89 End
90
91
92 Style Paragraph
93         Font
94           Series Medium
95         EndFont
96 End
97
98
99 # End-of Chapter exercises  I need a way to do this.
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
115         LabelFont
116           Shape               Up
117           Series              Bold
118         EndFont
119         Preamble
120           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
121                              {\end{enumerate}\end{xcb}}
122         EndPreamble
123 End