Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!ruuinf!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: Help wanted with Latex book.sty Message-ID: <3599@ruuinf.cs.ruu.nl> Date: 15 Jul 90 14:23:40 GMT References: <12197@rasp.eng.cam.ac.uk> Sender: news@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 37 In-reply-to: jjs@eng.cam.ac.uk (Jeffrey J. Shifman) In article <12197@rasp.eng.cam.ac.uk>, jjs@eng (Jeffrey J. Shifman) writes: |I am posting this for someone else so please post replies or reply |directly to pi@eng.cam.ac.uk. |--- | |I want to modify the headers of the standard LaTeX |book style to do the following. | | |eg. | |Chapter 2. Suboptimal Problem |-------------------------------------------------------------- 30 | | | |My problem is really in adding the line under the header. |I have modified the headings like this: | |\def\@oddhead{\hbox{}\footnotesize \rightmark \hfil\normalsize\thepage} | | |How would I go about creating an hrule here. I tried the following |but got a big no no from LaTeX: | |\def\@oddhead{\hbox{}\footnotesize \rightmark \hfil\normalsize | \vskip 1pt \hrule height1pt \thepage} | |Any ideas out there? | Get fancyheadings.sty from one of the usual servers (or maybe you site has it already) -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31-30-531806 Uucp: uunet!mcsun!ruuinf!piet Telefax: +31-30-513791 Internet: piet@cs.ruu.nl (*`Pete')