[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @ChapterHeadingFormat
From: |
Mark Summerfield |
Subject: |
Re: @ChapterHeadingFormat |
Date: |
Wed, 1 Dec 2010 11:21:38 +0000 |
On Tue, 30 Nov 2010 09:09:59 +0000
Mark Summerfield <address@hidden> wrote:
> Hi,
>
> I want to set the @ChapterHeadingFormat to produce a 2 line high
> chapter number (just the number, not the word 'Chapter') and then the
> title.
>
> But the 'number' variable always contains the word 'Chapter'.
>
> I know I could get rid of the word by setting @ChapterWord{} but I
> want to use the word 'Chapter' elsewhere (e.g., contents & page
> headers).
>
> Is it possible? And if so, how?
I solved it with a trick.
I set @ChapterWord{/2.5f} to make room and then at the start of each
chapter I use @Place{} to put the chapter heading just as I want it.
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Rapid GUI Programming with Python and Qt" - ISBN 0132354187
http://www.qtrac.eu/pyqtbook.html