Difference between revisions of "Documentation/UserGuide/Writer/Styles/Text"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Organizer Tab)
Line 6: Line 6:
 
The differences between character and paragraph styles are not big. The most important point is that paragraph styles apply to whole paragraphs while character styles only to selected portions of text.  
 
The differences between character and paragraph styles are not big. The most important point is that paragraph styles apply to whole paragraphs while character styles only to selected portions of text.  
  
It is important to note that Writer considers a "paragraph" as the text separated by the use of the {{Key|Enter}} key.{{Documentation/Caution|The line breaks obtained with {{Key|Shift|Enter}} ''do not provide new paragraphs''. In fact, using line breaks could give problems because on Writer paragraph are limited to 2<sup>16</sup> (i.e., about 65K) characters}}
+
It is important to note that Writer considers a "paragraph" as the text separated by the use of the {{Key|Enter}} key.{{Documentation/Caution|The line breaks obtained with {{Key|Shift|Enter}} ''do not provide new paragraphs''. In fact, using line breaks could give problems because in Writer paragraphs are limited to 2<sup>16</sup> (i.e., about 65K) characters}}
  
 
= Editing Paragraph and Character Styles =
 
= Editing Paragraph and Character Styles =
Line 14: Line 14:
 
[[File:AOO-ParCharStyle.png]]
 
[[File:AOO-ParCharStyle.png]]
  
The menu presented during the edition or creation of a style is separated on several tabs on which it is possible to define all the characteristics: font, indent, spacing, aligning or language.  
+
The menu presented during the editing or creation of a style is separated on several tabs with which it is possible to define all the characteristics: font, indent, spacing, aligning or language.  
  
 
== Organizer Tab ==  
 
== Organizer Tab ==  
Line 21: Line 21:
 
Another very important characteristic on this tab is the "Next style" option.  
 
Another very important characteristic on this tab is the "Next style" option.  
  
This is really important: it is possible to define a "sequence" of styles so one is automatically applied after the other. For example, applying the ''Heading 1'' paragraph style, an {{Key|Enter}} will make the style to be automatically changed into ''Text body''.
+
This is really important: it is possible to define a "sequence" of styles so one is automatically applied after the other. For example, applying the ''Heading 1'' paragraph style, an {{Key|Enter}} the style will be automatically changed to ''Text body''.
When a new style is created (this cannot be changed on the predefined styles) it is possible to choose a ''Category'': if the new style is a text style, a heading style, a list style, etc.
+
When a new style is created (this cannot be changed in the predefined styles) it is possible to choose a ''Category'': if the new style is a text style, a heading style, a list style, etc.
  
 
When a style is linked with another one, the section "Contains" on this tab shows the differences with the parent style.
 
When a style is linked with another one, the section "Contains" on this tab shows the differences with the parent style.
Line 29: Line 29:
 
On this tab, identical for both, paragraph and character styles, it is possible to select the typeface used by the style, its type (bold, italic...), its size and the language for the text.  
 
On this tab, identical for both, paragraph and character styles, it is possible to select the typeface used by the style, its type (bold, italic...), its size and the language for the text.  
  
When two styles are linked it is possible to set the linked style with a font size that it is proportional to the parent style. This is set by default on the ''Heading 1'' to ''Heading 10'' styles that have a font size proportional to that of the ''Heading'' style. On the font size bot, this can be seen as a percentage: for example 150%. To break the dependency it is enough to delete that percentage and write the size on points: for example, 18pt.
+
When two styles are linked it is possible to set the linked style with a font size that it is proportional to the parent style. This is set by default on the ''Heading 1'' to ''Heading 10'' styles that have a font size proportional to that of the ''Heading'' style. In the font size bot, this can be seen as a percentage: for example 150%. To break the dependency delete that percentage and write the size in points: for example, 18pt.
To change from absolute sizes to relative sizes it is enough to delete the size on points and type the desired percentage.  
+
To change from absolute sizes to relative sizes it is enough to delete the size in points and type the desired percentage.  
  
 
== Font Effects Tab ==
 
== Font Effects Tab ==
Line 39: Line 39:
  
 
== Background Tab ==
 
== Background Tab ==
Select the character background. This tab is different for paragraph or character styles: on the character styles it is only possible to select a colour background while the paragraph styles offers the possibility to set a picture as background.
+
Select the character background. This tab is different for paragraph or character styles: in the character styles it is only possible to select a colour background while the paragraph styles offers the possibility to set a picture as background.
  
 
== Indents and Spacing Tab ==
 
== Indents and Spacing Tab ==
Line 64: Line 64:
 
Define if the paragraph text must be aligned to the left, right, centred or justified. It is also possible to select a different alignment for the last line on the paragraph to obtain, for example, a justified paragraph with the last line centred.  
 
