Difference between revisions of "Documentation/OOo3 User Guides/Getting Started/Formatting text"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Using styles)
(Formatting paragraphs)
Line 11: Line 11:
 
You can apply many formats to paragraphs using the buttons on the Formatting toolbar. The figure below shows the Formatting toolbar as a floating toolbar, customized to show only the buttons for paragraph formatting. The appearance of the icons may vary with your operating system and the selection of icon size and style in '''Tools > Options > OpenOffice.org > View'''.
 
You can apply many formats to paragraphs using the buttons on the Formatting toolbar. The figure below shows the Formatting toolbar as a floating toolbar, customized to show only the buttons for paragraph formatting. The appearance of the icons may vary with your operating system and the selection of icon size and style in '''Tools > Options > OpenOffice.org > View'''.
  
{{Documentation/Tip| It is highly recommended that you use ''paragraph styles'' rather than manually formatting paragraphs, especially for long or standardized documents. For information on the advantages of styles, and how to use them, see  [[http://documentation.openoffice.org/manuals/userguide3/0213WG3-WorkingWithMasterDocuments.pdf| Chapter 13: Working with Master Documents]] in this book and [[http://documentation.openoffice.org/manuals/userguide3/0206WG3-IntroductionToStyles.pdf| Chapter 6: Introduction to Styles]]  and [[http://documentation.openoffice.org/manuals/userguide3/0207WG3-WorkingWithStyles.pdf| Chapter 7: Working with Styles]]  in the ''Writer Guide''. }}
+
[[Image:FormatToolbarPara3.png|thumb|none|500px|''Formatting toolbar, showing icons for paragraph formatting.'']]
 
+
[[Image:FormatToolbarPara.png|thumb|none|500px|''Formatting toolbar, showing icons for paragraph formatting.'']]
+
  
 
{|cellpadding=2  
 
{|cellpadding=2  
||1  Styles and Formatting window    ||8  Line Spacing: 1.5
+
||1  Open Styles and Formatting window    ||8  Line Spacing: 1.5
 
|-
 
|-
 
||2  Apply Style||9  Line Spacing: 2
 
||2  Apply Style||9  Line Spacing: 2
Line 31: Line 29:
 
|-
 
|-
 
|}
 
|}
 
The figure below shows examples of the different alignment options.
 
 
[[Image:Text-align.png|thumb|none|500px|''Different text alignment options.'']]
 
  
 
== Formatting characters ==
 
== Formatting characters ==

Revision as of 03:05, 15 April 2010


Using styles is recommended

Styles are central to using Writer. Styles enable you to easily format your document consistently, and to change the format with minimal effort. A style is a named set of formatting options. Writer defines several types of styles, for different types of elements: characters, paragraphs, pages, frames, and lists. See Chapter 3 (Using Templates and Styles) in this book and Chapters 6 and 7 in the Writer Guide.

Formatting paragraphs

You can apply many formats to paragraphs using the buttons on the Formatting toolbar. The figure below shows the Formatting toolbar as a floating toolbar, customized to show only the buttons for paragraph formatting. The appearance of the icons may vary with your operating system and the selection of icon size and style in Tools > Options > OpenOffice.org > View.

Formatting toolbar, showing icons for paragraph formatting.
1 Open Styles and Formatting window     8 Line Spacing: 1.5
2 Apply Style 9 Line Spacing: 2
3 Align Left 10 Numbering On/Off
4 Centered 11 Bullets On/Off
5 Align Right 12 Decrease Indent
6 Justified 13 Increase Indent
7 Line Spacing: 1 14 Paragraph Format dialog

Formatting characters

You can apply many formats to characters using the buttons on the Formatting toolbar. The figure below shows the Formatting toolbar as a floating toolbar, customized to show only the buttons for character formatting. The appearance of the icons may vary with your operating system and the selection of icon size and style in Tools > Options > OpenOffice.org > View.

Template:Documentation/Tip

Formatting toolbar, showing icons for character formatting.
1 Styles and Formatting window     9 Subscript
2 Apply Style 10 Increase Font
3 Font Name 11 Reduce Font
4 Font Size 12 Font Color
5 Bold 13 Highlighting
6 Italic 14 Background Color
7 Underline 15 Character Format dialog
8 Superscript

Template:Documentation/Tip

Autoformatting

You can set Writer to automatically format parts of a document according to the choices made on the Options page of the AutoCorrect dialog (Tools > AutoCorrect > Options).

Template:Documentation/Tip

Some common unwanted or unexpected formatting changes include:

  • Horizontal lines. If you type three or more hyphens (---), underscores (___) or equal signs (===) on a line and then press Enter, the paragraph is replaced by a horizontal line as wide as the page. The line is actually the lower border of the preceding paragraph.
  • Bulleted and numbered lists. A bulleted list is created when you type a hyphen (-), star (*), or plus sign (+), followed by a space or tab at the beginning of a paragraph. A numbered list is created when you type a number followed by a period (.), followed by a space or tab at the beginning of a paragraph. Automatic numbering is only applied to paragraphs formatted with the Default, Text body or Text body indent paragraph styles.

To turn autoformatting on or off, go to Format > AutoFormat and select or delete the items on the sub menu.

Creating numbered or bulleted lists

There are several ways to create numbered or bulleted lists:

To produce a numbered or bulleted list, select the paragraphs in the list, and then click the appropriate icon on the toolbar.

Template:Documentation/Note

Using the Bullets and Numbering toolbar

You can create nested lists (where one or more list items has a sublist under it, as in an outline) by using the buttons on the Bullets and Numbering toolbar. You can move items up or down the list, or create subpoints, and even change the style of bullets. Use View > Toolbars > Bullets and Numbering to see the toolbar.

Bullets and Numbering toolbar.
1 Bullets On/Off 8 Insert Unnumbered Entry
2 Numbering On/Off 9 Move Up
3 Numbering Off 10 Move Down
4 Up One Level 11 Move Up with Subpoints
5 Down One Level 12 Move Down with Subpoints
6 Move Up (One Level) with Subpoints 13 Restart Numbering
7 Move Down (One Level) with Subpoints     14 Bullets and Numbering

The appearance of the icons may vary with your operating system and the selection of icon size and style in Tools > Options > OpenOffice.org > View.

Hyphenating words

To turn automatic hyphenation of words on or off:

  1. Press F11 to open the Styles and Formatting window.
  2. On the Paragraph Styles page of the Styles and Formatting window, right-click on Default in the list and select Modify.
  3. Modifying a style.
  4. On the Paragraph Style dialog, go to the Text Flow page.
  5. Under Hyphenation, select or deselect the Automatically option. Click OK to save.

Template:Documentation/Note

Turning on automatic hyphenation.

You can also set hyphenation choices through Tools > Options > Language Settings > Writing Aids. In Options, near the bottom of the dialog, scroll down to the find the hyphenation settings.

Setting hyphenation options.

Template:Documentation/Note

To enter a conditional hyphen inside a word, press Control+minus sign. The word is hyphenated at this position when it is at the end of the line, even if automatic hyphenation for this paragraph is switched off.

To insert non-breaking hyphen, press Control+Shift+minus sign.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools