]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/jasatex.layout
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / lib / layouts / jasatex.layout
index 3d8db6cd28208713418d4bd807b3cb909f275ea0..81a0befa07c6cc8a212a6da3b680be51e43d56dc 100644 (file)
@@ -4,16 +4,17 @@
 # JASATeX textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 41
+Format 45
 
-Columns                 1
-Sides                   1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
+Columns                        1
+Sides                  1
+SecNumDepth            3
+TocDepth               3
+DefaultStyle           Standard
+Provides natbib                1
 
 ClassOptions
-       FontSize                10|11|12
+       FontSize        10|11|12
 end
 
 Preamble
@@ -24,23 +25,24 @@ EndPreamble
 # This is just to show how to declare the default font.
 # The defaults are exactly those shown here.
 DefaultFont
-       Family                  Roman
-       Series                  Medium
-       Shape                   Up
-       Size                    Normal
-       Color                   None
+       Family          Roman
+       Series          Medium
+       Shape           Up
+       Size            Normal
+       Color           None
 EndFont
 
 
 Style Standard
-       Margin                  Static
-       LatexType               Paragraph
-       LatexName               dummy
-       ParIndent               MM
-       ParSkip                 0.4
-       Align                   Block
-       AlignPossible           Block, Left, Right, Center
-       LabelType               No_Label
+       Category        MainText
+       Margin          Static
+       LatexType       Paragraph
+       LatexName       dummy
+       ParIndent       MM
+       ParSkip         0.4
+       Align           Block
+       AlignPossible   Block, Left, Right, Center
+       LabelType       No_Label
 End
 
 
@@ -56,228 +58,234 @@ NoStyle Chapter*
 
 
 Style Title
-       Margin                  Static
-       LatexType               Command
-       LatexName               title
-       Category                FrontMatter
-       InTitle                 1
-       ParSkip                 0.4
-       ItemSep                 0
-       TopSep                  0
-       BottomSep               1
-       ParSep                  1
-       Align                   Center
-       AlignPossible           Left, Right
-       LabelType               No_Label
+       Margin          Static
+       LatexType       Command
+       LatexName       title
+       Category        FrontMatter
+       InTitle         1
+       ParSkip         0.4
+       ItemSep         0
+       TopSep          0
+       BottomSep       1
+       ParSep          1
+       Align           Center
+       AlignPossible   Left, Right
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "Short title that will appear in header line"
+       EndArgument
+       LabelType       No_Label
        Font
-         Size                  Largest
+         Size          Largest
        EndFont
-       HTMLTitle               true
+       HTMLTitle       true
 End
 
 
 Style Author
-       Margin                  Static
-       LatexType               Command
-       LatexName               author
-       Category                FrontMatter
-       InTitle                 1
-       LabelSep                xxx
-       ParSkip                 0.4
-       TopSep                  1.3
-       BottomSep               0.7
-       ParSep                  0.7
-       Align                   Center
-       AlignPossible           Center
-       LabelType               No_Label
+       Margin          Static
+       LatexType       Command
+       LatexName       author
+       Category        FrontMatter
+       InTitle         1
+       LabelSep        xxx
+       ParSkip         0.4
+       TopSep          1.3
+       BottomSep       0.7
+       ParSep          0.7
+       Align           Center
+       AlignPossible   Center
+       LabelType       No_Label
        Font
-         Size                  Large
+         Size          Large
        EndFont
 End
 
 
 Style Affiliation
-       Margin                  Static
-       LatexType               Command
-       LatexName               affiliation
-       Category                FrontMatter
-       InTitle                 1
-       ParSkip                 0.4
-       Align                   Center
-       AlignPossible           Center
-       LabelType               No_Label
+       Margin          Static
+       LatexType       Command
+       LatexName       affiliation
+       Category        FrontMatter
+       InTitle         1
+       ParSkip         0.4
+       Align           Center
+       AlignPossible   Center
+       LabelType       No_Label
        Font
-         Shape                 Italic
+         Shape         Italic
        EndFont
 End
 
 
 Style "Alternative Affiliation"
-       CopyStyle               Affiliation
-       LatexType               Command
-       LatexName               altaffiliation
+       CopyStyle       Affiliation
+       LatexType       Command
+       LatexName       altaffiliation
        Argument 1
-               LabelString   "Alternative Affiliation Option"
-               Tooltip       "Option to the alternative affiliation command"
+         LabelString   "Affiliation Prefix"
+         Tooltip       "A prefix like 'Also at '"
        EndArgument
 End
 
 
 Style Homepage
-       CopyStyle               Affiliation
-       LatexName               homepage
+       CopyStyle       Affiliation
+       LatexName       homepage
        Font
-         Shape                 Up
+         Shape         Up
        EndFont
 End
 
 
 Style Email
-       CopyStyle               Homepage
-       LatexName               email
+       CopyStyle       Homepage
+       LatexName       email
 End
 
 
 Style Date
-       Margin                  Dynamic
-       LatexType               Command
-       Category                FrontMatter
-       InTitle                 1
-       LatexName               date
-       LabelSep                xxx
-       ParSkip                 0.4
-       TopSep                  0.9
-       BottomSep               0.5
-       ParSep                  1
-       Align                   Center
-       LabelType               No_Label
+       Margin          Dynamic
+       LatexType       Command
+       Category        FrontMatter
+       InTitle         1
+       LatexName       date
+       LabelSep        xxx
+       ParSkip         0.4
+       TopSep          0.9
+       BottomSep       0.5
+       ParSep          1
+       Align           Center
+       LabelType       No_Label
        Font
