]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svmult.layout
- theorems-without-preamble.inc: new file to provide theorem environments without...
[lyx.git] / lib / layouts / svmult.layout
index d79768329ac2a0f6fc9d147149a39977805749fd..c0e479d5b7d504a174846051348febc6cc384e79 100644 (file)
 #% Do not delete the line below; configure depends on this
-#      \DeclareLaTeXClass[svmult]{book (Springer svmult)}
-# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#      \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)}
+#  Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#          adapted: Marcus Kriele <mkriele@mac.com> (April 2011)
 #
+#  Supports: SVMULT DOCUMENT CLASS -- version 5.4 (25-Jun-07)
 #  Class and style files and templates are found at:
-#       ftp://ftp.springer.de/pub/tex/latex/svmultgl/
+#       http://www.springer.com/authors
 #
+Format 35
 
-Format 19
-Input svjour.inc
+
+Input svcommon.inc
 
 ClassOptions
        FontSize         10
 End
 
 NoStyle Acknowledgements
-NoStyle Date
-NoStyle Dedication
-NoStyle Headnote
-NoStyle Mail
-NoStyle Offprints
+#NoStyle Acknowledgement
 
 Counter svmultlsti
        LabelString     "Contributor \Roman{svmultlsti}:"
 End
 
 # Additional headings
+
+Style MiniTOC
+       CopyStyle       Running_Title
+       LatexType       Command
+       LatexName       svmulttoc
+       LeftMargin      "TOC depth (provide a number):xxx"
+       LabelString     "TOC depth (provide a number):"
+       Preamble
+           \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
+       EndPreamble
+End
+
+
 Style Title*
        CopyStyle       Title
        LatexName       title*
+       LabelString     "Title*: "
+       LabelSep                "xxx"
+       LabelType       Static
+       Margin          First_Dynamic
+       HTMLTitle             true
+       LabelFont
+       Color   Blue
+       EndFont
 End
 
-Style TOC_Title
-       CopyStyle       Running_LaTeX_Title
-       LatexName       toctitle
-       LeftMargin      "TOC title:xxx"
-       LabelString     "TOC title:"
-End
 
-Style TOC_Author
-       CopyStyle       Running_LaTeX_Title
-       LatexName       tocauthor
-       LeftMargin      "TOC Author:xxx"
-       LabelString     "TOC Author:"
+Style Title
+      TopSep           2
+       LabelString           "Chapter \thechapter"
+       LabelType             Counter
+       LabelCounter          chapter
+      TocLevel 1
+      InTitle 0
 End
 
-Style Institute
-       LatexType       Command
-       InTitle         1
-       LatexName       institute
-       Margin          Static
-       LeftMargin      "Institute and e-mail:xxx"
-       LabelSep        xxx
-       LabelType       Static
-       LabelString     "Institute and e-mail: "
-       LabelFont
-         Shape         Italic
-       EndFont
-       Requires        url
+
+Style Contributors
+      CopyStyle                Foreword
+      LabelString      "List of Contributors"
+      LatexName                contributors
 End
 
