]> git.lyx.org Git - features.git/blob - lib/layouts/jss.layout
740563459d36749c6713f14c720f0e9ed6001f34
[features.git] / lib / layouts / jss.layout
1 #% Do not delete the line below; configure depends on this      
2 #  \DeclareLaTeXClass[jss,ae.sty,color.sty,fancyvrb.sty,hyperref.sty,natbib.sty,upquote.sty]{Journal of Statistical Software (JSS) version 2}
3 #  \DeclareCategory{Articles}
4 # Journal of Statistical Software (JSS) article textclass definition file
5 # Author: Andreas Karlsson <andreas.karlsson@ltv.se>
6 #         Phil Chalmers <rphilip.chalmers@gmail.com>
7 #         Uwe Stöhr <uwestoehr@lyx.org>
8 # License: GNU GPL version 2 or later
9 # JSS LaTeX files can be downloaded from http://www.jstatsoft.org/downloads/JSSstyle.zip
10
11 Format 93
12
13 # Read the definitions from article.layout
14 Input article.layout
15
16 # The commented macro below is enough to prevent Sweave from loading
17 # Sweave.sty. This is needed because jss.cls already provides
18 # this package's functionality (see bug 7555).
19 AddToPreamble
20     %\usepackage{Sweave}
21 EndPreamble
22
23 NoStyle "Right Address"
24
25 Style Section
26         LabelString                     \thesection.
27 End
28
29 Style Subsection
30         LabelString                     \thesubsection.
31 End
32
33 Style Subsubsection
34         LabelType                       No_Label
35         Font
36           Shape                         Italic
37         EndFont
38 End
39
40 Style Title
41         InPreamble                      1
42         Font
43           Size                          Huge
44         EndFont
45 End
46
47 Style Author
48         InPreamble                      1
49 End
50
51 Style Abstract
52         Category                        FrontMatter
53         LatexName                       Abstract
54         LatexType                       Command
55         InTitle                         1
56         InPreamble                      1
57         Margin                          Dynamic
58         LeftMargin                      M
59         NextNoIndent            1
60         ParSkip                         0.4
61         BottomSep                       1.5
62         TopSep                          1.5
63         ParSep                          1.5
64         TopSep                          0.8
65         BottomSep                       0.8
66         AlignPossible           Block, Left, Right, Center
67         Labeltype                       Centered
68         LabelString                     "Abstract"
69         LabelFont
70           Series                        Bold
71         EndFont
72 End
73
74 Style Address
75         CopyStyle                       Abstract
76         LatexName                       Address
77         LabelType                       Above
78         LabelString                     "Affiliation:"
79         Margin                          Static
80         LeftMargin                      M
81         Labelsep                        M
82         LabelFont
83           Size                          normal
84         EndFont
85 End
86
87 Style Keywords
88         Margin                          Dynamic
89         LatexType                       Command
90         LatexName                       Keywords
91         Category                        FrontMatter
92         InTitle                         1
93         InPreamble                      1
94         NextNoIndent            1
95         BottomSep                       0.5
96         ParSkip                         0.4
97         Align                           Block
98         LabelSep                        xx
99         LabelType                       Static
100         LabelString                     "Keywords:"
101         LabelFont
102           Color                         textlabel2
103           Series                        Bold
104         EndFont
105         DocBookTag         keyword
106         DocBookTagType     paragraph
107         DocBookWrapperTag  keywordset
108         DocBookInInfo      always
109 End
110
111 Style "Plain Keywords"
112         CopyStyle                       Keywords
113         LatexName                       Plainkeywords
114         LabelString                     "Plain Keywords:"
115 End
116
117 Style "Plain Title"
118         CopyStyle                       Keywords
119         LatexName                       Plaintitle
120         LabelString                     "Plain Title:"
121 End
122
123 Style "Short Title"
124         CopyStyle                       Keywords
125         LatexName                       Shorttitle
126         LabelString                     "Short Title:"
127 End
128
129 Style "Plain Author"
130         CopyStyle                       Keywords
131         LatexName                       Plainauthor
132         LabelString                     "Plain Author:"
133 End
134
135 InsetLayout "Flex:Pkg"
136         LyxType                         custom
137         LabelString                     pkg
138         LatexType                       command
139         LatexName                       pkg
140         Font
141           Color                         foreground
142           Size                          Small
143           Family                        Roman
144           Shape                         Up
145           Series                        Medium
146           Misc                          No_Emph
147           Misc                          No_Noun
148           Misc                          No_Bar
149           Series                        Bold
150         EndFont
151         LabelFont
152           Color                         latex
153           Size                          Small
154         EndFont
155         HTMLTag                         pkg
156         ResetsFont                      true
157         spellcheck                      false
158 End
159
160 InsetLayout "Flex:Proglang"
161         CopyStyle                       "Flex:Pkg"
162         LabelString                     proglang
163         LatexName                       proglang
164         Font
165           Family                        Typewriter
166           Series                        Medium
167         EndFont
168         LabelFont
169           Color                         latex
170           Size                          Small
171         EndFont
172         HTMLTag                         proglang
173 End
174
175 InsetLayout "Flex:Code"
176         CopyStyle                       "Flex:Proglang"
177         Spellcheck                      0
178         LabelString                     code
179         LatexName                       code
180         HTMLTag                         code
181 End
182
183 InsetLayout "Flex:E-mail"
184         CopyStyle                       "Flex:URL"
185         LabelString                     E-mail
186         LatexName                       email
187         HTMLTag                         email
188 End
189
190 InsetLayout "Flex:Code Chunk"
191         CopyStyle                       "Flex:Pkg"
192         LatexType                       Environment
193         LatexName                       CodeChunk
194         Decoration                      Classic
195         Spellcheck                      0
196         ParbreakIsNewline       1
197         FreeSpacing                     1
198         PassThru                        1
199         KeepEmpty                       1
200         LabelString                     "Code Chunk"
201         Font
202           Family                        Typewriter
203         EndFont
204         LabelFont
205           Color                         textlabel2
206         EndFont
207 End
208
209 Style "Code"
210         LatexName                       Code
211         LabelString                     "Code"
212         LatexType                       Environment
213         LatexName                       Code
214         Spellcheck                      0
215         NextNoIndent            1
216         ParbreakIsNewline       1
217         FreeSpacing                     1
218         PassThru                        1
219         KeepEmpty                       1
220         NewLine                         0
221         TopSep                          0
222         BottomSep                       0
223         Align                           Block
224         AlignPossible           Block
225         Labeltype                       Above
226         Font
227           Family                        Typewriter
228         EndFont
229         LabelFont
230           Series                        Bold
231           Color                         textlabel2
232         EndFont
233         HTMLTag                         pre
234         HTMLItem                        p
235 End
236
237 Style "Code Input"
238         CopyStyle                       "Code"
239         LatexName                       CodeInput
240         LabelString                     "Code Input"
241 End
242
243 Style "Code Output"
244         CopyStyle                       "Code"
245         LatexName                       CodeOutput
246         LabelString                     "Code Output"
247 End