Define if the paragraph text must be aligned to the left, right, centred or justified. It is also possible to select a different alignment for the last line on the paragraph to obtain, for example, a justified paragraph with the last line centred.  
  
The option "Text to text" refers to the behaviour when text of different sized are on the same paragraph, changing the vertical alignment for the "alien" element.
+
The option "Text to text" refers to the behaviour when text of different sizes are in the same paragraph, changing the vertical alignment for the "alien" element.
  
 
== Text Flow Tab ==
 
== Text Flow Tab ==
In addition to defining the hyphenation and the behaviour of the paragraph when arriving to the end of the page (if it moves to the following page as a block, if it needs to be maintained together with the following paragraph, adjust the widow and orphan lines) it is possible to assign automatic page breaks. We will come back to this when talking about [[Documentation/UserGuide/Writer/Styles/Page|page styles]]
+
In addition to defining the hyphenation and the behaviour of the paragraph when arriving at the end of the page (if it moves to the following page as a block, if it needs to be maintained together with the following paragraph, adjust the widow and orphan lines) it is possible to assign automatic page breaks. We will come back to this when discussing [[Documentation/UserGuide/Writer/Styles/Page|page styles]]
  
 
== Outline & Numbering Tab ==
 
== Outline & Numbering Tab ==
Line 78: Line 78:
 
If no tabs are defined here, Writer will use the default tabstops values defined on {{Menu|Tools|Options|Apache OpenOffice Writer|General}}.
 
If no tabs are defined here, Writer will use the default tabstops values defined on {{Menu|Tools|Options|Apache OpenOffice Writer|General}}.
  
To the tabs defined on a paragraph style it is possible to assign different aligning: left, right or centred refers to the position indicated by the tabstop. For example, if we define a tab as "right" and set it to two centimetres, when pressing {{Key|TAB}} at the beginning of a paragraph the cursor will move two centimetres to the right ''with the text being completely to the left of that position''.  
+
To the tabs defined on a paragraph style it is possible to assign different alignment: left, right or centred refers to the position indicated by the tabstop. For example, if we define a tab as "right" and set it to two centimetres, when pressing {{Key|TAB}} at the beginning of a paragraph the cursor will move two centimetres to the right ''with the text being completely to the left of that position''.  
  
 
The decimal tabstop aligns the numbers to the selected decimal separator.
 
The decimal tabstop aligns the numbers to the selected decimal separator.
  
 
== Drop Caps Tab ==
 
== Drop Caps Tab ==
Here it is possible to set the first character or even the first word on the paragraph to be greater than the normal text.
+
Here it is possible to set the first character or even the first word in the paragraph to be greater than the normal text.
  
 
It is possible to assign a character style to this first character or first word.
 
It is possible to assign a character style to this first character or first word.
Line 92: Line 92:
 
== Condition Tab ==
 
== Condition Tab ==
  
To work with conditional styles. A conditional style varies according the ''context'' of that style: it is possible to define a conditional style that works like "Text Body" when on the text area or as "Table content" inside a table. This way the same style will show different formatting on different circumstances. {{Documentation/Caution|Even if it is possible to convert a normal style to conditional style, it is not possible to go on the opposite direction: once defined as conditional, the style remains conditional. It is only possible to change the condition, not the fact that it is conditioned.}}
+
To work with conditional styles. A conditional style varies according the ''context'' of that style: it is possible to define a conditional style that works like "Text Body" when on the text area or as "Table content" inside a table. This way the same style will show different formatting in different circumstances. {{Documentation/Caution|Even if it is possible to convert a normal style to conditional style, it is not possible to go on the opposite direction: once defined as conditional, the style remains conditional. It is only possible to change the condition, not the fact that it is conditioned.}}
  
 
[[Category:Documentation]] [[Category:Documentation/Writer]]
 
[[Category:Documentation]] [[Category:Documentation/Writer]]

Revision as of 03:52, 9 February 2013

Template:Documentation/DraftPage


Preliminary Note

The differences between character and paragraph styles are not big. The most important point is that paragraph styles apply to whole paragraphs while character styles only to selected portions of text.

It is important to note that Writer considers a "paragraph" as the text separated by the use of the  ↵ Enter  key.
Documentation caution.png The line breaks obtained with  ⇧ Shift  +  ↵ Enter  do not provide new paragraphs. In fact, using line breaks could give problems because in Writer paragraphs are limited to 216 (i.e., about 65K) characters

Editing Paragraph and Character Styles

With a right click on a paragraph or character style and selecting "Modify", it is possible to see that both kinds of styles share several characteristics, as shown on the following screenshot

AOO-ParCharStyle.png

The menu presented during the editing or creation of a style is separated on several tabs with which it is possible to define all the characteristics: font, indent, spacing, aligning or language.

Organizer Tab

