# - Example
# - Problem
# - Exercise
+# - Solution
# - Remark
# - Claim
# - Case (by inclusion)
# We need separate counters for each theorem-like style.
-Format 48
+Format 58
Counter theorem
End
Counter corollary
End
Counter exercise
End
+Counter solution
+End
Counter remark
End
Counter claim
LatexType Environment
LatexName thm
NextNoIndent 1
+ ResetArgs 1
Argument 1
- LabelString "Alternative Theorem String|S"
- Tooltip "Alternative theorem string"
+ LabelString "Additional Theorem Text"
+ Tooltip "Additional text appended to the theorem header"
EndArgument
LabelSep xx
ParIndent MMM
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