|
Edit Links |
Tips /
TheLetTrickCategories: Tips << DebuggingLayoutFiles | Page list | ModifyChapterEtc >>Redefining a Command While Keeping the Old One It is very common for people to want to redefine a LaTeX command while keeping the old one around, perhaps because they want to use the old one in the definition of the new one. Thus, for example, you might want to redefine the \let\oldfoot=\footnote Now
\renewcommand\footnote[1]{\newstuff\oldfoot{#1}}
Note that this is different from:
\newcommand\oldfoot{\footnote}
That will not do what you want, because |