[Tutorial] Page numbering

Forum rules

No question in this forum please

For any question related to a topic, create a new thread in the relevant section.

Post a reply

5 posts • Page 1 of 1

[Tutorial] Page numbering


Postby Hagar Delest » Fri Dec 28, 2007 3:56 pm

Have some difficulties putting the page number on your document ? Here are some basics and a link to a detailed tutorial.

Executive summary

- Page number is a field that must be placed either in the header or in the footer.

- Header/footer are configured in the Page style (each has its own tab in the properties of the page style).

So:

- Double-click the page style name in the status bar (bottom of the main window).

- Go to the Header or Footer tab and activate it, click OK.

- Put the cursor in the Header/Footer created and go to Insert>Fields>Page number.

More information on the wiki: Page Numbering in OpenOffice.org Writer.

There is also a GUI as extension : Pagination extension.

Left/Center/Right alignment

Both the Header and Footer paragraph styles (automatically selected in those areas) have customized tabulations; first is left aligned, second is centered and third is right aligned.

Just hit the Tab key to navigate to the 2nd (middle) and 3rd (right) positions.

NB: if those strings are too long, they may push the next to the next tab slot and ruin the layout. In such case, you can use a table (with no borders) to limit the width of each place. Text will be wrapped in each cell without interfering with the others.


Odd and Even pages alignment

In the Header or Footer tab of the page style properties, you can uncheck the Same content left/right option. Then, you'll be able to have a left aligned page number on even pages (left) and right aligned page number on odd pages (right) without using 2 pages styles.


Numeral and non-numeral formatting

The formatting of the page number is not controlled with its field itself but with the Page style.

See: Changing the number format (wiki).


Common problems

You see a gray background on your page number? No worry, hit Ctrl+F8 or View>Field Shadings. The shading is not printed (disappears in Print Preview). It is just a reminder that this item is a field, a dynamic placeholder.

You see "Page numbers" instead of the actual number? No worry, hit Ctrl+F9 or View>Field Names. This is the identification of the field (replaced by the actual number in Print Preview).


User avatar

Hagar Delest

Moderator

Posts: 26530

Joined: Sun Oct 07, 2007 9:07 pm

Location: France

Top

Showing, hiding or restarting the page number

Postby Hagar Delest » Fri Dec 28, 2007 10:48 pm

Having pages with or without numbering

As said above, the page number is linked to the page style. Therefore, if you want parts with numbering and some without, you need different page styles.

You can have a look at: [Tutorial] Page styles and headers/footers (and the wiki of course).