Often used field commands in Writer

    From The Document Foundation Wiki
    Other languages:

    Foreword

    The video "Frequently used field commands in Writer - LibreOffice" links to this page here, which contains further information.

    The description explains how "Frequently used field commands" such as

    • Page Number
    • Page Count
    • Date
    • Time
    • Title
    • First Author
    • Subject
    • More Fields ( Ctrl+F2 ) >>>

    can be used.

    This description refers to LibreOffice.

    Link to the Video

    Link to the Video (in German [DE]):

    Häufig verwendete Feldbefehle in Writer - LibreOffice

    Why field commands?

    Field commands contain information that is automatically updated, such as date, time or page number.

    The dialog offers all field commands for selection that are available for insertion into the document.

    Field commands are often inserted in headers and footers.

    Insert field commands

    Header with "Author" ( user ) / left

    Open Writer.

    Save the still empty document as "Test_01".

    You choose Insert ▸ Header and Footer ▸ Header ▸ Default Page Style.

    With this you have created a "Default Page Style" Header.

    You choose Insert ▸ Field ▸ More Fields… and click at "Type" on "Author", at "Select" on "Name" and confirm with Insert and then Close.

    The name now displayed in the header line is taken from the so-called user data (first name, last name), i.e. an entry must have been made there beforehand.

    Note pin.svg

    Note:
    In the menu item Tools ▸ Options ▸ LibreOffice ▸ User Data, there at "address" and "first name/name / abbreviation" an entry, e.g. "Max Mustermann", should exist or be entered now.

    Header with "Text" / middle

    Press the Tab ↹ key to move the cursor to the middle of the header.

    You write "My document".

    Header line with "Date" / right

    You press the Tab ↹ key, the cursor jumps to the right.

    You select Insert ▸ Field ▸ More Fields… and click at "Type" on "Date", at "Select" on "Date (fixed)", for "Format" set to "31/12/1999" and confirm with Insert and then Close.

    The finished Header should now look like this:

    Footer with "Path/Filename" / left

    You choose Insert ▸ Header and Footer ▸ Footer ▸ Default Page Style.

    With this you have created a "Default Page Style" Footer.

    You choose Insert ▸ Field ▸ More Fields…]] and click at "Type" on "File name", for "Format" set to "Path/File name" and confirm with Insert and then Close.

    The entire path and file name is displayed.

    You mark the field command just inserted and select "Font size" 6.

    Footer with "Pages/As Page Style" / right

    You press the Tab ↹ key to move the cursor to the right in the footer.

    You write "Page" and "one space".

    You select Insert ▸ Field ▸ Page Number and write "one space".

    You write "from" and "one space".

    You choose Insert ▸ Field ▸ More Fields…]] and click at "Type" on "Statistics", at "Select" on "As Page Style" and confirm with Insert and then Close.

    The finished Footer should now look like this:

    Note pin.svg

    Note:
    The document now has the most common field commands. Of course, field commands can also be used arbitrarily in the document.

    Further Informations

    Documentation / Manuals

    Here you will find the Documentation / Manuals:

    Documentation / Manuals

    Any questions?

    For questions on this topic go to:

    Ask.LibreOffice

    Get Involved

    Join us today and help us to make it even better!

    Get Involved

    LibreOffice is Free Software and is made available free of charge.

    Your donation, which is purely optional, supports our worldwide community.

    If you like the software, please consider a Donation.