killermike wrote:
Chapter header
I'm having difficulties suppressing the headers at the beginning of the book. The first Chapter is a starred chapter (Introduction) and as a result, the "contents" header leaks into it. This means that header for pages in my introduction says "contents". I have tried using \thispagestyle{empty} in various places but it doesn't seem to surpress the "contents" header. Is there a way to assert a starred chapter heading as the current chapter in the headings? I have used some ERT to add the introduction to the contents. Another possibility would be to find a way to suppress the chapter header in the contents. I don't mind if headings are switched off until the first numbered chapter.

Exactly what you will want, I don't know. But try in ERT, on the first line of the introduction:
    \markboth{Introduction}{Introduction}.
Note that you'll have to put font changes into that, too, if you want them to show up in the output.

By the way, you can let LyX do the font stuff for you. (This trick should be better known.) Do this:
   [ERT: \markboth{]Now Type In LyX[ERT: }{]More Stuff in LyX[ERT: }]
And you can style "Now Type In LyX" any way you want, using bold, italic, whatever.

Text on part pages
Is there a way of putting text on part pages? I've seen some references to doing this but I've not been able to find a solution that can be applied to LyX. Adding an imported image would be even better.

Look at the titlesec package. You can do almost anything with it.

Margin titles
Is it possible to have margin titles that hang slightly into the outside margins of the page?

Yes. You can use fancy headers for this, and you can customize them endlessly. See section 12 of fancyhdr.dvi.

Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? As it stands, the chapter title starts about two inches from the top of the page. I suspect that a solution involves the sectsty package but I can't work out how to do it.

Yes, this can be done. Probably titlesec would do it, but I'm not sure. You may have to dig into your LaTeX class and redefine whatever is being used to create the heading. In book.cls, it is here:

[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 {\parindent \z@ \raggedright \normalfont
   \ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED]
     [EMAIL PROTECTED]
       \huge\bfseries [EMAIL PROTECTED] \thechapter
       \par\nobreak
       \vskip 20\p@
     \fi
   \fi
   [EMAIL PROTECTED]
   \Huge \bfseries #1\par\nobreak
   \vskip 40\p@
 }}

If you were using book.cls, you could just copy this into your preamble and remove the first \vspace line, or change it. (You would need to put this between \makeatletter and \makeatother commands, as well.)


rh

Reply via email to