Liblouis User's and Programmer's Manual
2.6.2.3 Word indicator ¶
Many languages have special indicators for emphasized words. The scope
of a word indicator is normally until the next unemphasizable
character, however this can be changed with the emphmodechars
opcode (see noemphchars
and emphmodechars
).
Word emphasis can also be canceled with an explicit closing indicator. Usually a word indicator is put at the the beginning of the word, but it may also be used for cases where the emphasis starts in the middle of the word.
begemphword <emphasis class> <dot pattern>
Braille dot pattern to indicate the beginning of an emphasized word or the beginning of emphasized characters within a word.
begemphword underline 456-36
endemphword <emphasis class> <dot pattern>
Word emphasis ends implicitly when the word ends. When an indication is required to close word emphasis, i.e. when emphasis ends in the middle of a word, then this opcode defines the braille dot pattern that is used.
endemphword transnote 6-3
When emphasis ends in the middle of a word and there is no
endemphword
definition, a letter indicator must be defined (see Letter indicator).emphmodechars <emphasis class> characters
-
Normally, only spaces and unemphasizable characters (see
space
andnoemphchars
) will cancel thebegemphword
indicator (seebegemphword
). However this can be overruled with theemphmodechars
opcode. Ifemphmodechars
is specified, any character that is not in the specified list and is not a letter (seeuppercase
,lowercase
orletter
) will cancel thebegemphword
indicator. Conversely, letters and characters that are in the list will not cancel the word indicator.Example:
emphmodechars underline -