]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[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 Format 5
12 Columns                 1
13 Sides                   2
14 PageStyle               Headers
15
16
17 ClassOptions
18         FontSize   8|9|10|11|12
19 End
20
21
22 Style Standard
23         Margin                Static
24         LatexType             Paragraph
25         LatexName             dummy
26         ParIndent             MM
27         ParSkip               0.4
28         Align                 Block
29         AlignPossible         Block, Left, Right, Center
30         LabelType             No_Label
31 End
32
33
34 Preamble
35         \numberwithin{section}{chapter}
36         \theoremstyle{plain}
37         \newtheorem{thm}{Theorem}[section]
38         \numberwithin{equation}{section} %% Comment out for sequentially-numbered
39         \numberwithin{figure}{section} %% Comment out for sequentially-numbered
40 EndPreamble
41
42
43 Input stdinsets.inc
44 Input stdsections.inc
45 Input numreport.inc
46
47
48 Style Section
49         Align                 Center
50         AlignPossible         Block, Center, Left
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
77
78 Input lyxmacros.inc
79 NoStyle Address
80
81
82 Input amsdefs.inc
83
84
85 Input stdlayouts.inc
86 NoStyle Verse
87 NoStyle Abstract
88
89
90 Input stdlists.inc
91 Input stdfloats.inc
92 Input stdcounters.inc
93
94
95 # Chapter is _not_ prepended
96 Style Section
97         LabelString          "\arabic{section}"
98         LabelStringAppendix  "\arabic{section}"
99 End
100
101
102 Style Paragraph
103         Font
104           Series Medium
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