]> git.lyx.org Git - lyx.git/blob - lib/layouts/memoir.layout
Fix bug #6851: Wrong screen fonts with old style macros such as \bf and \rm.
[lyx.git] / lib / layouts / memoir.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[memoir]{book (Memoir)}
3 # Memoir textclass definition file
4 # Author: Jürgen Spitzmüller <spitzmueller@gmx.de>
5 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
6 # feel free to contribute missing features!
7
8
9 Format 27
10 Columns            1
11 Sides              2
12 SecNumDepth        1
13 TocDepth           1
14 DefaultStyle       Standard
15 PageStyle          Headings
16 Provides makeidx   1
17 Provides framed    1
18 # Memoir has support for line spacing, but uses different names from
19 # what setspace.sty does.  
20 Provides SetSpace  1
21
22
23 ClassOptions
24         FontSize             9|10|11|12|14|17
25         PageStyle            empty|plain|headings|myheadings|ruled|Ruled|companion
26         Other                oldfontcommands
27 End
28
29
30 Style Standard
31         Margin                Static
32         LatexType             Paragraph
33         LatexName             dummy
34         ParIndent             MM
35         ParSkip               0.4
36         Align                 Block
37         AlignPossible         Block, Left, Right, Center
38         LabelType             No_Label
39 End
40
41
42 Input stdinsets.inc
43 Input stdlists.inc
44 Input stdcounters.inc
45 Input stdfloats.inc
46 Input stdsections.inc
47 Input stdstarsections.inc
48 Input numreport.inc
49
50
51 Style Part
52         OptionalArgs         1
53         TocLevel             -1
54 End
55         
56
57
58 Style Chapter
59         OptionalArgs         2
60         TocLevel             0
61 End
62
63
64 Style Chapter*
65         OptionalArgs         1
66 End
67
68
69 Style Section
70         OptionalArgs         2
71         TocLevel 1
72 End
73
74
75 Style Subsection
76         OptionalArgs         2
77         TocLevel 2
78 End
79
80
81 Style Subsubsection
82         OptionalArgs         2
83         TocLevel 3
84 End
85
86
87 Style Paragraph
88         OptionalArgs         2
89         TocLevel 4
90 End
91
92
93 Style Subparagraph
94         OptionalArgs         2
95         TocLevel 5
96 End
97
98
99 Style Chapterprecis
100         Margin               Static
101         LatexType            Command
102         LatexName            chapterprecis
103         NeedProtect          1
104         NextNoIndent         1
105         LeftMargin           MM
106         LabelSep             xxx
107         ParSkip              0.4
108         TopSep               0.4
109         BottomSep            0
110         ParSep               0.4
111         Align                Block
112         Font
113           Shape              Italic
114           Size               Normal
115         EndFont
116 End
117
118 #FIXME: this takes two parameters!!!
119 Style Epigraph
120         Category              Maintext
121         Margin                Right_Address_Box
122         LatexType             Command
123         LatexName             epigraph
124         ParSkip               0.4
125         BottomSep             1.5
126         ParSep                1.5
127         Align                 Left
128 End
129
130 #FIXME: what is actually documented is \PoemTitle
131 #but \poemtitle is defined nevertheless. Weird.
132 Style Poemtitle
133         Category              Section
134         LatexType             Command
135         LatexName             poemtitle
136         NeedProtect           1
137         NextNoIndent          1
138         LabelSep              xxx
139         ParSkip               0.4
140         TopSep                0.4
141         ParSep                0.4
142         Align                 center
143         OptionalArgs          1
144         Font
145            Series             Bold
146         EndFont
147 End
148
149
150 Style Poemtitle*
151         CopyStyle             Poemtitle
152         Category              Unnumbered
153         LatexName             poemtitle*
154         OptionalArgs          0
155 End
156
157
158 Input stdtitle.inc
159 Input stdstruct.inc
160
161
162 Style Bibliography
163         TopSep               4
164         LabelString          "Bibliography"
165         LabelFont
166           Series             Bold
167           Size               Huge
168         EndFont
169 End
170
171
172 Input lyxmacros.inc
173 Input stdlayouts.inc
174
175 Style Legend
176         Category            Maintext
177         LatexType           Command
178         LatexName           legend
179         NeedProtect         1
180         NextNoIndent        1
181         ParSkip             0.4
182         Align               Center
183 End