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