]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsbook.layout
remove spaces from label strings, part 2
[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 Columns                 1
12 Sides                   2
13 PageStyle               Headers
14
15
16 ClassOptions
17         FontSize   8|9|10|11|12
18 End
19
20
21 Style Standard
22         Margin                Static
23         LatexType             Paragraph
24         LatexName             dummy
25         ParIndent             MM
26         ParSkip               0.4
27         Align                 Block
28         AlignPossible         Block, Left, Right, Center
29         LabelType             No_Label
30 End
31
32
33 Preamble
34         \numberwithin{section}{chapter}
35         \theoremstyle{plain}
36         \newtheorem{thm}{Theorem}[section]
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         AlignPossible         Block, Center, Left
49         Font
50           Series              Medium
51           Shape               Smallcaps
52           Size                Large
53         EndFont
54 End
55
56
57 Style Subsection
58         Font
59           Series              Bold
60           Size                Normal
61         EndFont
62 End
63
64
65 Style Subsubsection
66         Font
67           Shape               Italic
68           Size                Normal
69         EndFont
70 End
71
72
73 Input stdstarsections.inc
74
75
76 Input lyxmacros.inc
77 NoStyle Address
78
79
80 Input amsdefs.inc
81
82
83 Input stdlayouts.inc
84 NoStyle Verse
85 NoStyle Abstract
86
87
88 Input stdlists.inc
89 Input stdfloats.inc
90 Input stdcounters.inc
91
92
93 # Chapter is _not_ prepended
94 Style Section
95         LabelString          "\arabic{section}"
96         LabelStringAppendix  "\arabic{section}"
97 End
98
99
100 Style Paragraph
101         Font
102           Series Medium
103         EndFont
104 End
105
106
107 # End-of Chapter exercises  I need a way to do this.
108 Style Chapter_Exercises
109         Margin                First_Dynamic
110         LatexType             Item_Environment
111         LatexName             lyxxcb
112         NextNoIndent          1
113         LeftMargin            MMN
114         LabelSep              xx
115         ParSkip               0.0
116         ItemSep               0.2
117         TopSep                0.7
118         BottomSep             0.7
119         ParSep                0.3
120         Align                 Block
121         AlignPossible         Block, Left
122         LabelType             Counter
123         LabelFont
124           Shape               Up
125           Series              Bold
126         EndFont
127         Preamble
128           \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
129                              {\end{enumerate}\end{xcb}}
130         EndPreamble
131 End