]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/jasatex.layout
Fix bug #10273
[lyx.git] / lib / layouts / jasatex.layout
index b1821b5cfd1e06a5f72ab91cb7456d04b0a34677..6dfcf42d9b9f8f5f38d20d8ae9cdd5a6daf1fb0f 100644 (file)
-#% Do not delete the line below; configure depends on this\r
-#  \DeclareLaTeXClass[jasatex]{article (JASA)}\r
-# JASATeX textclass definition file.\r
-# Author: Uwe Stöhr (uwestoehr@web.de)\r
-\r
-Format 36\r
-\r
-Columns                 1\r
-Sides                   1\r
-SecNumDepth             3\r
-TocDepth                3\r
-DefaultStyle            Standard\r
-\r
-ClassOptions\r
-       FontSize                10|11|12\r
-end\r
-\r
-Preamble\r
-       \setcitestyle{numbers} % use the numbers citation style as required by jasatex\r
-EndPreamble\r
-\r
-\r
-# This is just to show how to declare the default font.\r
-# The defaults are exactly those shown here.\r
-DefaultFont\r
-       Family                  Roman\r
-       Series                  Medium\r
-       Shape                   Up\r
-       Size                    Normal\r
-       Color                   None\r
-EndFont\r
-\r
-\r
-Style Standard\r
-       Margin                  Static\r
-       LatexType               Paragraph\r
-       LatexName               dummy\r
-       ParIndent               MM\r
-       ParSkip                 0.4\r
-       Align                   Block\r
-       AlignPossible           Block, Left, Right, Center\r
-       LabelType               No_Label\r
-End\r
-\r
-\r
-Input stdcounters.inc\r
-Input stdfloats.inc\r
-Input stdlists.inc\r
-Input stdsections.inc\r
-Input stdstarsections.inc\r
-\r
-NoStyle Chapter\r
-NoCounter chapter\r
-NoStyle Chapter*\r
-\r
-Provides natbib 1\r
-\r
-Style Title\r
-       Margin                  Static\r
-       LatexType               Command\r
-       LatexName               title\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       ParSkip                 0.4\r
-       ItemSep                 0\r
-       TopSep                  0\r
-       BottomSep               1\r
-       ParSep                  1\r
-       Align                   Center\r
-       AlignPossible           Left, Right\r
-       LabelType               No_Label\r
-       Font\r
-         Size                  Largest\r
-       EndFont\r
-       HTMLTitle               true\r
-End\r
-\r
-\r
-Style Author\r
-       Margin                  Static\r
-       LatexType               Command\r
-       LatexName               author\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       LabelSep                xxx\r
-       ParSkip                 0.4\r
-       TopSep                  1.3\r
-       BottomSep               0.7\r
-       ParSep                  0.7\r
-       Align                   Center\r
-       AlignPossible           Center\r
-       LabelType               No_Label\r
-       Font\r
-         Size                  Large\r
-       EndFont\r
-End\r
-\r
-\r
-Style Affiliation\r
-       Margin                  Static\r
-       LatexType               Command\r
-       LatexName               affiliation\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       ParSkip                 0.4\r
-       Align                   Center\r
-       AlignPossible           Center\r
-       LabelType               No_Label\r
-       Font\r
-         Shape                 Italic\r
-       EndFont\r
-End\r
-\r
-\r
-Style "Alternative Affiliation"\r
-       CopyStyle               Affiliation\r
-       LatexType               Command\r
-       LatexName               altaffiliation\r
-       OptionalArgs            1\r
-End\r
-\r
-\r
-Style Homepage\r
-       CopyStyle               Affiliation\r
-       LatexName               homepage\r
-       Font\r
-         Shape                 Up\r
-       EndFont\r
-End\r
-\r
-\r
-Style Email\r
-       CopyStyle               Homepage\r
-       LatexName               email\r
-End\r
-\r
-\r
-Style Date\r
-       Margin                  Dynamic\r
-       LatexType               Command\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       LatexName               date\r
-       LabelSep                xxx\r
-       ParSkip                 0.4\r
-       TopSep                  0.9\r
-       BottomSep               0.5\r
-       ParSep                  1\r
-       Align                   Center\r
-       LabelType               No_Label\r
-       Font\r
-         Size                  Large\r
-       EndFont\r
-End\r
-\r
-\r
-Style Abstract\r
-       Margin                  Static\r
-       LatexType               Environment\r
-       LatexName               abstract\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       NextNoIndent            1\r
-       LeftMargin              MMM\r
-       RightMargin             MMM\r
-       ParIndent               MM\r
-       ItemSep                 0\r
-       TopSep                  0.7\r
-       BottomSep               0.7\r
-       ParSep                  0\r
-       Align                   Block\r
-       AlignPossible           Left, Right, Center, Block\r
-       LabelType               Centered_Top_Environment\r
-       LabelString             "Abstract"\r
-       LabelBottomSep          0.5\r
-       Font\r
-         Size                  Small\r
-       EndFont\r
-       LabelFont\r
-         Series                Bold\r
-         Size                  Large\r
-       EndFont\r
-End\r
-\r
-\r
-Style Keywords\r
-       Margin                  Dynamic\r
-       LatexType               Command\r
-       LatexName               keywords\r
-       Category                FrontMatter\r
-       InTitle                 1\r
-       Align                   Left\r
-       NextNoIndent            1\r
-       BottomSep               0.5\r
-       ParSkip                 0.4\r
-       Align                   Block\r
-       AlignPossible           Block\r
-       LabelSep                xx\r
-       LabelType               Static\r
-       LabelString             "Keywords:"\r
-       LabelFont\r
-         Color                 Green\r
-         Series                Bold\r
-       EndFont         \r
-End\r
-\r
-\r
-Style PACS\r
-       CopyStyle               Keywords\r
-       LatexName               pacs\r
-       LabelString             "PACS numbers:"\r
-End\r
-\r
-Style "Preprint number"\r
-       CopyStyle               Keywords\r
-       LatexName               preprint\r
-       LabelString             "Preprint number:"\r
-End\r
-\r
-\r
-Style Acknowledgments\r
-       CopyStyle               Abstract\r
-       LatexName               acknowledgments\r
-       Category                BackMatter\r
-       LabelType               Top_Environment\r
-       LabelString             "Acknowledgments"\r
-       Font\r
-         Size                  Normal\r
-       EndFont\r
-       LabelFont\r
-         Series                Bold\r
-         Size                  Normal\r
-       EndFont\r
-End\r
-\r
-\r
-Style Bibliography\r
-       Margin                  First_Dynamic\r
-       LatexType               Bib_Environment\r
-       LatexName               thebibliography\r
-       Category                BackMatter\r
-       NextNoIndent            1\r
-       LeftMargin              MM\r
-       ParSkip                 0.4\r
-       ItemSep                 0\r
-       TopSep                  0.7\r
-       BottomSep               0.7\r
-       ParSep                  0.5\r
-       Align                   Block\r
-       AlignPossible           Block\r
-       LabelType               Bibliography\r
-       LabelString             "References"\r
-       LabelBottomSep          1.2\r
-       LabelFont\r
-         Series                Bold\r
-         Size                  Larger\r
-       EndFont\r
-End\r
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[jasatex]{Journal of the Acoustical Society of America (JASA)}
+#  \DeclareCategory{Articles}
+# JASATeX textclass definition file.
+# Author: Uwe Stöhr (uwestoehr@web.de)
+
+Format 60
+
+Columns                        1
+Sides                  1
+SecNumDepth            3
+TocDepth               3
+DefaultStyle           Standard
+Provides natbib                1
+
+ClassOptions
+       FontSize        10|11|12
+end
+
+Preamble
+       \setcitestyle{numbers} % use the numbers citation style as required by jasatex
+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
+EndFont
+
+
+Style Standard
+       Category        MainText
+       Margin          Static
+       LatexType       Paragraph
+       LatexName       dummy
+       ParIndent       MM
+       ParSkip         0.4
+       Align           Block
+       AlignPossible   Block, Left, Right, Center
+       LabelType       No_Label
+End
+
+
+Input stdcounters.inc
+Input stdfloats.inc
+Input stdlists.inc
+Input stdsections.inc
+Input stdstarsections.inc
+
+NoStyle Chapter
+NoCounter chapter
+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
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "Short title that will appear in header line"
+         InsertCotext   1
+       EndArgument
+       LabelType       No_Label
+       Font
+         Size          Largest
+       EndFont
+       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
+       Font
+         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
+       Font
+         Shape         Italic
+       EndFont
+End
+
+
+Style "Alternative Affiliation"
+       CopyStyle       Affiliation
+       LatexType       Command
+       LatexName       altaffiliation
+       Argument 1
+         LabelString   "Affiliation Prefix"
+         Tooltip       "A prefix like 'Also at '"
+       EndArgument
+End
+
+
+Style Homepage
+       CopyStyle       Affiliation
+       LatexName       homepage
+       Font
+         Shape         Up
+       EndFont
+End
+
+
+Style 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
+       Font
+         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
+       LabelString     "Abstract"
+       LabelBottomSep  0.5
+       Font
+         Size          Small
+       EndFont
+       LabelFont
+         Series        Bold
+         Size          Large
+       EndFont
+End
+
+
+Style Keywords
+       Margin          Dynamic
+       LatexType       Command
+       LatexName       keywords
+       Category        FrontMatter
+       InTitle         1
+       NextNoIndent    1
+       BottomSep       0.5
+       ParSkip         0.4
+       Align           Block
+       AlignPossible   Block
+       LabelSep        xx
+       LabelType       Static
+       LabelString     "Keywords:"
+       LabelFont
+         Color         Green
+         Series        Bold
+       EndFont         
+End
+
+
+Style PACS
+       CopyStyle       Keywords
+       LatexName       pacs
+       LabelString     "PACS numbers:"
+End
+
+Style "Preprint number"
+       CopyStyle       Keywords
+       LatexName       preprint
+       LabelString     "Preprint number:"
+End
+
+
+Style Acknowledgments
+       CopyStyle       Abstract
+       LatexName       acknowledgments
+       Category        BackMatter
+       InTitle         0
+       LabelType       Above
+       LabelString     "Acknowledgments"
+       Font
+         Size          Normal
+       EndFont
+       LabelFont
+         Series        Bold
+         Size          Normal
+       EndFont
+End
+
+
+InsetLayout "Flex: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
+       EndFont
+       LabelFont
+         Color         green
+         Size          Small
+       EndFont
+End
+
+
+Style Bibliography
+       Margin          First_Dynamic
+       LatexType       Bib_Environment
+       LatexName       thebibliography
+       Category        BackMatter
+       NextNoIndent    1
+       ToggleIndent    Never
+       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
+       EndFont
+End
+