-         Size                  Large
+         Size          Large
        EndFont
 End
 
 
 Style Abstract
-       Margin                  Static
-       LatexType               Environment
-       LatexName               abstract
-       Category                FrontMatter
-       InTitle                 1
-       NextNoIndent            1
-       LeftMargin              MMM
-       RightMargin             MMM
-       ParIndent               MM
-       ItemSep                 0
-       TopSep                  0.7
-       BottomSep               0.7
-       ParSep                  0
-       Align                   Block
-       AlignPossible           Left, Right, Center, Block
-       LabelType               Centered_Top_Environment
-       LabelString             "Abstract"
-       LabelBottomSep          0.5
+       Margin          Static
+       LatexType       Environment
+       LatexName       abstract
+       Category        FrontMatter
+       InTitle         1
+       NextNoIndent    1
+       LeftMargin      MMM
+       RightMargin     MMM
+       ParIndent       MM
+       ItemSep         0
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0
+       Align           Block
+       AlignPossible   Left, Right, Center, Block
+       LabelType       Centered
+       LabelString     "Abstract"
+       LabelBottomSep  0.5
        Font
-         Size                  Small
+         Size          Small
        EndFont
        LabelFont
-         Series                Bold
-         Size                  Large
+         Series        Bold
+         Size          Large
        EndFont
 End
 
 
 Style Keywords
-       Margin                  Dynamic
-       LatexType               Command
-       LatexName               keywords
-       Category                FrontMatter
-       InTitle                 1
-       Align                   Left
-       NextNoIndent            1
-       BottomSep               0.5
-       ParSkip                 0.4
-       Align                   Block
-       AlignPossible           Block
-       LabelSep                xx
-       LabelType               Static
-       LabelString             "Keywords:"
+       Margin          Dynamic
+       LatexType       Command
+       LatexName       keywords
+       Category        FrontMatter
+       InTitle         1
+       Align           Left
+       NextNoIndent    1
+       BottomSep       0.5
+       ParSkip         0.4
+       Align           Block
+       AlignPossible   Block
+       LabelSep        xx
+       LabelType       Static
+       LabelString     "Keywords:"
        LabelFont
-         Color                 Green
-         Series                Bold
+         Color         Green
+         Series        Bold
        EndFont         
 End
 
 
 Style PACS
-       CopyStyle               Keywords
-       LatexName               pacs
-       LabelString             "PACS numbers:"
+       CopyStyle       Keywords
+       LatexName       pacs
+       LabelString     "PACS numbers:"
 End
 
 Style "Preprint number"
-       CopyStyle               Keywords
-       LatexName               preprint
-       LabelString             "Preprint number:"
+       CopyStyle       Keywords
+       LatexName       preprint
+       LabelString     "Preprint number:"
 End
 
 
 Style Acknowledgments
-       CopyStyle               Abstract
-       LatexName               acknowledgments
-       Category                BackMatter
-       LabelType               Top_Environment
-       LabelString             "Acknowledgments"
+       CopyStyle       Abstract
+       LatexName       acknowledgments
+       Category        BackMatter
+       InTitle         0
+       LabelType       Above
+       LabelString     "Acknowledgments"
        Font
-         Size                  Normal
+         Size          Normal
        EndFont
        LabelFont
-         Series                Bold
-         Size                  Normal
+         Series        Bold
+         Size          Normal
        EndFont
 End
 
 
 InsetLayout "Flex:Online citation"
-       LyxType                 custom
-       LatexType               command
-       LatexName               onlinecite
-       LabelString             "Online citation"
+       LyxType         custom
+       LatexType       command
+       LatexName       onlinecite
+       LabelString     "Online citation"
        Font
-         Color                 foreground
-         Size                  Small
-         Family                Roman
-         Shape                 Up
-         Series                Medium
-         Misc                  No_Emph
-         Misc                  No_Noun
-         Misc                  No_Bar
+         Color         foreground
+         Size          Small
+         Family        Roman
+         Shape         Up
+         Series        Medium
+         Misc          No_Emph
+         Misc          No_Noun
+         Misc          No_Bar
        EndFont
        LabelFont
-         Color                 green
-         Size                  Small
+         Color         green
+         Size          Small
        EndFont
 End
 
 
 Style Bibliography
-       Margin                  First_Dynamic
-       LatexType               Bib_Environment
-       LatexName               thebibliography
-       Category                BackMatter
-       NextNoIndent            1
-       LeftMargin              MM
-       ParSkip                 0.4
-       ItemSep                 0
-       TopSep                  0.7
-       BottomSep               0.7
-       ParSep                  0.5
-       Align                   Block
-       AlignPossible           Block
-       LabelType               Bibliography
-       LabelString             "References"
-       LabelBottomSep          1.2
+       Margin          First_Dynamic
+       LatexType       Bib_Environment
+       LatexName       thebibliography
+       Category        BackMatter
+       NextNoIndent    1
+       LeftMargin      MM
+       ParSkip         0.4
+       ItemSep         0
+       TopSep          0.7
+       BottomSep       0.7
+       ParSep          0.5
+       Align           Block
+       AlignPossible   Block
+       LabelType       Bibliography
+       LabelString     "References"
+       LabelBottomSep  1.2
        LabelFont
-         Series                Bold
-         Size                  Larger
+         Series        Bold
+         Size          Larger
        EndFont
 End
+