-Style MiniTOC
-       CopyStyle       Running_LaTeX_Title
-       LatexType       Command
-       LatexName       svmulttoc
-       LeftMargin      "TOC depth (provide a number):xxx"
-       LabelString     "TOC depth (provide a number):"
-       Preamble
-           \newcommand{\svmulttoc}[1]{\setcounter{minitocdepth}{#1}\dominitoc}
-       EndPreamble
+Style List_of_Abbreviations_&_Symbols_[Deprecated]
+       InTitle         1
+       CopyStyle       Description
+       LatexName       abbrsymblist
 End
 
 Style List_of_Abbreviations_&_Symbols
        InTitle         1
        CopyStyle       Description
        LatexName       abbrsymblist
+       ObsoletedBy      List_of_Abbreviations_&_Symbols_[Deprecated]
 End
 
-# Additional paragraphs
-Style Petit
-       CopyStyle       Standard
-       Category        MainText
-       LatexType       Environment
-       LatexName       petit
-       LeftMargin      MMM
-       RightMargin     MMM
+Style Author
        Font
-         Size          Small
-       FontEnd
+         Series        Bold
+         Family        Sans
+         Size          Normal
+         Shape         Up
+       EndFont
 End
 
-# Additional math environments
-Style Case
-       CopyStyle       Claim
-       LatexName       case
-       LabelString     "Case #."
-End
 
-Style Proof(QED)
-       CopyStyle       Proof
-       LatexName       svmultproof
-       EndLabelType    Box
-       Preamble
-         \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
-       EndPreamble
+Counter  svmultlsti
+       LabelString              "Contributor \Roman{svmultlsti}"
+       Within                   chapter
 End
 
-Style Proof(smartQED)
-       CopyStyle       Proof
-       LatexName       svmultproof2
-       EndLabelType    Filled_Box
-       Preamble
-         \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
-       EndPreamble
-End
-
-# Styles for editors
-Style Preface
-       CopyStyle       Title
-       Category        "For editors"
-       LatexName       svmultpreface
-       KeepEmpty       1
-       OptionalArgs    1
-       InTitle         0
-       Margin          Static
-       LeftMargin      "PPrreeffaaccee:xxx"
-       LabelType       Static
-       LabelString     "Preface:"
-       LabelSep        xxx
-       Align           Left
-       Preamble
-         \newcommand{\svmultpreface}[1]{\ifthenelse{\equal{#1}{}}{\preface}{\preface[#1]}}
-       EndPreamble
-       Requires        ifthen
-End
 
 Style List_of_Contributors
        Category        "For editors"
@@ -157,131 +119,108 @@ Style List_of_Contributors
        Align           Block
        AlignPossible   Block, Left
        Preamble
+         \newcounter{svmultlsti}%
          \newenvironment{svmultlstcnt}{%
-           \let\svmultitem\item%
+           \setcounter{svmultlsti}{0}\let\svmultitem\item%
            \renewcommand{\item}{%
              \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
              \stepcounter{svmultlsti}}%
-           \newcounter{svmultlsti}\begin{thecontriblist}}{%
-         \end{thecontriblist}\let\item\svmultitem}
+           \setcounter{svmultlsti}{0}\begin{thecontriblist}}{%
+         \end{thecontriblist}\let\item\svmultitem%
+         \setcounter{svmultlsti}{0}}
        EndPreamble
        Requires        ifthen
 End
 
-Style Front_Matter
-       Category        "For editors"
-       LatexType       Environment
-       LatexName       frontmatter
-       KeepEmpty       1
-       OptionalArgs    0
-       Margin          First_Dynamic
-       NextNoIndent    1
-       ParSkip         0
-       TopSep          2.5
-       BottomSep       0.5
-       ParSep          0
-       Align           Center
-       LabelType       Static
-       LabelBottomSep  0
-       LeftMargin      M
-       LabelString     "--- Front Matter ---"
+Style Problem
+      ObsoletedBy      Problem_(theorem-like)
+End
+
+Style Solution
+      ObsoletedBy      Solution_(theorem-like)
+End
+
+InsetLayout Flex:Inst
+       Decoration      Classic
+       LabelString     "Institute # [deprecated]"
+       LatexType       Command
+       LatexName       inst
+       LyxType         custom
        Font
-         Family        Sans
-         Series        Bold
-         Size          Largest
-         Color         Blue
+         Size          Small
+         Color         Red
        EndFont
 End
 
-Style Main_Matter
-       CopyStyle       Front_Matter
-       Category        "For editors"
-       LatexName       mainmatter
-       LabelString     "--- Main Matter ---"
+InsetLayout            Flex:at_Address
+       CopyStyle        Flex:and
+       LatexName       at
+       LabelString     "at address"
 End
 
-Style Back_Matter
-       CopyStyle       Front_Matter
-       Category        "For editors"
-       LatexName       backmatter
-       LabelString     "--- Back Matter ---"
-End
 
 Style Part
-       Category        "For editors"
-       Margin          Dynamic
-       LabelString     "Part \thepart"
-       LabelType       Counter
-       TocLevel        0
-       LabelCounter    part
-       LatexType       Command
-       LatexName       part
-       NeedProtect     1
-       NextNoIndent    1
-       Labelsep        xxx
-       ParSkip         0.4
-       TopSep          4
-       BottomSep       4
-       ParSep          0.8
-       Align           Center
-       Alignpossible   Center
-       Font
-         Series        Bold
-         Size          Huge
-       EndFont
+      Category         "For editors"
 End
 
-Style Part*
-       CopyStyle       Part
-       Category        "For editors"
-       Margin          Static
-       LatexName       part*
-       LabelType       No_Label
-       LabelCounter    ""
+Style PartBacktext
+      Category         "For editors"
 End
 
 Style Chapter
-       Margin          Static
-       Category        "For editors"
-       LabelString     "Chapter \thechapter"
-       LabelStringAppendix  "Appendix \thechapter"
-       LabelType       Counter
-       LabelCounter    chapter
-       TocLevel        0
-       LatexType       Command
-       LatexName       chapter
-       NeedProtect     1
-       NextNoIndent    1
-       ParSkip         0.4
-       TopSep          4
-       BottomSep       0.8
-       ParSep          0.8
-       Align           Left
-       OptionalArgs    1
-       Font
-         Series        Bold
-         Size          Huge
-       EndFont
+      Category         "For editors"
 End
 
-Style Chapter*
-       CopyStyle       Chapter
-       Category        "For editors"
-       Margin          Static
-       LatexName       chapter*
-       LabelType       No_Label
-       LabelCounter    ""
-       OptionalArgs    0
+Style ChapAuthor
+      Category         "For editors"
 End
 
-InsetLayout Inst
-       Decoration      Classic
-       LabelString     "Institute #"
-       LatexType       Command
-       LatexName       inst
-       LyxType         custom
-       Font
-         Size          Small
-         Color         Green
-       EndFont
+Style ChapSubtitle
+      Category         "For editors"
+End
+
+Style extrachap
+      Category         "For editors"
+End
+
+Style Extrachap
+      Category         "For editors"
+End
+
+Style Dedication
+      Category         "For editors"
+End
+
+Style Foreword
+      Category         "For editors"
 End
+
+Style Preface
+      Category         "For editors"
+End
+
+Style Acknowledgement
+      Category         "For editors"
+End
+
+Style Contributors
+      Category         "For editors"
+End
+
+Style Motto
+      CopyStyle                ChapMotto
+      Category         "FrontMatter"
+End
+
+NoStyle ChapMotto
+
+Style Abstract
+      Category         "FrontMatter"
+End
+Style Abstract*
+      Category         "FrontMatter"
+End
+Style Keywords
+      Category         "FrontMatter"
+End
+