On 08/20/2009 01:59 PM, L Duperval wrote:
On Sat, 15 Aug 2009 21:27:12 +0000, L Duperval wrote:
Hi,
I would like to realize the following in Lyx. I have a book in Koma-
Script style. I'd like the book to look like this:
Section 1: My section
Chapter 1: First chapter
Tip 1: a tip
Tip 2: another tip
Tip 3: yet another tip
Chapter 2: Second chapter
Tip 4: yep, tip 4
Tip 5: 5 it is
Tip 6: and 6
I would like the TOC to look like the above. I would like the headers to
have the number of the chapter and the tip number, but without the
description. So something like this:
1 First chapter Tip 1
1 First chapter Tip 4
etc.
How would I go about doing this?
Thanks,
L
No suggestions? :(
Well, here are a few. It seems to me that what you're doing, more or
less, is using what would ordinarily be called "sections" but renaming
them as "tips". I'm not sure about this, because you list a section
before the first chapter. But if that is what you are doing, then you
will first need to redefine how sections appear in the TOC. I would do
this using the titlesec package, but the koma-script packages probably
have their own way of doing this. I don't know.
As far as the TOC goes, titlesec has a companion package, titletoc,
which may be what you need. Then again, it may be that, once you're
redefined what sections are called (tips, in your case), all will be well.
Finally, customization of headers generally means the use of the
fancyhdr package, for which LyX provides limited support. The examples
in the fancyhdr docs make it pretty easy to get what you want, though.
rh