X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-without-preamble.inc;h=ad7580bb4a0846cdd8203869f1891fc3ee18fe5b;hb=bab184e49e4420ad5277eacd45f2447727f55bbd;hp=347d2eabb7476d1037b93c73fcc8f7e5ce744ec5;hpb=c9a22552442e9816b5ecdd300c540a5236674253;p=lyx.git diff --git a/lib/layouts/theorems-without-preamble.inc b/lib/layouts/theorems-without-preamble.inc index 347d2eabb7..ad7580bb4a 100644 --- a/lib/layouts/theorems-without-preamble.inc +++ b/lib/layouts/theorems-without-preamble.inc @@ -1,5 +1,5 @@ # This file provides theorem environments without adding preamble code or -# requiring packages. THis is useful for classes that define their own theorems +# requiring packages. This is useful for classes that define their own theorems # like svjour3 or ijmpc. # Author: Uwe Stöhr @@ -26,20 +26,24 @@ # - Note -Format 41 +Format 80 +OutlinerName thm "Definitions & Theorems" Counter theorem End Style Theorem - Category Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName theorem NextNoIndent 1 + AddToToc thm + IsTocCaption 1 Argument 1 - LabelString "Alternative Theorem String" - Tooltip "Alternative theorem string" + LabelString "Name/Title" + Tooltip "Alternative optional name or title" + IsTocCaption 1 EndArgument LabelSep xx ParIndent MMM @@ -50,7 +54,7 @@ Style Theorem ParSep 0.3 Align Block AlignPossible Left - LabelType Counter + LabelType Static LabelCounter theorem LabelString "Theorem \thetheorem." Font @@ -241,7 +245,7 @@ Style Prob LatexType Environment LatexName prob Margin First_Dynamic - LabelType Counter + LabelType Static LabelCounter prob LabelString "\theprob." RefPrefix pro @@ -259,6 +263,8 @@ Style Prob LabelFont Series Bold EndFont + AddToToc thm + IsTocCaption true End @@ -288,6 +294,7 @@ Style Sol Mandatory 1 LabelString "Label of Problem" Tooltip "Label of the corresponding problem" + IsTocCaption true EndArgument End