]> git.lyx.org Git - features.git/blob - lib/layouts/jss.layout
Update layouts
[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 84
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         TocLevel 1
28 End
29
30 Style Subsection
31         LabelString                     \thesubsection.
32         TocLevel 2
33 End
34
35 Style Subsubsection
36         LabelType                       No_Label
37         Font
38           Shape                         Italic
39         EndFont
40                 TocLevel 3
41 End
42
43 Style Title
44         InPreamble                      1
45         Font
46           Size                          Huge
47         EndFont
48 End
49
50 Style Author
51         InPreamble                      1
52 End
53
54 Style Abstract
55         Category                        FrontMatter
56         LatexName                       Abstract
57         LatexType                       Command
58         InTitle                         1
59         InPreamble                      1
60         Margin                          Dynamic
61         LeftMargin                      M
62         NextNoIndent            1
63         ParSkip                         0.4
64         BottomSep                       1.5
65         TopSep                          1.5
66         ParSep                          1.5
67         TopSep                          0.8
68         BottomSep                       0.8
69         AlignPossible           Block, Left, Right, Center
70         Labeltype                       Centered
71         LabelString                     "Abstract"
72         LabelFont
73           Series                        Bold
74         EndFont
75 End
76
77 Style Address
78         CopyStyle                       Abstract
79         LatexName                       Address
80         LabelType                       Above
81         LabelString                     "Affiliation:"
82         Margin                          Static
83         LeftMargin                      M
84         Labelsep                        M
85         LabelFont
86           Size                          normal
87         EndFont
88 End
89
90 Style Keywords
91         Margin                          Dynamic
92         LatexType                       Command
93         LatexName                       Keywords
94         Category                        FrontMatter
95         InTitle                         1
96         InPreamble                      1
97         NextNoIndent            1
98         BottomSep                       0.5
99         ParSkip                         0.4
100         Align                           Block
101         LabelSep                        xx
102         LabelType                       Static
103         LabelString                     "Keywords:"
104         LabelFont
105           Color                         Green
106           Series                        Bold
107         EndFont
108 End
109
110 Style "Plain Keywords"
111         CopyStyle                       Keywords
112         LatexName                       Plainkeywords
113         LabelString                     "Plain Keywords:"
114 End
115
116 Style "Plain Title"
117         CopyStyle                       Keywords
118         LatexName                       Plaintitle
119         LabelString                     "Plain Title:"
120 End
121
122 Style "Short Title"
123         CopyStyle                       Keywords
124         LatexName                       Shorttitle
125         LabelString                     "Short Title:"
126 End
127
128 Style "Plain Author"
129         CopyStyle                       Keywords
130         LatexName                       Plainauthor
131         LabelString                     "Plain Author:"
132 End
133
134 InsetLayout "Flex:Pkg"
135         LyxType                         custom
136         LabelString                     pkg
137         LatexType                       command
138         LatexName                       pkg
139         Font
140           Color                         foreground
141           Size                          Small
142           Family                        Roman
143           Shape                         Up
144           Series                        Medium
145           Misc                          No_Emph
146           Misc                          No_Noun
147           Misc                          No_Bar
148           Series                        Bold
149         EndFont
150         LabelFont
151           Color                         latex
152           Size                          Small
153         EndFont
154         HTMLTag                         pkg
155         ResetsFont                      true
156         spellcheck                      false
157 End
158
159 InsetLayout "Flex:Proglang"
160         CopyStyle                       "Flex:Pkg"
161         LabelString                     proglang
162         LatexName                       proglang
163         Font
164           Family                        Typewriter
165           Series                        Medium
166         EndFont
167         LabelFont
168           Color                         latex
169           Size                          Small
170         EndFont
171         HTMLTag                         proglang
172 End
173
174 InsetLayout "Flex:Code"
175         CopyStyle                       "Flex:Proglang"
176         Spellcheck                      0
177         LabelString                     code
178         LatexName                       code
179         HTMLTag                         code
180 End
181
182 InsetLayout "Flex:E-mail"
183         CopyStyle                       "Flex:URL"
184         LabelString                     E-mail
185         LatexName                       email
186         HTMLTag                         email
187 End
188
189 InsetLayout "Flex:Code Chunk"
190         CopyStyle                       "Flex:Pkg"
191         LatexType                       Environment
192         LatexName                       CodeChunk
193         Decoration                      Classic
194         Spellcheck                      0
195         ParbreakIsNewline       1
196         FreeSpacing                     1
197         PassThru                        1
198         KeepEmpty                       1
199         LabelString                     "Code Chunk"
200         Font
201           Family                        Typewriter
202         EndFont
203         LabelFont
204           Color                         Green
205         EndFont
206 End
207
208 Style "Code"
209         LatexName                       Code
210         LabelString                     "Code"
211         LatexType                       Environment
212         LatexName                       Code
213         Spellcheck                      0
214         NextNoIndent            1
215         ParbreakIsNewline       1
216         FreeSpacing                     1
217         PassThru                        1
218         KeepEmpty                       1
219         NewLine                         0
220         TopSep                          0
221         BottomSep                       0
222         Align                           Block
223         AlignPossible           Block
224         Labeltype                       Above
225         Font
226           Family                        Typewriter
227         EndFont
228         LabelFont
229           Series                        Bold
230           Color                         Green
231         EndFont
232         HTMLTag                         pre
233         HTMLItem                        p
234 End
235
236 Style "Code Input"
237         CopyStyle                       "Code"
238         LatexName                       CodeInput
239         LabelString                     "Code Input"
240 End
241
242 Style "Code Output"
243         CopyStyle                       "Code"
244         LatexName                       CodeOutput
245         LabelString                     "Code Output"
246 End