Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

Justification



The justification is the way the text for several consecutive lines is aligned. By default the articles text are justified with a default justification. However it is possible to configure if and were the justification is applied.

There are several levels of justification:

Justification types

There are two justifications attributes:
  • The alignment
  • The justification
The different levels of alignment can have the following values:
  • "none": the alignment has its default value (correspond to the "initial" CSS property)
  • "inherit" : inherit the alignment from its parent
  • "center": center alignment
  • "left" : left alignment
  • "right" : right alignment
  • "justify" : justify alignment


The different levels of justification can have the following values:
  • "none" or "false": no justification
  • "inherit" : inherit the justification from its parent
  • "auto" or "true": default justification, will set the "auto" CSS justification type
  • "word" : word justification type, will set the "inter-word" CSS justification type
  • "character" : character justification type, will set the "inter-character" CSS justification type

At the wiki level

The command-line justification argument and configuration justification property allows to specify the default justification for the wiki.

The command-line alignment argument and configuration alignment property allows to specify the default alignment for the wiki.

At the article level

The "justification" attribute for articles allows to override the default wiki justification for one article. For example:
 <article desc="article1" justification="word">

At the chapter level

The "justification" attribute for chapters allows to override the article justification for all the text under this chapter. For example:
 <chapter title="my Chapter" justification="word" >

At the div level

The "justification" attribute for div elements allows to override the article justification for all the text under this element. For example:
  <div justification="word">
  the text with a word justification.
  </div>

Examples

For an article:
  <article desc="article1" justification="word" alignment="left" >
For a div:
   <div justification="word" alignment="right">
   the text with a word justification and a right alignment.
   </div>

See also


Categories: syntax

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.