[NTG-context] Making checkboxes

Cecil Westerhof cldwesterhof at gmail.com
Tue Sep 7 01:07:14 CEST 2010


Op maandag 6 sep 2010 20:29 CEST schreef Wolfgang Schuster:

> I wonder why need this command when can get the same result with normal
> 	context commands:
>
> \definesymbol[checkbox][{[~~~]}]
> \defineitemgroup[checkbox]
> \setupitemgroup[checkbox][each][packed][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em]
>
> \starttext
>
> \startcheckbox
> \nop title
> \item Yes
> \item No
> \item A little bit
> \stopcheckbox
>
> \stoptext

I am still new to ConTeXt, so I did not know this. But in the future I
properly want to work with:
    [  ] a     [  ] b     [  ] c
    [  ] d     [  ] e     [  ] f
    [  ] g     [  ] h     [  ] i
    [  ] j     [  ] k     [  ] l
instead of:
    [  ] a
    [  ] b
    [  ] c
    [  ] d
    [  ] e
    [  ] f
    [  ] g
    [  ] h
    [  ] i
    [  ] j
    [  ] k
    [  ] l
or is that also possible with your way?

-- 
Cecil Westerhof
M CLDWesterhof at 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/


More information about the ntg-context mailing list