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