From 38aacccedf6ed9a9c7b975a77d901995d3ec7af5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Wed, 22 Jun 2011 03:36:29 +0000 Subject: [PATCH] - 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 --- lib/layouts/theorems-without-preamble.inc | 30 ++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) 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 -- 2.39.2