X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftemplates%2FJSS-article.lyx;h=6a9acc36d7492cf8290f8bf930ae3679ba25e77a;hb=2bc2f96a107a4dd1e1d77eca1601e3fe9c202e0e;hp=2978ff2f57286b3def720bf81ca6733a2ddd30c0;hpb=ef9d8927c72df09f065c849ca171f6895462865d;p=lyx.git diff --git a/lib/templates/JSS-article.lyx b/lib/templates/JSS-article.lyx index 2978ff2f57..6a9acc36d7 100644 --- a/lib/templates/JSS-article.lyx +++ b/lib/templates/JSS-article.lyx @@ -1,5 +1,5 @@ -#LyX 1.5.5 created this file. For more info see http://www.lyx.org/ -\lyxformat 276 +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 \begin_document \begin_header \textclass jss @@ -76,38 +76,59 @@ %% need no \usepackage{Sweave.sty} \end_preamble \options article +\use_default_options false +\maintain_unincluded_children false \language english +\language_package default \inputencoding auto +\fontencoding global \font_roman default \font_sans default \font_typewriter default \font_default_family default +\use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize default \spacing single +\use_hyperref false \papersize default \use_geometry false \use_amsmath 0 \use_esint 0 +\use_mhchem 1 +\use_mathdots 1 \cite_engine natbib_authoryear \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\use_refstyle 0 +\index Index +\shortcut idx +\color #008000 +\end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation indent -\defskip medskip +\paragraph_indentation default \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false -\author "" -\author "" +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -116,16 +137,31 @@ \begin_inset Note Note status open -\begin_layout Standard -This is a template LyX file for an article written using the Journal of - Statistical Software (JSS) LaTeX style file, which can be downloaded from - http://www.jstatsoft.org/downloads/JSSstyle.zip. - These files have to be installed before this template can be used. - Consult chapter 5.1 in the LyX Customization manual. - See also the documentation included with the JSS LaTeX style file. +\begin_layout Plain Layout +This is a template LyX file for articles to be submitted to the Journal + of Statistical Software (JSS). + How to install the JSS LaTeX class to your LaTeX system is explained in + +\begin_inset Flex URL +status open + +\begin_layout Plain Layout + +http://wiki.lyx.org/Layouts/JSS \end_layout -\begin_layout Standard +\end_inset + +. +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Plain Layout Note that title, author, address, abstract, keywords etc for this article style are written in the LaTeX preamble (accessed from Document\SpecialChar \menuseparator Settings...\SpecialChar \menuseparator @@ -134,7 +170,7 @@ LaTeX \end_layout -\begin_layout Standard +\begin_layout Plain Layout To use the JSS codesnippet, bookreview or softwarereview styles, replace the option \begin_inset Quotes eld @@ -175,7 +211,7 @@ softwarereview \end_layout -\begin_layout Standard +\begin_layout Plain Layout If you want to use this JSS article style for a non-JSS article, replace the option \begin_inset Quotes eld @@ -197,7 +233,7 @@ nojss This will suppress the JSS-specic parts of the layout. \end_layout -\begin_layout Standard +\begin_layout Plain Layout To include the JSS-specific parts of the layout, the article has to be processed with PDF, i.e. you cannot process it with DVI or PS. @@ -221,17 +257,17 @@ nojss \begin_inset Note Note status collapsed -\begin_layout Standard +\begin_layout Plain Layout The opt field provides bookmarks for PDF files \end_layout \end_inset -\begin_inset OptArg +\begin_inset Argument status collapsed -\begin_layout Standard +\begin_layout Plain Layout About package foo in R \end_layout @@ -241,7 +277,7 @@ About package \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -254,7 +290,7 @@ pkg \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout { \end_layout @@ -265,7 +301,7 @@ foo \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout } \end_layout @@ -276,7 +312,7 @@ status collapsed \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -289,7 +325,7 @@ proglang \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout { \end_layout @@ -300,7 +336,7 @@ R \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout } \end_layout @@ -316,7 +352,7 @@ The special JSS style commands related to software and mathematical formulas \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -329,7 +365,7 @@ proglang{R} \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -342,7 +378,7 @@ R \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout } \end_layout @@ -353,7 +389,7 @@ status collapsed \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -366,7 +402,7 @@ pkg{foo} \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -379,7 +415,7 @@ foo \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout } \end_layout @@ -390,7 +426,7 @@ status collapsed \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -403,7 +439,7 @@ code{some code} \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -416,7 +452,7 @@ some code \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout } \end_layout @@ -431,7 +467,7 @@ status collapsed \begin_inset Note Note status open -\begin_layout Standard +\begin_layout Plain Layout written as \backslash E @@ -447,7 +483,7 @@ E \begin_inset Note Note status open -\begin_layout Standard +\begin_layout Plain Layout written as \backslash VAR @@ -463,7 +499,7 @@ VAR \begin_inset Note Note status open -\begin_layout Standard +\begin_layout Plain Layout written as \backslash COV @@ -479,7 +515,7 @@ COV \begin_inset Note Note status open -\begin_layout Standard +\begin_layout Plain Layout written as \backslash Prob @@ -498,43 +534,43 @@ Writing several lines of code: \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout \backslash begin{CodeChunk} \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash begin{Code} \end_layout -\begin_layout Standard +\begin_layout Plain Layout first line of code \end_layout -\begin_layout Standard +\begin_layout Plain Layout second line of code \end_layout -\begin_layout Standard +\begin_layout Plain Layout third line of code \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash end{Code} \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash @@ -554,67 +590,67 @@ Alternatively, you can distinguish between input and output code: \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout \backslash begin{CodeChunk} \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash begin{CodeInput} \end_layout -\begin_layout Standard +\begin_layout Plain Layout first line of input code \end_layout -\begin_layout Standard +\begin_layout Plain Layout second line of input code \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash end{CodeInput} \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash begin{CodeOutput} \end_layout -\begin_layout Standard +\begin_layout Plain Layout first line of output code \end_layout -\begin_layout Standard +\begin_layout Plain Layout second line of output code \end_layout -\begin_layout Standard +\begin_layout Plain Layout third line of output code \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash end{CodeOutput} \end_layout -\begin_layout Standard +\begin_layout Plain Layout \backslash