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