]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svcommon.inc
update argument labels for Springer classes
[lyx.git] / lib / layouts / svcommon.inc
index 914dd3d6bbf33a57c320d29280ac12ef20b80af2..30f465035d8dcc3c6c8081c9cfa0877484c42824 100644 (file)
@@ -19,7 +19,7 @@
 # see http://www.springer.com/authors for class files and further instructions
 
 
-Format 36
+Format 41
 PageStyle              Plain
 
 
@@ -69,7 +69,7 @@ Style Front_Matter
        LatexType       Command
        LatexName       frontmatter
        KeepEmpty       1
-       OptionalArgs    0
+       ResetArgs       1
        Margin          First_Dynamic
        NextNoIndent    1
        ParSkip         0
@@ -135,7 +135,11 @@ Style PartBacktext
          Shape         Up
          Size          normal
        EndFont
-       RequiredArgs    1
+       Argument 1
+         Mandatory     1
+         LabelString   "Part Title"
+         Tooltip       "Title of this part"
+       EndArgument
        Preamble
          \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
          \part{#1}}{\end{partbacktext}}
@@ -510,7 +514,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
@@ -586,7 +593,10 @@ Style Bibliography
 End
 
 Style Description
-       OptionalArgs    1
+       Argument 1
+         LabelString   "Longest Description Label"
+         Tooltip       "Longest description label"
+       EndArgument
        LabelFont
          Series        Medium
        EndFont
@@ -622,6 +632,36 @@ Style Svgraybox
        EndFont
 End
 
+# overwrite the label for the optional argument defined in
+# theorems-without-preamble.inc
+Style Theorem
+       Argument 1
+         LabelString   "Name/Title"
+         Tooltip       "Name/Title"
+       EndArgument
+End
+
+Style Definition
+       Argument 1
+         LabelString   "Name/Title"
+         Tooltip       "Name/Title"
+       EndArgument
+End
+
+Style Problem
+       Argument 1
+         LabelString   "Name/Title"
+         Tooltip       "Name/Title"
+       EndArgument
+End
+
+Style Solution
+       Argument 1
+         LabelString   "Name/Title"
+         Tooltip       "Name/Title"
+       EndArgument
+End
+
 Style Proof
        Category        Theorem
        LatexType       Environment
@@ -637,7 +677,7 @@ Style Proof
          Shape         Italic
        EndFont
        LangPreamble
-               \providecommand{\proofname}{_(Proof)}
+         \providecommand{\proofname}{_(Proof)}
        EndLangPreamble
        BabelPreamble
          \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
@@ -649,7 +689,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
 
@@ -658,7 +698,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