Edit Links |
FAQ /
RedefiningListOfFiguresPlease categorize this page. << RelativeFiguresLocation | Page list | ChangeFontUsingLatex >>Redefining the command \listoffigures This page is based on a mail in the users-list by Helge Hafting. I thought it was useful to keep so I (Christian) put it here. Helge Hafting wrote: For example, lets redefine \listoffigures. To do this, you want to know the current definition of \listoffigures, because you probably don't know how to re-implement it. Getting this is trivial: Start latex with no parameters. (I.e. type "latex<enter>" in a xterm) You should get something like this, possibly a different version: This is TeX, Version 3.14159 (Web2C 7.3.7) type in When this works flawlessly, change the definition by putting your \addcontentsline{} somewhere in the middle of it. If you know some latex you'll see a good spot. If not - experiment. Too early and you get the "page before" problem, too late and you'll get the "last page" problem. Look for a place in the macro after the new page/chapter has started, before the actual listing begins. Somewhere around the heading perhaps. Make sure to put your \addcontentsline between other commands, not in the middle of one. << RelativeFiguresLocation | FAQ.PageList | ChangeFontUsingLatex >> |