From d853aca254e1b63b16c8872df0e53dfb4bd4760d Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 20 Jan 2010 20:40:16 +0000 Subject: [PATCH] Pretty formats for standard counters. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33114 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/stdcounters.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/layouts/stdcounters.inc b/lib/layouts/stdcounters.inc index 0e21b82312..1dc6fddec1 100644 --- a/lib/layouts/stdcounters.inc +++ b/lib/layouts/stdcounters.inc @@ -6,30 +6,37 @@ Format 21 Counter part - LabelString "\Roman{part}" + LabelString "\Roman{part}" + PrettyFormat Part \Roman{part} End Counter chapter + PrettyFormat Chapter \arabic{chapter} End Counter section Within chapter + PrettyFormat Section \arabic{section} End Counter subsection Within section + PrettyFormat Section \arabic{subsection} End Counter subsubsection Within subsection + PrettyFormat Section \arabic{subsubsection} End Counter paragraph Within subsubsection + PrettyFormat Paragraph \arabic{paragraph} End Counter subparagraph Within paragraph + PrettyFormat Paragraph \arabic{subparagraph} End Counter enumi @@ -58,7 +65,9 @@ Counter listing End Counter equation + PrettyFormat Equation \arabic{equation} End Counter footnote + PrettyFormat Footnote \arabic{footnote} End