##### 8.5.5.4 Specifying symbols for bulleted lists

Bullet symbols are specified by their Unicode values for both HTML and RTF output, but the way you express those Unicode values is somewhat different.

Bullet symbols for HTML output

For example, to specify different bullets for bulleted lists at different levels in HTML, you assign a Unicode hexadecimal value to the form property of a format component:

[Bullet1Num]
stream = none
form = <U+2022/><tab/>

[Bullet2Num]
stream = none
form = <U+25E6/><tab/>

[Bullet3Num]
stream = none
form = <U+25AA/><tab/>

There is no color property for bullets in CSS. To change the color of the bullet for HTML output, you would have to use a graphic that has the color and shape you want.

Bullet symbols for RTF output

To change the bullet style for RTF output, you assign a Unicode decimal value to the start property of the bulleted format itself (rather than a format component). For example the system definition of Bulleted1 specifies the following start property for RTF:

start = {\\uc1\\u8226*}\\tab\~

This is the RTF code to put a Unicode bullet (or asterisk, if the specified bullet is not in the font), then a tab, then a fixed space.You can change the Unicode number to the number for the bullet style you want (in decimal!). For example, for a square bullet, you would use \\u9724*. The asterisk at the end of the Unicode number is the character to use if the font does not include the designated Unicode glyph.

To change the color of the bullet you must add \\cf codes, one before the bullet to add the color, and one after it to set the color back to black. To specify the color, you need the Word index number, which you can insert with a predefined macro; for example:

<$_colornum("rgb(42,96,148")>

See Table 37-2 Predefined macros for RTF output. So the value of the start property for your modified bulleted format would be as follows:

start={\\cf<$colornum("rgb(42,96,148")>\\uc1\\u9724*}\\tab\~

See Table 8-3 Properties of number format components.

Previous Topic: 8.5.5.3 Numbering chapters, figures, and tables

Next Topic: 8.6 Configuring run-in headings for text formats

Parent Topic: 8.5.5 Considering examples of numbering schemes

Sibling Topics:

8.5.5.1 Numbering ordered lists

8.5.5.2 Modifying the appearance of numbers

8.5.5.3 Numbering chapters, figures, and tables

Table of Contents • Index