# Different footer for each chapter

I would like to have a different custom footer for each chapter. For e.g each chapter has a version, i would like to print that version for that chapter in the footer.

• The way to do this would be to define the page footer so that it uses a mark or a macro --- set the mark or redefine the macro at the beginning of each chapter, depending on the desired content. – WillAdams Jul 11 '13 at 12:27

Using the fancyhdr package, you can easily place the version at the footer. The following example illustrates this (details may vary depending on how you actually define the version). I used a \ChapVersion command to be used at the beginning of chapters, to hold the chapter version; internally, this version is placed at the footer:

\documentclass{book}
\usepackage[a6paper]{geometry}% just for the example
\usepackage{fancyhdr}
\usepackage{lipsum}% just to generate text for the example

\pagestyle{fancy}
\makeatletter
\newcommand\ChapVersion[1]{\def\@ChapVersion{#1}}

\fancyhf{}
\fancyfoot[C]{\small\@ChapVersion}% footer center: version