Am 07.09.2010 um 09:32 schrieb Cecil Westerhof:

> It is a little worse. There is also no space between the 'checkbox'
> and the description.
> I want:
>    title
>        [  ] Yes
>        [  ] No
>        [  ] A little bit
> but I get:
>            title
>        [  ]Yes
>        [  ]No
>        [  ]A little bit

\definesymbol[checkbox][{[~~~]}]

\starttext

\def\startcheckbox
  {\dosingleempty\dostartcheckbox}

\def\dostartcheckbox[#1]%
  {\blank
   \doifsomething{#1}{\leftaligned{#1}}%
   
\startitemize[packed,intro,joinedup,columns,three][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em]}

\def\stopcheckbox
  {\stopitemize
   \blank}

\startcheckbox
\item A
\item B
\item C
\item D
\item E
\item F
\stopcheckbox

\startcheckbox[title]
\item A
\item B
\item C
\item D
\item E
\item F
\stopcheckbox

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to