[NTG-context] Mark off boxes

2015-05-03 Thread henman

I am trying to create a form which will use check boxes in it.
I tried to use the \bigsquare character for the check box and put in in 
an itemize list.


The \bigsquare character, however does not display however in the 
itemized list, but will display by itself.  What do you normally do for 
check boxes?


Here is a minimal example:

-
\definesymbol[5]{\bigsquare}

\starttext
This is a big square: \bigsquare
  \startitemize[5]
 \item Choice a does not have a check box.
 \item Choice b also does not have a check box.
 \item Not really a choice. No checkbox (bitsquare) here either.
   \stopitemize
\stoptext

___
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
___

Re: [NTG-context] Mark off boxes

2015-05-03 Thread Wolfgang Schuster

 Am 03.05.2015 um 22:53 schrieb henman dhen...@gmail.com:
 
 I am trying to create a form which will use check boxes in it.
 I tried to use the \bigsquare character for the check box and put in in an 
 itemize list.

The \definesymbol command expects the argument in square brackets.

 The \bigsquare character, however does not display however in the itemized 
 list, but will display by itself.  What do you normally do for check boxes?


You can create your own box with the \framed command.

\definesymbol[BigSquare][{\framed[strut=no,width=1.5ex,height=1.5ex]{}}]

\starttext

This is a big square: \symbol[BigSquare].

\startitemize[BigSquare]
  \item Choice a does not have a check box.
  \item Choice b also does not have a check box.
  \item Not really a choice. No checkbox (bitsquare) here either.
\stopitemize

\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
___