[NTG-context] Custom itemize Symbols

2012-03-21 Thread 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

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Thomas A. Schmitz
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:

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread 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:

Re: [NTG-context] Custom itemize Symbols

2012-03-21 Thread Wolfgang Schuster
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.

Re: [NTG-context] custom itemize

2006-08-07 Thread Aditya Mahajan
On Fri, 4 Aug 2006, Renaud AUBIN wrote: % frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]}

[NTG-context] custom itemize

2006-08-04 Thread Renaud AUBIN
Hi all, Some times ago, Taco helps me to define a custom itemize: \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax] The result

Re: [NTG-context] custom itemize

2006-08-04 Thread Taco Hoekwater
Renaud AUBIN wrote: Hi all, Some times ago, Taco helps me to define a custom itemize: \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr

Re: [NTG-context] custom itemize

2006-08-04 Thread Renaud AUBIN
% frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]} \def\stopfrenchitemize{\stopitemize} %

[NTG-context] custom itemize bullet

2005-07-28 Thread Stuart Jansen
I've added a custom font and defined symbols from it: % \loadmapfile[texnansi-glambats.map] \definefontsynonym [GlamoconRetrobats][texnansi-glambats][encoding=texnansi] \def\GlamoconRetrobatsSym#1{\getglyph{GlamoconRetrobats}{\char#1}} \startsymbolset[Glamocon Retrobats]

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
Stuart Jansen wrote: I've added a custom font and defined symbols from it: % \loadmapfile[texnansi-glambats.map] \definefontsynonym [GlamoconRetrobats][texnansi-glambats][encoding=texnansi] \def\GlamoconRetrobatsSym#1{\getglyph{GlamoconRetrobats}{\char#1}}

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Taco Hoekwater
Stuart Jansen wrote: For the benefit of anyone reading the archives, the solution requires a \bgroup \egroup pair. Alternatively, if you choose an as-of-yet unknown name for the symbol, then you need to explicitly use it, but no harm is done to the 'normal' environment:

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Stuart Jansen
On Thu, 2005-07-28 at 22:47 +0200, Taco Hoekwater wrote: \definesymbol[mysymbol][{$\diamond$}] \startitemize[mysymbol,packed] \item foo \item bar \item baz \stopitemize /me slaps forehead Of course. I was trying \startitemize[symbol=mysymbol] and getting nowhere. --

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
Stuart Jansen wrote: On Thu, 2005-07-28 at 21:52 +0200, Hans Hagen wrote: I've added a custom font and defined symbols from it: *snip* This produces the right symbol. But I can't figure out how to use that bullet in an itemized list. I don't think I can use \usesymbols because

Re: [NTG-context] custom itemize bullet

2005-07-28 Thread Hans Hagen
Stuart Jansen wrote: On Thu, 2005-07-28 at 22:47 +0200, Taco Hoekwater wrote: \definesymbol[mysymbol][{$\diamond$}] \startitemize[mysymbol,packed] \item foo \item bar \item baz \stopitemize /me slaps forehead as penalty add taco's solution to te wiki -) Hans