]> git.lyx.org Git - features.git/blob - lib/layouts/ectaart.layout
DocBook: implement author for layouts that previously missed it.
[features.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         DocBookTag            personname
118         DocBookTagType        paragraph
119         DocBookWrapperTag     author
120         DocBookWrapperTagType inline
121         DocBookInInfo         always
122 End
123
124 Style Authors_Block
125         CopyStyle       RunTitle
126         LatexType       Environment
127         LatexName       aug
128         LabelString     "Authors Block:"
129 End
130
131 Style Keyword
132         CopyStyle       Abstract
133         LatexType       Environment
134         LatexName       keyword
135         LabelString     "Keywords:"
136         LabelFont
137           Shape         SmallCaps
138         EndFont
139 End
140
141 Style Thanks_Text
142         CopyStyle       Email
143         LatexType       Command
144         LatexName       lyxthankstext
145         NeedProtect     1
146         LabelType       Static
147         LabelCounter    Thanks
148         LabelString     "Thanks \theThanks:"
149         Preamble
150                 \def\lyxthankstext[#1]#2{\thankstext{#1}{#2}}
151         EndPreamble
152 End
153
154 Style Emphasize
155         CopyStyle       Standard
156         LatexType       Environment
157         LatexName       lyxem
158         TopSep          1
159         Font
160           Shape         Italic
161         EndFont
162         Preamble
163                 \newenvironment{lyxem}{\par\begin{em}}{\end{em}\par}
164         EndPreamble
165 End
166
167 InsetLayout Flex:Thanks_Reference
168         LyxType         custom
169         LatexType       Command
170         LatexName       thanksref
171         MultiPar        0
172         CustomPars      0
173         Decoration      Classic
174         LabelString     "Thanks Ref"
175         ForcePlain      1
176         BgColor         background
177         ResetsFont true
178 End
179
180 InsetLayout Flex:Internet_Address_Reference
181         CopyStyle       Flex:Thanks_Reference
182         LatexName       printead
183         LabelString     "Internet Addess Ref"
184 End
185
186 InsetLayout Flex:Corresponding_Author
187         CopyStyle       Flex:Thanks_Reference
188         LatexName       corref
189         LabelString     "Corresponding Author"
190         BgColor         black
191 End
192
193 InsetLayout Flex:Author
194         CopyStyle       Flex:Thanks_Reference
195         LatexName       author
196         LabelString     "Author"
197         BgColor         green
198 End
199
200 InsetLayout Flex:Name_(First_Name)
201         CopyStyle       Flex:Thanks_Reference
202         LatexName       fnms
203         LabelString     "First Name"
204         BgColor         background
205 End
206
207 InsetLayout Flex:Name_(Surname)
208         CopyStyle       Flex:Thanks_Reference
209         LatexName       snm
210         LabelString     "Surname"
211         BgColor         background
212 End
213
214 InsetLayout Flex:Keyword
215         CopyStyle       Flex:Thanks_Reference
216         LatexName       kwd
217         LabelString     "Keyword"
218 End
219
220 InsetLayout Flex:By_Same_Author_(bib)
221         CopyStyle       Flex:Thanks_Reference
222         LatexName       bysame
223         LabelString     "bysame"
224         BgColor         blue
225 End
226
227 Counter Thanks
228         GuiName "Footnote (Title)"
229 End