Custom header and footer

Version 1 (Alexis Bienvenüe, 01/24/2013 02:09 pm) → Version 2/3 (Alexis Bienvenüe, 01/24/2013 02:09 pm)

h1. Custom header and footer

!>corners.png!
From AMC version 1.1.1295 (revision r1295), you can customize the header and footer of your AMC subjects if you use LaTeX source files, using the @\fancyhead@ and @\fancyfoot@ commands:
<pre>
\fancyhead[C]{ ...header... }
\fancyfoot[C]{ ...footer... }
</pre>
However, you must follow the following rules:
* Don't use @\fancyhead@ or @\fancyfoot@ with @[L]@ or @[R]@, since AMC uses them to place the four corner circles that will be used during automatic data analysis to adjust the page position on the scans.
* Never write anything too close to these circles (that is in the areas colored in red on the figure opposite) !>corners.png!
* Always use once (and only once) the three commands @\AMCIDBoxesA@, @\AMCIDBoxesB@ and @\AMCIDBoxesC@ per page (either in the header or in the footer). You can also use @\AMCIDBoxesABC@, which groups these three commands together. These commands print the "binary boxes" that allows AMC to know which subject's page the scan corresponds to. These boxes must be at the _exact same position_ on each page of the subject.