font-style
Factor handbook > Input and output > Formatted output > Text styles > Character styles

Prev:font-size
Next:href


Vocabulary
io.styles

Word description
Character style. Font style, one of plain, bold, italic, or bold-italic.

Examples
This example outputs text in all three styles:
USING: accessors hashtables io io.styles kernel sequences ; { plain bold italic bold-italic } [ [ name>> ] keep font-style associate format nl ] each


Definition