From: Uwe Stöhr Date: Wed, 22 Jun 2011 03:36:29 +0000 (+0000) Subject: - theorems-without-preamble.inc: fix definition of style "prob"; whitespace X-Git-Tag: 2.1.0beta1~3000 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=38aacccedf6ed9a9c7b975a77d901995d3ec7af5;p=features.git - theorems-without-preamble.inc: fix definition of style "prob"; whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39185 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/theorems-without-preamble.inc b/lib/layouts/theorems-without-preamble.inc index 109519fe7b..4be9bec629 100644 --- a/lib/layouts/theorems-without-preamble.inc +++ b/lib/layouts/theorems-without-preamble.inc @@ -14,6 +14,7 @@ # - Definition # - Example # - Problem +# - Prob # - Solution # - Exercise # - Remark @@ -22,7 +23,6 @@ # - Property # - Question # - Note -# - Prob Format 35 @@ -236,6 +236,17 @@ Style Problem End +Counter prob + Within chapter +End +Style Prob + CopyStyle Problem + LabelCounter prob + LatexName prob + LabelString "\theprob" +End + + Counter solution End Style Solution @@ -287,10 +298,10 @@ Style Remark End -Style Claim - CopyStyle Remark - LatexName claim - LabelString "Claim " +Style Claim + CopyStyle Remark + LatexName claim + LabelString "Claim" LangPreamble \providecommand{\claimname}{_(Claim)} EndLangPreamble @@ -367,12 +378,3 @@ Style Note EndBabelPreamble End - -Counter prob -End -Style Prob - CopyStyle Claim - LabelCounter prob - LatexName prob - LabelString "\theprob" -End