vic@cs.arizona.edu (Vicraj T. Thomas) (05/24/91)
I have been wrestling with LaTeX the last couple of days and now am frustrated enough to bury my ego and turn to your collective wisdom for help. First some background on what I'm trying to do: I have to typeset a book which is really a collection of papers. Each of these papers has been individually typeset (in 'article' style) and must now appear as separate chapters of the book. I need each page of the book to have headings like those in the LaTeX book but with a slight difference: I need the left-headings (even numbered pages) to have the name of the author(s) of the current paper and the right-headings (odd numbered pages) to have the title of the current paper in addition to the page number and horizontal line. Also, the start of each chapter must look just like it did in the original paper i.e. have the title, name of the author(s), addresses, and abstract. I removed commands like \documentstyle, the title page commands (\author, etc.), the \begin{document} and \end{document} and also changed \title to \chapter. The abstract environment does not work anymore (it does not work for books) but I think I can write my own abstract environment. I don't know what I can do about the names of the authors, their addresses, etc, but I suppose I could typeset them myself. Now for my questions: 1. Is there anyway I can have LaTeX typeset the title page of each chapter of the book (it should look just like it did in the original paper). 2. I've been unable to get the page headings to work. I understand I need to use the myheadings style and use the \markboth command to do this but haven't been able to figure out where this command goes and how I can specify its arguments. I know it goes after a sectioning command (in my case I think this would be the \chapter command) but have no idea what arguments I should give \markboth. I tried \hrulefill which worked (got a line after the page number) but I need the name of the chapter and author with a line beneath that. Any help would be truly appreciated. Please MAIL me your suggestions but of course you are welcome to post them also if you wish. Thanks again. < Vic -- -------- vic@cs.arizona.edu Dept. of Computer Science ..!{uunet|noao}!arizona!vic University of Arizona, Tucson, AZ 85721