]> git.lyx.org Git - lyx.git/blob - lib/layouts/ectaart.layout
Better TOC output for XHTML, per Rob and Pavel.
[lyx.git] / lib / layouts / ectaart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[ectaart]{article (Econometrica)}
3 # Author : Koji Yokota <yok...@res.otaru-uc.ac.jp>
4
5 Format 34
6 Input article.layout
7
8 TitleLatexType          Environment
9 TitleLatexName          frontmatter
10
11 ClassOptions
12         Other           draft
13 End
14
15 Style Title
16         Margin          Manual
17         LeftMargin      -MMMMMMMM
18         Align           Center
19 End
20
21 Style RunTitle
22         Category        FrontMatter
23         LatexType       Command
24         LatexName       runtitle
25         InTitle         1
26         Margin          Dynamic
27         LabelType       Static
28         LabelString     "Running Title:"
29         LabelSep        M
30         LabelFont
31           Color         Red
32         EndFont
33 End
34
35 Style RunAuthor
36         CopyStyle       RunTitle
37         LatexType       Command
38         LatexName       runauthor
39         LabelString     "Running Author:"
40 End
41
42 Style Abstract
43         Margin                  Dynamic
44         LatexType               Environment
45         LatexName               abstract
46         InTitle                 1
47         Category                FrontMatter
48         NextNoIndent            1
49         LabelSep                xxx
50         ParSkip                 0.4
51         TopSep                  0.7
52         BottomSep               0.4
53         Align                   Block
54         LabelType               Static
55         LabelString             "Abstract"
56         LabelFont
57           Size                  Normal
58           Series                Medium
59         EndFont
60 End
61
62 Style Address
63         CopyStyle       RunTitle
64         LatexName       address
65         OptionalArgs    1
66         LabelString     "Address:"
67 End
68
69 Style Email
70         Category        FrontMatter
71         LatexType       Command
72         LatexName       lyxead
73         OptionalArgs    1
74         InTitle         1
75         Margin          First_Dynamic
76         LabelType       Static
77         LabelString     "E-mail:"
78         LabelSep        M
79         Font
80           Family        Typewriter
81         EndFont
82         LabelFont
83           Family        Roman
84           Series        Medium
85           Size          Normal
86           Color         Blue
87         EndFont
88         Preamble
89                 \def\lyxead[#1]#2{\ead[label=#1]{#2}}
90         EndPreamble
91 End
92
93 Style Web_Address
94         CopyStyle       Email
95         LatexName       lyxeadurl
96         LabelString     "Web address:"
97         Preamble
98                 \def\lyxeadurl[#1]#2{\ead[label=#1,url]{#2}}
99         EndPreamble
100 End
101
102 Style Author
103         LatexType       Command
104         LatexName       author
105         NewLine         0
106         InTitle         1
107 End
108
109 Style Authors_Block
110         CopyStyle       RunTitle
111         LatexType       Environment
112         LatexName       aug
113         LabelString     "Authors Block:"
114 End
115
116 Style Keyword
117         CopyStyle       Abstract
118         LatexType       Environment
119         LatexName       keyword
120         LabelString     "Keywords:"
121         LabelFont
122           Shape         SmallCaps
123         EndFont
124 End
125
126 Style Thanks_Text
127         CopyStyle       Email
128         LatexType       Command
129         LatexName       lyxthankstext
130         NeedProtect     1
131         LabelType       Counter
132         LabelCounter    Thanks
133         LabelString     "Thanks \theThanks:"
134         Preamble
135                 \def\lyxthankstext[#1]#2{\thankstext{#1}{#2}}
136         EndPreamble
137 End
138
139 Style Emphasize
140         CopyStyle       Standard
141         LatexType       Environment
142         LatexName       lyxem
143         TopSep          1
144         Font
145           Shape         Italic
146         EndFont
147         Preamble
148                 \newenvironment{lyxem}{\par\begin{em}}{\end{em}\par}
149         EndPreamble
150 End
151
152 InsetLayout Thanks_Reference
153         LyxType         custom
154         LatexType       Command
155         LatexName       thanksref
156         MultiPar        0
157         CustomPars      0
158         Decoration      Classic
159         LabelString     "Thanks Ref"
160         ForcePlain      1
161         BgColor         background
162 End
163
164 InsetLayout Internet_Address_Reference
165         CopyStyle       Thanks_Reference
166         LatexName       printead
167         LabelString     "Internet Addess Ref"
168 End
169
170 InsetLayout Corresponding_Author
171         CopyStyle       Thanks_Reference
172         LatexName       corref
173         LabelString     "Corresponding Author"
174         BgColor         black
175 End
176
177 InsetLayout Author
178         CopyStyle       Thanks_Reference
179         LatexName       author
180         LabelString     "Author"
181         BgColor         green
182 End
183
184 InsetLayout Name_(First_Name)
185         CopyStyle       Thanks_Reference
186         LatexName       fnms
187         LabelString     "First Name"
188         BgColor         background
189 End
190
191 InsetLayout Name_(Surname)
192         CopyStyle       Thanks_Reference
193         LatexName       snm
194         LabelString     "Surname"
195         BgColor         background
196 End
197
198 InsetLayout Keyword
199         CopyStyle       Thanks_Reference
200         LatexName       kwd
201         LabelString     "Keyword"
202 End
203
204 InsetLayout By_Same_Author_(bib)
205         CopyStyle       Thanks_Reference
206         LatexName       bysame
207         LabelString     "bysame"
208         BgColor         blue
209 End
210
211 Counter Thanks
212 End