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