Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Arial Regular 12 pt, black.

That might be the default, when you open your favourite text editor, or CHILI publisher.

...

  • Paragraph Styles

  • Character Styles

  • Locally overruled settings

Hierarchy

These 3 types of styles, follow a hierarchy.

...

Drawio
zoom1
simple0
inComment0
pageId796196865
custContentId796590177
lbox1
diagramDisplayNamestyleshierarchie.drawio
contentVer1
revision1
baseUrlhttps://chilipublishdocs.atlassian.net/wiki
diagramNamestyleshierarchie.drawio
pCenter0
width816
links
tbstyle
height709.5

1. Paragraph style

A basic setup would include you define a Paragraph Style. This style is applied for the text from start to the new-line character. “¶”

...

You can apply the style by clicking somewhere in the paragraph, and choosing the Paragraph Style. It will be applied to the whole paragraph, regardless of your selection.

2. Character styles

For Character styles, you need to select a portion of text. (full words, partial words, several words & spaces, …)

3. Locally overruled setting

Next to applying pre-define styles (paragraph- or character style), you cal select a portion of the text, an locally overrule the applied styles.

...

Overruling

...

or Overriding

Overruling (or overriding) a setting style means that you replace the current applied settings with the new.

This can be done with another (character) style, or by changing the settings that are available in the text ruler.

...

How this ruler look, might differ from the settings you have applied

Drawio
zoom1
simple0
inComment0
pageId796196865
custContentId801210380
lbox1
diagramDisplayNameInheritance_vs_overrides.drawio
contentVer4
revision4
baseUrlhttps://chilipublishdocs.atlassian.net/wiki
diagramNameInheritance_vs_overrides.drawio
pCenter0
width541
links
tbstyle
height390

In the picture above, you see the default settings, and 2 defined styles.

...

Behind the scenes, the styling is split in 3 parts. There is the first part with Style 1, a second part with Style 2, and a third part (again) with Style 1.

The result

In the end, each character has 1 style to comply to.

Note

Important: styles will not inherit. Nesting does not work in applying styles. Every character will have only 1 style. (one of the three above)

Overruling

How?

You can overrule Paragraph styles with both Character styles, and local overrides.

What happens when you overrule?

 

 

--

Concept

Apply styles

Correct styles

Challenges

(no) Nested styles

Overrules will be split

 

<c1>aemfkj amlkfj qsmdlkfj mqsdlkfj sqmdlfjk </c1>

<c1>aemfkj amlkfj <c2>qsmdlkfj</c2> mqsdlkfj sqmdlfjk </c1>

<c1>aemfkj amlkfj </c1><c2>qsmdlkfj</c2><c1>mqsdlkfj sqmdlfjk </c1>

 

 

STV

Nesting, in STV

 

IssuesThis means, that the middle part of tekst will be red, but will fall back to the default font and font-size.