ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mark off boxes
@ 2015-05-03 20:53 henman
  2015-05-03 21:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: henman @ 2015-05-03 20:53 UTC (permalink / raw)
  To: ConTeXt Typesetting

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Mark off boxes
  2015-05-03 20:53 Mark off boxes henman
@ 2015-05-03 21:14 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2015-05-03 21:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 03.05.2015 um 22:53 schrieb henman <dhenman@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-03 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-03 20:53 Mark off boxes henman
2015-05-03 21:14 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).