]> git.lyx.org Git - lyx.git/blob - lib/templates/JSS-article.lyx
JSS-article.lyx: update the file
[lyx.git] / lib / templates / JSS-article.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 493
3 \begin_document
4 \begin_header
5 \origin unavailable
6 \textclass jss
7 \begin_preamble
8 %the following commands are used only for book or software reviews
9
10 %\Reviewer{Some Author\\University of Somewhere}
11 %\Plainreviewer{Some Author}
12
13 %the following commands are used for articles, codesnippets, book reviews and software reviews
14
15 %publication information
16 %do not use these commands before the article has been accepted
17 %\Volume{00}
18 %\Issue{0}
19 %\Month{Month}
20 %\Year{2000}
21 %\Submitdate{2000-00-00}
22 %\Acceptdate{2000-00-00}
23
24 %if you use Sweave,  include the following line (with % symbols):
25 %% need no \usepackage{Sweave.sty}
26 \end_preamble
27 \options article
28 \use_default_options false
29 \maintain_unincluded_children false
30 \language english
31 \language_package default
32 \inputencoding auto
33 \fontencoding global
34 \font_roman default
35 \font_sans default
36 \font_typewriter default
37 \font_math auto
38 \font_default_family default
39 \use_non_tex_fonts false
40 \font_sc false
41 \font_osf false
42 \font_sf_scale 100
43 \font_tt_scale 100
44 \graphics default
45 \default_output_format pdf2
46 \output_sync 0
47 \bibtex_command default
48 \index_command default
49 \paperfontsize default
50 \spacing single
51 \use_hyperref false
52 \papersize default
53 \use_geometry false
54 \use_package amsmath 0
55 \use_package amssymb 0
56 \use_package cancel 0
57 \use_package esint 0
58 \use_package mathdots 1
59 \use_package mathtools 0
60 \use_package mhchem 1
61 \use_package stackrel 0
62 \use_package stmaryrd 0
63 \use_package undertilde 0
64 \cite_engine natbib
65 \cite_engine_type authoryear
66 \biblio_style plainnat
67 \use_bibtopic false
68 \use_indices false
69 \paperorientation portrait
70 \suppress_date false
71 \justification true
72 \use_refstyle 0
73 \index Index
74 \shortcut idx
75 \color #008000
76 \end_index
77 \secnumdepth 3
78 \tocdepth 3
79 \paragraph_separation indent
80 \paragraph_indentation default
81 \quotes_language english
82 \papercolumns 1
83 \papersides 1
84 \paperpagestyle default
85 \tracking_changes false
86 \output_changes false
87 \html_math_output 0
88 \html_css_as_file 0
89 \html_be_strict false
90 \end_header
91
92 \begin_body
93
94 \begin_layout Standard
95 \begin_inset Note Note
96 status open
97
98 \begin_layout Plain Layout
99 This is a template \SpecialChar LyX
100  file for articles to be submitted to the Journal of
101  Statistical Software (JSS).
102  How to install the JSS \SpecialChar LaTeX
103  class to your \SpecialChar LaTeX
104  system is explained in 
105 \begin_inset Flex URL
106 status open
107
108 \begin_layout Plain Layout
109
110 http://wiki.lyx.org/Layouts/JSS
111 \end_layout
112
113 \end_inset
114
115 .
116 \end_layout
117
118 \end_inset
119
120
121 \begin_inset Note Note
122 status open
123
124 \begin_layout Plain Layout
125 To use the JSS codesnippet, bookreview or softwarereview styles, replace
126  the option 
127 \begin_inset Quotes eld
128 \end_inset
129
130 article
131 \begin_inset Quotes erd
132 \end_inset
133
134  in Document\SpecialChar menuseparator
135 Settings\SpecialChar menuseparator
136 Document Class\SpecialChar menuseparator
137 Options with 
138 \begin_inset Quotes eld
139 \end_inset
140
141 codesnippet
142 \begin_inset Quotes erd
143 \end_inset
144
145
146 \begin_inset Quotes eld
147 \end_inset
148
149 bookreview
150 \begin_inset Quotes erd
151 \end_inset
152
153  or 
154 \begin_inset Quotes eld
155 \end_inset
156
157 softwarereview
158 \begin_inset Quotes erd
159 \end_inset
160
161  and remove/uncomment the relevant parts in the \SpecialChar LaTeX
162  Preamble.
163  
164 \end_layout
165
166 \begin_layout Plain Layout
167 If you want to use this JSS article style for a non-JSS article, replace
168  the option 
169 \begin_inset Quotes eld
170 \end_inset
171
172 article
173 \begin_inset Quotes erd
174 \end_inset
175
176  with 
177 \begin_inset Quotes eld
178 \end_inset
179
180 nojss
181 \begin_inset Quotes erd
182 \end_inset
183
184 .
185  This will suppress the JSS-specific parts of the layout.
186 \end_layout
187
188 \begin_layout Plain Layout
189 To include the JSS-specific parts of the layout, the article has to be processed
190  with PDF, i.
191 \begin_inset space \thinspace{}
192 \end_inset
193
194 e.
195 \begin_inset space ~
196 \end_inset
197
198 you cannot process it with DVI or PS.
199  However, if the option 
200 \begin_inset Quotes eld
201 \end_inset
202
203 nojss
204 \begin_inset Quotes erd
205 \end_inset
206
207  is used, it can be processed with DVI or PS.
208 \end_layout
209
210 \end_inset
211
212
213 \end_layout
214
215 \begin_layout Title
216 A Capitalized Title: Something about a Package 
217 \begin_inset Flex pkg
218 status open
219
220 \begin_layout Plain Layout
221 foo
222 \end_layout
223
224 \end_inset
225
226
227 \end_layout
228
229 \begin_layout Plain Title
230 A Capitalized Title: Something about a Package foo
231 \begin_inset Note Note
232 status open
233
234 \begin_layout Plain Layout
235 optional
236 \end_layout
237
238 \end_inset
239
240
241 \end_layout
242
243 \begin_layout Author
244 Achim Zeileis
245 \begin_inset Newline newline
246 \end_inset
247
248 Universität Innsbruck 
249 \begin_inset ERT
250 status collapsed
251
252 \begin_layout Plain Layout
253
254
255 \backslash
256 And 
257 \end_layout
258
259 \end_inset
260
261 Second Author
262 \begin_inset Newline newline
263 \end_inset
264
265 Plus Affiliation
266 \end_layout
267
268 \begin_layout Plain Author
269 Achim Zeileis, Second Author
270 \begin_inset Note Note
271 status open
272
273 \begin_layout Plain Layout
274 optional
275 \end_layout
276
277 \end_inset
278
279
280 \end_layout
281
282 \begin_layout Short Title
283 \begin_inset Flex pkg
284 status open
285
286 \begin_layout Plain Layout
287 foo
288 \end_layout
289
290 \end_inset
291
292 : A Capitalized Title
293 \begin_inset Note Note
294 status collapsed
295
296 \begin_layout Plain Layout
297 only if necessary
298 \end_layout
299
300 \end_inset
301
302
303 \end_layout
304
305 \begin_layout Abstract
306 The abstract of the article.
307 \end_layout
308
309 \begin_layout Keywords
310 keywords, comma-separated, not capitalized, 
311 \begin_inset Flex proglang
312 status open
313
314 \begin_layout Plain Layout
315 Java
316 \end_layout
317
318 \end_inset
319
320
321 \begin_inset Note Note
322 status open
323
324 \begin_layout Plain Layout
325 at least one keyword must be supplied
326 \end_layout
327
328 \end_inset
329
330
331 \end_layout
332
333 \begin_layout Plain Keywords
334 keyword 1, keyword 2, foo, R
335 \end_layout
336
337 \begin_layout Address
338 Achim Zeileis
339 \begin_inset Newline newline
340 \end_inset
341
342 Department of Statistics and Mathematics
343 \begin_inset Newline newline
344 \end_inset
345
346 Faculty of Economics and Statistics
347 \begin_inset Newline newline
348 \end_inset
349
350 Universität Innsbruck
351 \begin_inset Newline newline
352 \end_inset
353
354 6020 Innsbruck, Austria
355 \begin_inset Newline newline
356 \end_inset
357
358 E-mail: 
359 \begin_inset Flex E-mail
360 status open
361
362 \begin_layout Plain Layout
363
364 Achim.Zeileis@uibk.ac.at
365 \end_layout
366
367 \end_inset
368
369
370 \begin_inset Newline newline
371 \end_inset
372
373 URL: 
374 \begin_inset Flex URL
375 status open
376
377 \begin_layout Plain Layout
378
379 http://eeecon.uibk.ac.at/~zeileis/
380 \end_layout
381
382 \end_inset
383
384
385 \begin_inset Note Note
386 status open
387
388 \begin_layout Plain Layout
389 It is also possible to add a telephone and fax number before the e-mail
390  in the following format:
391 \begin_inset Newline newline
392 \end_inset
393
394 Telephone: +43/512/507-7103
395 \end_layout
396
397 \begin_layout Plain Layout
398 Fax: +43/512/507-2851
399 \end_layout
400
401 \end_inset
402
403
404 \end_layout
405
406 \begin_layout Section
407 About package 
408 \begin_inset Flex pkg
409 status open
410
411 \begin_layout Plain Layout
412 foo
413 \end_layout
414
415 \end_inset
416
417  in 
418 \begin_inset Flex proglang
419 status open
420
421 \begin_layout Plain Layout
422 R
423 \end_layout
424
425 \end_inset
426
427
428 \begin_inset Argument 1
429 status open
430
431 \begin_layout Plain Layout
432 About package foo in R
433 \end_layout
434
435 \end_inset
436
437
438 \begin_inset Note Note
439 status collapsed
440
441 \begin_layout Plain Layout
442 The short title provides bookmarks for PDF files
443 \end_layout
444
445 \end_inset
446
447
448 \end_layout
449
450 \begin_layout Standard
451 The special JSS style commands related to software and mathematical formulas
452  are written as follows in \SpecialChar LyX
453
454 \begin_inset Flex proglang
455 status open
456
457 \begin_layout Plain Layout
458 R
459 \end_layout
460
461 \end_inset
462
463  or 
464 \begin_inset Flex proglang
465 status open
466
467 \begin_layout Plain Layout
468 R
469 \end_layout
470
471 \end_inset
472
473  for the names of programming languages, 
474 \begin_inset Flex pkg
475 status open
476
477 \begin_layout Plain Layout
478 foo
479 \end_layout
480
481 \end_inset
482
483  or 
484 \begin_inset Flex pkg
485 status open
486
487 \begin_layout Plain Layout
488 foo
489 \end_layout
490
491 \end_inset
492
493  for software packages, and 
494 \begin_inset Flex code
495 status open
496
497 \begin_layout Plain Layout
498 some code
499 \end_layout
500
501 \end_inset
502
503  or 
504 \begin_inset Flex pkg
505 status open
506
507 \begin_layout Plain Layout
508 some code
509 \end_layout
510
511 \end_inset
512
513  for code; 
514 \begin_inset Formula $\E$
515 \end_inset
516
517  
518 \begin_inset Note Note
519 status collapsed
520
521 \begin_layout Plain Layout
522 written as 
523 \backslash
524 E
525 \end_layout
526
527 \end_inset
528
529  for expectations, 
530 \begin_inset Formula $\VAR$
531 \end_inset
532
533  
534 \begin_inset Note Note
535 status collapsed
536
537 \begin_layout Plain Layout
538 written as 
539 \backslash
540 VAR
541 \end_layout
542
543 \end_inset
544
545  for variances, 
546 \begin_inset Formula $\COV$
547 \end_inset
548
549  
550 \begin_inset Note Note
551 status collapsed
552
553 \begin_layout Plain Layout
554 written as 
555 \backslash
556 COV
557 \end_layout
558
559 \end_inset
560
561  for covariances, and 
562 \begin_inset Formula $\Prob$
563 \end_inset
564
565  
566 \begin_inset Note Note
567 status collapsed
568
569 \begin_layout Plain Layout
570 written as 
571 \backslash
572 Prob
573 \end_layout
574
575 \end_inset
576
577  for probabilities.
578 \end_layout
579
580 \begin_layout Standard
581 Writing several lines of code:
582 \end_layout
583
584 \begin_layout Code Chunk
585
586 \end_layout
587
588 \begin_deeper
589 \begin_layout Standard Code
590
591 first line of code
592 \end_layout
593
594 \begin_layout Standard Code
595
596 second line of code
597 \end_layout
598
599 \begin_layout Standard Code
600
601 third line of code
602 \end_layout
603
604 \end_deeper
605 \begin_layout Standard
606 Alternatively, you can distinguish between input and output code:
607 \end_layout
608
609 \begin_layout Code Chunk
610
611 \end_layout
612
613 \begin_deeper
614 \begin_layout Code Input
615
616 first line of input code
617 \end_layout
618
619 \begin_layout Code Input
620
621 second line of input code
622 \end_layout
623
624 \begin_layout Code Output
625
626 first line of output code
627 \end_layout
628
629 \begin_layout Code Output
630
631 second line of output code
632 \end_layout
633
634 \begin_layout Code Output
635
636 third line of output code
637 \end_layout
638
639 \end_deeper
640 \begin_layout Section*
641 Acknowledgments
642 \end_layout
643
644 \begin_layout Standard
645 Here you can write some acknowledgments.
646 \end_layout
647
648 \end_body
649 \end_document