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