]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-bytype.inc
apa6.layout: add dependencies
[lyx.git] / lib / layouts / theorems-bytype.inc
index 32f634cea29ce4f753b4dabd036bf2a620a2de4e..2f2a9547c37d22f1cd5b6c1a94bee8a033ddbb1b 100644 (file)
 # - Example
 # - Problem
 # - Exercise
+# - Solution
 # - Remark
 # - Claim
 # - Proof
 # - Case (by inclusion)
 
-Format 53
+Format 65
 
 Style Theorem
        Category              Reasoning
@@ -240,6 +241,25 @@ Style Exercise
 End
 
 
+Style Solution
+       CopyStyle             Definition
+       LatexName             sol
+       LabelString           "Solution \thesolution."
+       Preamble
+         \theoremstyle{definition}
+         \newtheorem{sol}{\protect\solutionname}
+       EndPreamble
+       Requires              amsthm
+       LangPreamble
+               \providecommand{\solutionname}{_(Solution)}
+       EndLangPreamble
+       BabelPreamble
+               \addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
+       EndBabelPreamble
+       LabelCounter          solution
+End
+
+
 Style Remark
        CopyStyle             Theorem
        LatexName             rem