From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9100 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: crossword grid Date: Thu, 29 Aug 2002 23:39:52 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020829233847.02007298@server-1> References: <001401c24eff$be771f20$265b4ca5@MATTHEW> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399455 680 80.91.224.250 (23 Oct 2002 18:57:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:57:35 +0000 (UTC) Cc: Original-To: "Matthew Huggett" In-Reply-To: <001401c24eff$be771f20$265b4ca5@MATTHEW> Xref: main.gmane.org gmane.comp.tex.context:9100 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9100 At 10:52 AM 8/29/2002 +0900, Matthew Huggett wrote: >Does anyone have any ideas on how to typeset grids for crossword puzzles in >ConTeXt? Is it doable? yes, yes: \setupcolors[state=start] \def\X#1{\bTD[background=color,backgroundcolor=white]#1\eTD} \def\N {\bTD\eTD} \bTABLE [background=color,backgroundcolor=black, offset=0pt,width=1.5em,height=1.5em,align={lohi,middle}] \bTR\Y{c}\Y{o}\Y{n}\Y{t}\Y{e}\Y{x}\Y{t}\eTR \bTR\N \Y{n}\N \Y{w}\N \N \Y{h}\eTR \bTR\N \Y{e}\N \Y{o}\N \N \Y{r}\eTR \bTR\N \N \N \N \N \N \Y{e}\eTR \bTR\N \N \N \N \N \N \Y{e}\eTR \eTABLE you can now probably figure out how to generate / add those numbers as well Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------