I have a document (docA) with arabic page numbers in the header. Now docA is part of a thesis which has roman numbers in the footer.
So I want to add roman page numbers to docA. This is no problem. But now I want to adjust the numbering of the roman numbers (as the thesis has lets say five pages). This is what I want:
- arabic page numbers in the header, starting at
1
- roman page numbers in the footer, starting at
VI
I tried this:
I choosed 'Page Number', 'Page Number Format' and tried to adjust the starting point. However, this changes both page numbers.
How is it possible to have different numbering in the header and in the footer?
Best Answer
You can do this using field codes.
Press Alt+F9 to toggle displaying the field code and the calculated value. You'll notice that when you insert a page number, it's actually
{ PAGE }
.Note that the curly braces
{ }
can't be typed, they must be inserted using Ctrl+F9.What we need to do is use a formula. You want to offset the number by 5, so you want something like:
To insert this:
Press Ctrl+F9 twice to get
{ { } }
Type
PAGE
inside the inner bracesType the
=
between the first two (opening) bracesType
+ 5 \*ROMAN
between the last two (closing) bracesPress Alt+F9 to view the result
Explanation:
The
=
denotes a formula field. It's similar to an Excel formula, though a little more basic.The
{ PAGE }
inserts the current page number into the formula - the inner field is calculated first. If you were on the first page, the formula field would see something like{ = 1 + 5 \*ROMAN }
. IfPAGE
were not denoted as a field code by enclosing it in braces, you insert the textPAGE
into the formula field which interprets that as a bookmark.The addition should be obvious.
The
\*
specifies the displayed format.ROMAN
means upper case Roman numerals,roman
means lower case Roman numerals. It defaults to Arabic numerals if you don't specify a format.