Path: utzoo!attcan!uunet!mcsun!ukc!cam-eng!jjs From: jjs@eng.cam.ac.uk (Jeffrey J. Shifman) Newsgroups: comp.text.tex Subject: Help wanted with Latex book.sty Message-ID: <12197@rasp.eng.cam.ac.uk> Date: 13 Jul 90 14:41:46 GMT Sender: jjs@eng.cam.ac.uk Reply-To: pi@eng.cam.ac.uk Organization: Cambridge University Engineering Department, UK Lines: 39 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? Pablo Iglesias Dept. Engineering Cambridge University pi@uk.ac.cam.eng -- +---+ | J. J. Shifman / \ | Department of Engineering / | University of Cambridge ==== | Cambridge CB2 1PZ UK