Custom header and footer

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

1 1
h1. Custom header and footer
2 1
3 2 Alexis Bienvenüe
!>corners.png!
4 1
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:
5 1
<pre>
6 1
\fancyhead[C]{ ...header... }
7 1
\fancyfoot[C]{ ...footer... }
8 1
</pre>
9 1
However, you must follow the following rules:
10 1
* 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.
11 2 Alexis Bienvenüe
* Never write anything too close to these circles (that is in the areas colored in red on the figure opposite)
12 1
* 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.