[texhax] Simple question?

Manoj Kummini kummini at math.ukans.edu
Fri Sep 5 18:03:55 CEST 2003


On Fri, Sep 05, 2003 at 18:56:02hrs +0530, Prof. Sudhir R. Ghorpade wrote:

> Hi! In a large LaTeX file with \documentclass{book}
> I have several chapters, each with several sections. 
> I don't want to number some sections; so I use: 
>    \section*{Secname} 
> This works nicely and the section title "Secname" also 
> appears in the Table of Contents with no number. However, 
> in the headers for the pages, which usually alternate between
>   Chapter Name  and Section Name 
> I get the name of the previous section (where * was not
> used) rather than Secname. 
> 
> How can I arrange "Secname" (without any number) to appear 
> in the header without having to change \section* to \section?

You can use a \markright{<whatever you want>} immediately after \section*,
or put them together into a \mysection.

Manoj.

-- 
Manoj Kummini
Graduate Student, Dept. of Mathematics, The Univ. of Kansas,
Lawrence KS 66045 USA.  38 deg 55 min N, 95 deg 14 min W.
http://www.math.ukans.edu/~kummini/index.html


More information about the texhax mailing list