]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svcommon.inc
layout files: add the new AllowedPlacement
[lyx.git] / lib / layouts / svcommon.inc
index 7b176a588be7098bc4b2c76a07834140a00012f2..76b5685afaac6739894fdef225f18674178261e2 100644 (file)
 # see http://www.springer.com/authors for class files and further instructions
 
 
-Format 35
+Format 54
 PageStyle              Plain
 
 
 Style Standard
+       Category        MainText
        Margin          Static
        LatexType       Paragraph
        LatexName       dummy
@@ -69,7 +70,7 @@ Style Front_Matter
        LatexType       Command
        LatexName       frontmatter
        KeepEmpty       1
-       OptionalArgs    0
+       ResetArgs       1
        Margin          First_Dynamic
        NextNoIndent    1
        ParSkip         0
@@ -105,18 +106,18 @@ Style Back_Matter
 End
 
 Style Part
-      Margin           Static
-      Align            Right
+       Margin          Static
+       Align           Right
 End
 
 ## The following is a variant of style Part.  It allows to place some
 ## text on the following page which would otherwise be blank.  
 
 Style PartBacktext
-       Category        Section
+       Category        Sectioning
        Margin          First_Dynamic
        LabelString     "Part \thepart"
-       LabelType       Counter
+       LabelType       Static
        TocLevel        0
        LabelCounter    part
        Labelsep        xx
@@ -129,13 +130,17 @@ Style PartBacktext
        LabelFont
          Series        Bold
          Size          Huge
-       EndLabelFont
+       EndFont
        TextFont
          Series        Medium
          Shape         Up
          Size          normal
