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