Vladimir Milovanovic schrieb:
> How would I be able to insert the name of and number of the current
> chapter in the footer of the document? At the moment there is some stuf
> there that I want to throw out ( I am using a university template, and I
> want to take out some stuff I don't need). Here's the part of the
> preamble that concerns with the footer. I want ot throw out the
> docnumner, docrevnumber and the classification and have the chapter info
> instead.
in the preamble
\let\oldChapter\chapter
\newcommand{\ChapName}[1]{}
\renewcommand{\chapter}[2][]{%
\renewcommand{\ChapName}{#2}%
\oldChapter[#1]{#2}%
}
now you have the commands \thechapter for the number
and \ChapName for the title, which you can place anywhere
in the header/footer
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/