]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-starred.inc
Use correct entry to remove an obsolete inset layout
[lyx.git] / lib / layouts / theorems-starred.inc
index bc537dddee7a00a4f4435fcd0be842f235e477eb..efe899e7f4503b62bd9afdd72b5bdfe5b36462d6 100644 (file)
 # - Example
 # - Problem
 # - Exercise
+# - Solution
 # - Remark
 # - Claim
 # - Proof
 
-Format 48
+Format 68
+
+OutlinerName thm "Definitions & Theorems"
 
 Style Theorem*
        Category              Reasoning
@@ -28,9 +31,13 @@ Style Theorem*
        LabelType             Static
        LabelString           "Theorem."
        NextNoIndent          1
+       ResetArgs             1
+       AddToToc              thm
+       IsTocCaption          1
        Argument 1
-               LabelString   "Alternative Theorem String|S"
-               Tooltip       "Alternative theorem string"
+               LabelString    "Additional Theorem Text"
+               Tooltip        "Additional text appended to the theorem header"
+               IsTocCaption      1
        EndArgument
        LabelSep              xx
        ParIndent             MMM
@@ -224,6 +231,23 @@ Style Exercise*
 End
 
 
+Style Solution*
+       CopyStyle             Definition*
+       LatexName             sol*
+       LabelString           "Solution."
+       Preamble
+         \theoremstyle{definition}
+         \newtheorem*{sol*}{\protect\solutionname}
+       EndPreamble
+       LangPreamble
+         \providecommand{\solutionname}{_(Solution)}
+       EndLangPreamble
+       BabelPreamble
+         \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
+       EndBabelPreamble
+End
+
+
 Style Remark*
        CopyStyle             Theorem*
        LatexName             rem*