Attribute

Format.split_rules R

Specifies the split mode; used only when #hard_margins is set to true. Allowable values are:

SPLIT_FIXED
The word will be split at the number of characters needed, with no marking at all.
repre
senta
ion
SPLIT_CONTINUATION
The word will be split at the number of characters needed, with a C-style continuation character. If a word is the only item on a line and it cannot be split into an appropriate size, SPLIT_FIXED will be used.
repr\
esen\
tati\
on
SPLIT_HYPHENATION
The word will be split according to the hyphenator specified in #hyphenator. If there is no #hyphenator specified, works like SPLIT_CONTINUATION. The example is using TeX::Hyphen. If a word is the only item on a line and it cannot be split into an appropriate size, SPLIT_CONTINUATION mode will be used.
rep-
re-
sen-
ta-
tion
Default:Text::Format::SPLIT_FIXED
Used in:#format, #paragraphs
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.