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