Op dinsdag 7 sep 2010 10:13 CEST schreef luigi scarso:
The \hskip needs to be -4em, but then it does what it should. There is not a way to put the hskip in setupitemgroup? Maybe -- I don't know.
I found 'a way'. See later.
In my opinion, title should be go out the startcheckbox env.
Why?
The only problem left is that there is not a space between the 'checkbox' and the description.
\showframe \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox] \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=2em,distance=.5em] \starttext
\startcheckbox \nop \hskip -4.5em title \item Yes \item No \item A little bit \stopcheckbox
\stoptext
I defined: \definesymbol[checkbox][{[~~~]}] \defineitemgroup[checkbox] \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=2em,distance=.5em] % CheckBoxIndent = -(margin + width) = -4.5em \def\CheckBoxTitle[#1]{ \nop \hskip -4.5em #1 } And I call it with: \startcheckbox \CheckBoxtitle[title] \item Yes \item No \item A little bit \stopcheckbox It can properly be done better. But it works. -- Cecil Westerhof M CLDWesterhof@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/