]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/jss.layout
Update layout format
[lyx.git] / lib / layouts / jss.layout
index cbb36e1613933f207ca241f20b95406a98a7bc3f..96de5e3d1eede756049512fda5e64d1057966275 100644 (file)
@@ -8,7 +8,7 @@
 # License: GNU GPL version 2 or later
 # JSS LaTeX files can be downloaded from http://www.jstatsoft.org/downloads/JSSstyle.zip
 
-Format 54
+Format 66
 
 # Read the definitions from article.layout
 Input article.layout
@@ -20,6 +20,8 @@ AddToPreamble
     %\usepackage{Sweave}
 EndPreamble
 
+NoStyle "Right Address"
+
 Style Section
        LabelString                     \thesection.
 End
@@ -42,20 +44,10 @@ Style Title
        EndFont
 End
 
-Style "Plain Title"
-       CopyStyle                       Title
-       LatexName                       Plaintitle
-End
-
 Style Author
        InPreamble                      1
 End
 
-Style "Plain Author"
-       CopyStyle                       Author
-       LatexName                       Plainauthor
-End
-
 Style Abstract
        Category                        FrontMatter
        LatexName                       Abstract
@@ -118,13 +110,25 @@ Style "Plain Keywords"
        LabelString                     "Plain Keywords:"
 End
 
+Style "Plain Title"
+       CopyStyle                       Keywords
+       LatexName                       Plaintitle
+       LabelString                     "Plain Title:"
+End
+
 Style "Short Title"
        CopyStyle                       Keywords
        LatexName                       Shorttitle
        LabelString                     "Short Title:"
 End
 
-InsetLayout "Flex:pkg"
+Style "Plain Author"
+       CopyStyle                       Keywords
+       LatexName                       Plainauthor
+       LabelString                     "Plain Author:"
+End
+
+InsetLayout "Flex:Pkg"
        LyxType                         custom
        LabelString                     pkg
        LatexType                       command
@@ -144,14 +148,13 @@ InsetLayout "Flex:pkg"
          Color                         latex
          Size                          Small
        EndFont
-       InToc                           true
        HTMLTag                         pkg
        ResetsFont                      true
        spellcheck                      false
 End
 
-InsetLayout "Flex:proglang"
-       CopyStyle                       "Flex:pkg"
+InsetLayout "Flex:Proglang"
+       CopyStyle                       "Flex:Pkg"
        LabelString                     proglang
        LatexName                       proglang
        Font
@@ -165,8 +168,8 @@ InsetLayout "Flex:proglang"
        HTMLTag                         proglang
 End
 
-InsetLayout "Flex:code"
-       CopyStyle                       "Flex:proglang"
+InsetLayout "Flex:Code"
+       CopyStyle                       "Flex:Proglang"
        Spellcheck                      0
        LabelString                     code
        LatexName                       code
@@ -180,69 +183,61 @@ InsetLayout "Flex:E-mail"
        HTMLTag                         email
 End
 
-Style "Code Chunk"
-       Category                        MainText
+InsetLayout "Flex:Code Chunk"
+       CopyStyle                       "Flex:Pkg"
        LatexType                       Environment
        LatexName                       CodeChunk
+       Decoration                      Classic
        Spellcheck                      0
-       NextNoIndent            1
        ParbreakIsNewline       1
        FreeSpacing                     1
        PassThru                        1
        KeepEmpty                       1
-       NewLine                         0
-       TopSep                          0.7
-       BottomSep                       0.7
-       Align                           Block
-       AlignPossible           Block
-       Labeltype                       Above
        LabelString                     "Code Chunk"
        Font
          Family                        Typewriter
        EndFont
        LabelFont
-         Series                        Bold
          Color                         Green
        EndFont
-       HTMLTag                         <pre></pre>
-       HTMLItem                        p
 End
 
-Style "Standard Code"
-       CopyStyle                       "Code Chunk"
+Style "Code"
        LatexName                       Code
        LabelString                     "Code"
+       LatexType                       Environment
+       LatexName                       Code
+       Spellcheck                      0
+       NextNoIndent            1
+       ParbreakIsNewline       1
+       FreeSpacing                     1
+       PassThru                        1
+       KeepEmpty                       1
+       NewLine                         0
        TopSep                          0
        BottomSep                       0
+       Align                           Block
+       AlignPossible           Block
+       Labeltype                       Above
+       Font
+         Family                        Typewriter
+       EndFont
+       LabelFont
+         Series                        Bold
+         Color                         Green
+       EndFont
+       HTMLTag                         pre
+       HTMLItem                        p
 End
 
 Style "Code Input"
-       CopyStyle                       "Standard Code"
+       CopyStyle                       "Code"
        LatexName                       CodeInput
        LabelString                     "Code Input"
 End
 
 Style "Code Output"
-       CopyStyle                       "Standard Code"
+       CopyStyle                       "Code"
        LatexName                       CodeOutput
        LabelString                     "Code Output"
 End
-
-Style Appendix
-       LatexType                       Environment
-       LatexName                       appendix
-       Category                        BackMatter
-       TopSep                          0.6
-       BottomSep                       0.6
-       Margin                          First_Dynamic
-       Align                           Block
-       NextNoIndent            1
-       LabelType                       Above
-       LabelString                     "Appendix"
-       LabelSep                        M
-       LabelFont
-         Series                        Bold
-         Shape                         Up
-         Size                          large
-       EndFont
-End