On this tab it is possible to indicate not only the style name but also the option "Linked with". The linking of styles allows to have several styles "depending" on one style, inheriting selected characteristics. For example, all the Heading 1 to Heading 10 paragraph styles are linked with the Heading style, so by editing Heading to change the font used this change will be automatically taken by the linked styles.

Another very important characteristic on this tab is the "Next style" option.

This is really important: it is possible to define a "sequence" of styles so one is automatically applied after the other. For example, applying the Heading 1 paragraph style, an  ↵ Enter  the style will be automatically changed to Text body. When a new style is created (this cannot be changed in the predefined styles) it is possible to choose a Category: if the new style is a text style, a heading style, a list style, etc.

When a style is linked with another one, the section "Contains" on this tab shows the differences with the parent style.

Font Tab

On this tab, identical for both, paragraph and character styles, it is possible to select the typeface used by the style, its type (bold, italic...), its size and the language for the text.

When two styles are linked it is possible to set the linked style with a font size that it is proportional to the parent style. This is set by default on the Heading 1 to Heading 10 styles that have a font size proportional to that of the Heading style. In the font size bot, this can be seen as a percentage: for example 150%. To break the dependency delete that percentage and write the size in points: for example, 18pt. To change from absolute sizes to relative sizes it is enough to delete the size in points and type the desired percentage.

Font Effects Tab

It is possible to choose the font colour, the underlining, the "effects" (small caps...)

Position Tab

Set different characteristics for sub and super index, changing the vertical position and the font size. It is also possible to change the distance between two adjacent characters and rotate the text.

Background Tab

Select the character background. This tab is different for paragraph or character styles: in the character styles it is only possible to select a colour background while the paragraph styles offers the possibility to set a picture as background.

Indents and Spacing Tab

This tab and the following ones apply only to paragraph styles. Here it is possible to define the spacing on the paragraph limits (top, bottom, left, right) as well as the indent and the line spacing.

Line Spacing

The drop down menu offers several line spacing options.

  • Single: The default distance between two lines of text. This value is not under the control of Writer, it is defined by the typeface: there are different parameters that define "how big a font is", not only the "size" configured on the Font tab. For all this, the line "single spacing" value will depend on the selected typeface.
  • 1.5 lines and Double: Based on "Single", they give a separation of one and a half and two times the single spacing, respectively.
  • Proportional: A percentage, selected by the user, of the single spacing. Percentages can be either greater than 100 % (for more spaced lines) or lower than 100 % (for more compact lines)
  • At least: Minimum value for the line spacing.
  • Leading: Add the indicated value to the single line spacing.
  • Fixed: Fix the distance between two lines of text to the value indicated, independently of any other parameter from the font.

Register-true

This option will be discussed when talking about page styles.

Alignment Tab

Define if the paragraph text must be aligned to the left, right, centred or justified. It is also possible to select a different alignment for the last line on the paragraph to obtain, for example, a justified paragraph with the last line centred.

The option "Text to text" refers to the behaviour when text of different sizes are in the same paragraph, changing the vertical alignment for the "alien" element.

Text Flow Tab

In addition to defining the hyphenation and the behaviour of the paragraph when arriving at the end of the page (if it moves to the following page as a block, if it needs to be maintained together with the following paragraph, adjust the widow and orphan lines) it is possible to assign automatic page breaks. We will come back to this when discussing page styles

Outline & Numbering Tab

Here it is possible to associate to the paragraph a list style and a outline level. We will come back to this topic on the section about numbering chapters.

Tabs Tab

Tabs are format characters that, while useful, must be used with care. Basically, the tabs define "imaginary columns", pushing the text after them to the next column.

If no tabs are defined here, Writer will use the default tabstops values defined on Tools → Options → Apache OpenOffice Writer → General.

To the tabs defined on a paragraph style it is possible to assign different alignment: left, right or centred refers to the position indicated by the tabstop. For example, if we define a tab as "right" and set it to two centimetres, when pressing  Tab ⇆  at the beginning of a paragraph the cursor will move two centimetres to the right with the text being completely to the left of that position.

The decimal tabstop aligns the numbers to the selected decimal separator.

Drop Caps Tab

Here it is possible to set the first character or even the first word in the paragraph to be greater than the normal text.

It is possible to assign a character style to this first character or first word.

Borders Tab

Draw borders and shadows around a paragraph. The option "Merge with next paragraph" makes that consecutive paragraphs of the same style use the same line as a block and not as single paragraphs.

Condition Tab

To work with conditional styles. A conditional style varies according the context of that style: it is possible to define a conditional style that works like "Text Body" when on the text area or as "Table content" inside a table. This way the same style will show different formatting in different circumstances.
Documentation caution.png Even if it is possible to convert a normal style to conditional style, it is not possible to go on the opposite direction: once defined as conditional, the style remains conditional. It is only possible to change the condition, not the fact that it is conditioned.
Personal tools