Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On 2011-06-19, Brian Barker wrote:

At 10:19 15/06/2011 +0100, Mark Stanton wrote:
To reproduce a very common printing style I want to have a header
line (on every page) in my document with the page number on the
right or left depending on whether it's a right or left page, and
also centred text (on the same line).

I think the first bit isn't too hard (is it?), but I can't work out
how to have centred text and not centred text on the same line.

Anyone know how?

Yup.  You'll have worked out that you need separate page styles for
right and left pages, with the Next Style of each set to the other - 
so that they alternate through your document.

You can do it with just one style:

Go to Format -> Page

1. Make sure the document has odd and even pages: in the "Page" tab, in
the "Layout settings" group, pick "Page layout" "Right and left" or
"Mirrored".

2. Either for header or for footer, go to its tab in the same dialog,
and 
  a) Enable it, by checking the "Header on"/"Footer on" checkbox
  b) Enable different header/footer for odd and even pages by unchecking
  "Same content left/right"


Now you will have headers on your pages, and editing the header of an
odd page only changes odd pages, same for even pages.


For mixing and centering, I suggest tabs too. It seems headers already
have two tab stops defined (at least here with the default template):
exactly the ones you need to have left, centered and right text in one
like.

-- 
Nuno J. Silva (aka njsg)
gopher://sdf-eu.org/1/users/njsg

-- 
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to postmaster@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.