-       EndTextFont
-       RequiredArgs    1
+       EndFont
+       Argument 1
+         Mandatory     1
+         LabelString   "Part Title"
+         Tooltip       "Title of this part"
+       EndArgument
        Preamble
          \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
          \part{#1}}{\end{partbacktext}}
@@ -148,9 +153,9 @@ Style Chapter
 End
 
 Style ChapSubtitle
-      LatexName                chapsubtitle
-      LatexType                Command
-      Category         Section
+       LatexName       chapsubtitle
+       LatexType       Command
+       Category        Sectioning
        TopSep          0.7
        Font
          Series        Bold
@@ -161,30 +166,30 @@ Style ChapSubtitle
 End
 
 Style ChapAuthor
-      LatexName                chapauthor
-      LatexType                Command
-      Category         Section
-      TopSep           0.7
-      Font
+       LatexName       chapauthor
+       LatexType       Command
+       Category        Sectioning
+       TopSep          0.7
+       Font
          Series        Bold
          Shape         Up
          Size          normal
-      EndFont
+       EndFont
 End
 
 Style ChapMotto
-      LatexName                motto
-      LatexType                Command
-      Category         Section
-      TopSep           0.7
-      BottomSep                0.7
-      Align            Left
-      LeftMargin       MMMMMMMMMMMM
-      Font
+       LatexName       motto
+       LatexType       Command
+       Category        Sectioning
+       TopSep          0.7
+       BottomSep       0.7
+       Align           Left
+       LeftMargin      MMMMMMMMMMMM
+       Font
          Series        Medium
          Shape         Italic
          Size          normal
-      EndFont
+       EndFont
 End
 
 Style Section
@@ -349,13 +354,13 @@ Style Institute
        LatexType       Command
        InTitle         1
        LatexName       institute
-       Margin          Static
-       LeftMargin      "Author data:xxx"
-       LabelSep        xxx
+       Margin          First_Dynamic
+       LabelSep        x
        LabelType       Static
-       LabelString     "Author data: "
+       LabelString     "Author data:"
        LabelFont
-         Shape         Italic
+         Family        Typewriter
+         Color         Blue
        EndFont
        Requires        url
        Align           Left
@@ -374,12 +379,12 @@ Style TOC_Title
        Align           Left
        LatexType       Command
        LatexName       toctitle
-       LeftMargin      xxx
+       LeftMargin      xx
        TopSep          0.4
        BottomSep       0.4
        LabelType       Static
        LabelSep        x
-       LabelString     "TOC Title:"
+       LabelString     "TOC title:"
        LabelFont
          Family        Typewriter
          Color         Blue
@@ -389,36 +394,34 @@ End
 Style TOC_Author
        CopyStyle       TOC_Title
        LatexName       tocauthor
-       LabelString     "TOC Author:"
+       LabelString     "TOC author:"
 End
 
 Style Running_Title
-       CopyStyle       TOC_Title
+       CopyStyle       TOC_Title
        LatexName       titlerunning
        InTitle         1
-       LabelString     "Running Title:"
+       LabelString     "Running title:"
 End
 
 Style Running_Author
        CopyStyle       Running_Title
        LatexName       authorrunning
-       LabelString     "Running Author:"
+       LabelString     "Running author:"
 End
 
 Style Running_Chapter
        CopyStyle       Running_Title
-       Category        Section
+       Category        Sectioning
        InTitle         0
        LatexName       chaptermark
-       LeftMargin      "Running Chapter:xxx"
-       LabelString     "Running Chapter:"
+       LabelString     "Running chapter:"
 End
 
 Style Running_Section
-      CopyStyle                Running_Chapter
-      LatexName                sectionmark
-      LeftMargin       "Running Section:xxx"
-      LabelString      "Running Section:"
+       CopyStyle       Running_Chapter
+       LatexName       sectionmark
+       LabelString     "Running section:"
 End
 
 Style Abstract
@@ -499,10 +502,10 @@ End
 Style Foreword
        Margin          First_Dynamic
        Category        FrontMatter
-       LabelType       Static
-       LabelString     "Foreword"
+       LabelType       Static
+       LabelString     "Foreword"
        KeepEmpty       1
-       LatexName       foreword
+       LatexName       foreword
        TocLevel        0
        LatexType       Command
        NeedProtect     1
@@ -512,7 +515,10 @@ Style Foreword
        BottomSep       0.8
        ParSep          0.8
        Align           Block
-       OptionalArgs    1
+       Argument 1
+         LabelString   "Alternative Name"
+         Tooltip       "Alternative name"
+       EndArgument
        Font
          Series        Bold
          Size          Huge
@@ -522,10 +528,8 @@ End
 
 Style Preface
        CopyStyle       Foreword
-       Category        "For Authors"
+       Category        FrontMatter
        LatexName       preface
-       KeepEmpty       1
-       OptionalArgs    0
        InTitle         0
        Margin          First_Dynamic
        TopSep          4
@@ -573,6 +577,7 @@ Style Bibliography
        LatexName       thebibliography
        Category        BackMatter
        NextNoIndent    1
+       ToggleIndent    Never
        LeftMargin      MM
        ParSkip         0.4
        ItemSep         0
@@ -590,7 +595,10 @@ Style Bibliography
 End
 
 Style Description
-       OptionalArgs    1
+       Argument 1
+         LabelString   "Longest Description Label"
+         Tooltip       "Longest description label"
+       EndArgument
        LabelFont
          Series        Medium
        EndFont
@@ -627,7 +635,7 @@ Style Svgraybox
 End
 
 Style Proof
-       Category        Theorem
+       Category        Reasoning
        LatexType       Environment
        LatexName       proof
        Margin          First_Dynamic
@@ -641,7 +649,7 @@ Style Proof
          Shape         Italic
        EndFont
        LangPreamble
-               \providecommand{\proofname}{_(Proof)}
+         \providecommand{\proofname}{_(Proof)}
        EndLangPreamble
        BabelPreamble
          \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
@@ -653,7 +661,7 @@ Style Proof(QED)
        LatexName       svmultproof
        EndLabelType    Box
        Preamble
-               \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
+         \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}}
        EndPreamble
 End
 
@@ -662,7 +670,7 @@ Style Proof(smartQED)
        LatexName       svmultproof2
        EndLabelType    Box
        Preamble
-               \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
+         \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}}
        EndPreamble
 End
 
@@ -686,5 +694,6 @@ InsetLayout Flex:Email
          Color         urltext
          Size          Small
        EndFont
+       ResetsFont true
 End