]> git.lyx.org Git - lyx.git/blob - lib/templates/JSS-article.lyx
jss.layout: remove superfluous Appendix style
[lyx.git] / lib / templates / JSS-article.lyx
1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 495
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 \noindent
307 The abstract of the article.
308  The abstract of the article.The abstract of the article.The abstract of the
309  article.The abstract of the article.The abstract of the article.The abstract
310  of the article.The abstract of the article.The abstract of the article.The
311  abstract of the article.The abstract of the article.The abstract of the article.Th
312 e 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.
314 \end_layout
315
316 \begin_layout Keywords
317 keywords, comma-separated, not capitalized, 
318 \begin_inset Flex proglang
319 status open
320
321 \begin_layout Plain Layout
322 Java
323 \end_layout
324
325 \end_inset
326
327
328 \begin_inset Note Note
329 status open
330
331 \begin_layout Plain Layout
332 at least one keyword must be supplied
333 \end_layout
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Plain Keywords
341 keyword 1, keyword 2, foo, R
342 \end_layout
343
344 \begin_layout Address
345 Achim Zeileis
346 \begin_inset Newline newline
347 \end_inset
348
349 Department of Statistics and Mathematics
350 \begin_inset Newline newline
351 \end_inset
352
353 Faculty of Economics and Statistics
354 \begin_inset Newline newline
355 \end_inset
356
357 Universität Innsbruck
358 \begin_inset Newline newline
359 \end_inset
360
361 6020 Innsbruck, Austria
362 \begin_inset Newline newline
363 \end_inset
364
365 E-mail: 
366 \begin_inset Flex E-mail
367 status open
368
369 \begin_layout Plain Layout
370
371 Achim.Zeileis@uibk.ac.at
372 \end_layout
373
374 \end_inset
375
376
377 \begin_inset Newline newline
378 \end_inset
379
380 URL: 
381 \begin_inset Flex URL
382 status open
383
384 \begin_layout Plain Layout
385
386 http://eeecon.uibk.ac.at/~zeileis/
387 \end_layout
388
389 \end_inset
390
391
392 \begin_inset Note Note
393 status open
394
395 \begin_layout Plain Layout
396 It is also possible to add a telephone and fax number before the e-mail
397  in the following format:
398 \begin_inset Newline newline
399 \end_inset
400
401 Telephone: +43/512/507-7103
402 \end_layout
403
404 \begin_layout Plain Layout
405 Fax: +43/512/507-2851
406 \end_layout
407
408 \end_inset
409
410
411 \end_layout
412
413 \begin_layout Section
414 About package 
415 \begin_inset Flex pkg
416 status open
417
418 \begin_layout Plain Layout
419 foo
420 \end_layout
421
422 \end_inset
423
424  in 
425 \begin_inset Flex proglang
426 status open
427
428 \begin_layout Plain Layout
429 R
430 \end_layout
431
432 \end_inset
433
434
435 \begin_inset Argument 1
436 status open
437
438 \begin_layout Plain Layout
439 About package foo in R
440 \end_layout
441
442 \end_inset
443
444
445 \begin_inset Note Note
446 status collapsed
447
448 \begin_layout Plain Layout
449 The short title provides bookmarks for PDF files
450 \end_layout
451
452 \end_inset
453
454
455 \end_layout
456
457 \begin_layout Standard
458 The special JSS style commands related to software and mathematical formulas
459  are written as follows in \SpecialChar LyX
460
461 \begin_inset Flex proglang
462 status open
463
464 \begin_layout Plain Layout
465 R
466 \end_layout
467
468 \end_inset
469
470  or 
471 \begin_inset Flex proglang
472 status open
473
474 \begin_layout Plain Layout
475 R
476 \end_layout
477
478 \end_inset
479
480  for the names of programming languages, 
481 \begin_inset Flex pkg
482 status open
483
484 \begin_layout Plain Layout
485 foo
486 \end_layout
487
488 \end_inset
489
490  or 
491 \begin_inset Flex pkg
492 status open
493
494 \begin_layout Plain Layout
495 foo
496 \end_layout
497
498 \end_inset
499
500  for software packages, and 
501 \begin_inset Flex code
502 status open
503
504 \begin_layout Plain Layout
505 some code
506 \end_layout
507
508 \end_inset
509
510  or 
511 \begin_inset Flex pkg
512 status open
513
514 \begin_layout Plain Layout
515 some code
516 \end_layout
517
518 \end_inset
519
520  for code; 
521 \begin_inset Formula $\E$
522 \end_inset
523
524  
525 \begin_inset Note Note
526 status collapsed
527
528 \begin_layout Plain Layout
529 written as 
530 \backslash
531 E
532 \end_layout
533
534 \end_inset
535
536  for expectations, 
537 \begin_inset Formula $\VAR$
538 \end_inset
539
540  
541 \begin_inset Note Note
542 status collapsed
543
544 \begin_layout Plain Layout
545 written as 
546 \backslash
547 VAR
548 \end_layout
549
550 \end_inset
551
552  for variances, 
553 \begin_inset Formula $\COV$
554 \end_inset
555
556  
557 \begin_inset Note Note
558 status collapsed
559
560 \begin_layout Plain Layout
561 written as 
562 \backslash
563 COV
564 \end_layout
565
566 \end_inset
567
568  for covariances, and 
569 \begin_inset Formula $\Prob$
570 \end_inset
571
572  
573 \begin_inset Note Note
574 status collapsed
575
576 \begin_layout Plain Layout
577 written as 
578 \backslash
579 Prob
580 \end_layout
581
582 \end_inset
583
584  for probabilities.
585 \end_layout
586
587 \begin_layout Standard
588 Writing several lines of code:
589 \end_layout
590
591 \begin_layout Code Chunk
592
593 \end_layout
594
595 \begin_deeper
596 \begin_layout Standard Code
597 first line of code
598 \end_layout
599
600 \begin_layout Standard Code
601 second line of code
602 \end_layout
603
604 \begin_layout Standard Code
605 third line of code
606 \end_layout
607
608 \end_deeper
609 \begin_layout Standard
610 Alternatively, you can distinguish between input and output code:
611 \end_layout
612
613 \begin_layout Code Chunk
614
615 \end_layout
616
617 \begin_deeper
618 \begin_layout Code Input
619 first line of input code
620 \end_layout
621
622 \begin_layout Code Input
623 second line of input code
624 \end_layout
625
626 \begin_layout Code Output
627 first line of output code
628 \end_layout
629
630 \begin_layout Code Output
631 second line of output code
632 \end_layout
633
634 \begin_layout Code Output
635 third line of output code
636 \end_layout
637
638 \end_deeper
639 \begin_layout Section*
640 Acknowledgments
641 \end_layout
642
643 \begin_layout Standard
644 Here you can write some acknowledgments.
645 \end_layout
646
647 \begin_layout Section
648 \start_of_appendix
649 This is the first appendix section
650 \end_layout
651
652 \begin_layout Subsection
653 A subsection
654 \end_layout
655
656 \begin_layout Subsubsection
657 A subsubsection
658 \end_layout
659
660 \begin_layout Standard
661 some text
662 \end_layout
663
664 \end_body
665 \end_document