]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svmult.layout
Update description to reflect arg improvements
[lyx.git] / lib / layouts / svmult.layout
index 08c4bf8b128e87730ad31805638ba183e9abec43..ce4dd44737abbf1515c624c66990c1a0921becc8 100644 (file)
 #% Do not delete the line below; configure depends on this
-#      \DeclareLaTeXClass[svmult,natbib.sty]{book (Springer svmult)}
-# Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#  \DeclareLaTeXClass[svmult,natbib.sty]{Springer SV Mult}
+#  \DeclareCategory{Books}
+#  Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#          adapted: Marcus Kriele <mkriele@mac.com> and Uwe Stöhr (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://wiki.lyx.org/Examples/Springer
 #
+Format 54
 
-Format 33
-Input svjour.inc
+Input svcommon.inc
 
 ClassOptions
-       FontSize         10
+       FontSize        ""
 End
 
 NoStyle Acknowledgements
-NoStyle Date
-NoStyle Dedication
-NoStyle Headnote
-NoStyle Mail
-NoStyle Offprints
-
-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*
-       HTMLTitle             true
+       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:"
+Style Title
+       CopyStyle       Chapter
+       Category        FrontMatter
+       LatexName       title
+       TopSep          1
+       TocLevel        1
+       InTitle         0
+       Align           Left
+       AlignPossible   Block, Center, Left, Right
+       LabelFont
+         Size          Largest
+         Family        Sans
+       EndFont
+       TextFont
+         Family        Sans
+         Series        Bold
+       EndFont
 End
 
-Style TOC_Author
-       CopyStyle       Running_LaTeX_Title
-       LatexName       tocauthor
-       LeftMargin      "TOC Author:xxx"
-       LabelString     "TOC Author:"
+Style Contributors
+       CopyStyle       Foreword
+       LabelString     "List of Contributors"
+       LatexName       contributors
 End
 
-Style Institute
-       LatexType       Command
-       InTitle         1
-       LatexName       institute
-       Margin          Static
-       LeftMargin      "Institute and e-mail:xxx"
-       LabelSep        xxx
+Style Contributor_List
+       LatexType       Environment
+       LatexName       thecontriblist
+       TopSep          0.7
+       BottomSep       0.4
+End
+
+Style Author
+       Margin          First_Dynamic
        LabelType       Static
-       LabelString     "Institute and e-mail: "
+       LabelSep        x
+       LabelString     "Author:"
+       Font
+         Series        Medium
+         Family        Roman
+         Size          Normal
+         Shape         Up
+       EndFont
        LabelFont
-         Shape         Italic
+         Family        Typewriter
+         Color         Blue
        EndFont
-       Requires        url
 End
 
-Style MiniTOC
-       CopyStyle       Running_LaTeX_Title
+Style Abstract
        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
+       LatexName       abstract
+       Category        FrontMatter
+       LabelString     "Abstract"
 End
 
-Style List_of_Abbreviations_&_Symbols
-       InTitle         1
-       CopyStyle       Description
-       LatexName       abbrsymblist
+Style Part
+       Category        "For editors"
 End
 
-# Additional paragraphs
-Style Petit
-       CopyStyle       Standard
-       Category        MainText
-       LatexType       Environment
-       LatexName       petit
-       LeftMargin      MMM
-       RightMargin     MMM
-       Font
-         Size          Small
-       EndFont
+Style PartBacktext
+       Category        "For editors"
 End
 
-# Additional math environments
-Style Case
-       CopyStyle       Claim
-       LatexName       case
-       LabelString     "Case #."
+Style Chapter
+       Category        "For editors"
 End
 
-Style Proof(QED)
-       CopyStyle       Proof
-       LatexName       svmultproof
-       EndLabelType    Box
-       Preamble
-         \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
-       EndPreamble
+Style Running_Chapter
+       Category        "For editors"
 End
 
-Style Proof(smartQED)
-       CopyStyle       Proof
-       LatexName       svmultproof2
-       EndLabelType    Filled_Box
-       Preamble
-         \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
-       EndPreamble
+Style ChapAuthor
+       Category        "For editors"
 End
 
-# Styles for editors
-Style Preface
-       CopyStyle       Title
+Style ChapSubtitle
        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"
-       Margin          First_Dynamic
-       LatexType       Item_Environment
-       LatexName       svmultlstcnt
-       NextNoIndent    1
-       InTitle         0
-       LabelType       Counter
-       LabelCounter    svmultlsti
-       LabelSep        xxx
-       LabelFont
-         Series        Bold
-         Shape         Italic
-         Color         Blue
-       EndFont
-       ParSkip         0.0
-       ItemSep         0.2
-       TopSep          0.7
-       BottomSep       0.7
-       ParSep          0.3
-       Align           Block
-       AlignPossible   Block, Left
-       Preamble
-         \newenvironment{svmultlstcnt}{%
-           \let\svmultitem\item%
-           \renewcommand{\item}{%
-             \ifthenelse{\value{svmultlsti} = 0}{}{\and}%
-             \stepcounter{svmultlsti}}%
-           \newcounter{svmultlsti}\begin{thecontriblist}}{%
-         \end{thecontriblist}\let\item\svmultitem}
-       EndPreamble
-       Requires        ifthen
-End
-
-Style Front_Matter
+Style extrachap
        Category        "For editors"
-       LatexType       command
-       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 ---"
-       Font
-         Family        Sans
-         Series        Bold
-         Size          Largest
-         Color         Blue
-       EndFont
 End
 
-Style Main_Matter
-       CopyStyle       Front_Matter
+Style Extrachap
        Category        "For editors"
-       LatexName       mainmatter
-       LabelString     "--- Main Matter ---"
 End
 
-Style Back_Matter
-       CopyStyle       Front_Matter
+Style Dedication
        Category        "For editors"
-       LatexName       backmatter
-       LabelString     "--- Back Matter ---"
 End
 
-Style Part
+Style Foreword
        Category        "For editors"
 End
 
-Style Part*
+Style Preface
        Category        "For editors"
 End
 
-Style Chapter
+Style Acknowledgement
        Category        "For editors"
-  Align   Left
 End
 
-Style Chapter*
+Style Contributors
        Category        "For editors"
-  Align   Left
 End
 
-InsetLayout Inst
-       Decoration      Classic
-       LabelString     "Institute #"
-       LatexType       Command
-       LatexName       inst
-       LyxType         custom
-       Font
-         Size          Small
-         Color         Green
-       EndFont
+Style ChapMotto
+       Category        "For editors"
 End
+