![](https://secure.gravatar.com/avatar/1c0e810452e7ffc12218850af41e3ebc.jpg?s=120&d=mm&r=g)
Hi all, Is there a way to define your own itemize symbols? I would like a solid square, as in symbol 8 (referring to Table 10.1 in the Context Manual, but solid/filled whereas 8 is hollow. I tried to declare my own bullet point, as in: \def\squarebullet{\vrule height .9ex width .8ex depth -.1ex } % square bullet and then tried to use it in the \startitemize command, but it appears that command does not take commands as its first argument: \startitemize[\squarebullet, packed] \item foo \item baz ... \stopitemize So here goes that idea. Other idea was to use \sym{\squarebullet}. That actually works, however, the problem is that it needs to be specified for the individual bullet point. I need something that can be specified in \setupitemize, such that my writers get that symbol automatically without having any control over it. Any ideas? Regards, Malte
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On 03/21/2012 10:19 AM, Malte Stien wrote:
Hi all,
Is there a way to define your own itemize symbols? I would like a solid square, as in symbol 8 (referring to Table 10.1 in the Context Manual, but solid/filled whereas 8 is hollow.
I tried to declare my own bullet point, as in:
\def\squarebullet{\vrule height .9ex width .8ex depth -.1ex } % square bullet
and then tried to use it in the \startitemize command, but it appears that command does not take commands as its first argument:
\startitemize[\squarebullet, packed] \item foo \item baz ... \stopitemize
So here goes that idea. Other idea was to use \sym{\squarebullet}. That actually works, however, the problem is that it needs to be specified for the individual bullet point. I need something that can be specified in \setupitemize, such that my writers get that symbol automatically without having any control over it.
Any ideas?
have you tried \definesymbol [1] [\squarebullet] ? Or, if you want it only for a few items \sym{\squarebullet} HTH Thomas
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 21.03.2012 um 10:19 schrieb Malte Stien:
Hi all,
Is there a way to define your own itemize symbols? I would like a solid square, as in symbol 8 (referring to Table 10.1 in the Context Manual, but solid/filled whereas 8 is hollow.
I tried to declare my own bullet point, as in:
\def\squarebullet{\vrule height .9ex width .8ex depth -.1ex } % square bullet
and then tried to use it in the \startitemize command, but it appears that command does not take commands as its first argument:
\startitemize[\squarebullet, packed] \item foo \item baz ... \stopitemize
So here goes that idea. Other idea was to use \sym{\squarebullet}. That actually works, however, the problem is that it needs to be specified for the individual bullet point. I need something that can be specified in \setupitemize, such that my writers get that symbol automatically without having any control over it.
Any ideas?
\definesymbol[blacksquare][\textmath\blacksquare] \setupitemize[1][blacksquare] \starttext \startitemize \item One \item Two \item Three \stopitemize \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 21.03.2012 um 13:11 schrieb Wolfgang Schuster:
Am 21.03.2012 um 10:19 schrieb Malte Stien:
Hi all,
Is there a way to define your own itemize symbols? I would like a solid square, as in symbol 8 (referring to Table 10.1 in the Context Manual, but solid/filled whereas 8 is hollow.
I tried to declare my own bullet point, as in:
\def\squarebullet{\vrule height .9ex width .8ex depth -.1ex } % square bullet
and then tried to use it in the \startitemize command, but it appears that command does not take commands as its first argument:
\startitemize[\squarebullet, packed] \item foo \item baz ... \stopitemize
So here goes that idea. Other idea was to use \sym{\squarebullet}. That actually works, however, the problem is that it needs to be specified for the individual bullet point. I need something that can be specified in \setupitemize, such that my writers get that symbol automatically without having any control over it.
Any ideas?
\definesymbol[blacksquare][\textmath\blacksquare]
And for MkIV one can replace this with \setupsymbolset[text] because the “text” symbol set defines a “blacksquare” symbol. Wolfgang
participants (4)
-
Malte Stien
-
Thomas A. Schmitz
-
Wolfgang Schuster
-
Wolfgang Schuster