From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3897 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Hiding words Date: Sun, 28 Jan 2001 23:06:25 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010128230625.00accb60@server-1> References: <20010128093030.A913@ruhrau.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394604 21087 80.91.224.250 (23 Oct 2002 17:36:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:36:44 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: johannes.huesing@ruhrau.de In-Reply-To: <20010128093030.A913@ruhrau.de> Xref: main.gmane.org gmane.comp.tex.context:3897 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3897 At 09:30 AM 1/28/01 +0100, you wrote: >Hi all, > >it is known to me that you can hide blocks from the text so that they >are not processed. Is it possible to hide just the appearance of the >words, so something like > >\hidetext{Meta} is a lioness. > >would appear as > > is a lioness. > >and not as > >is a lioness. > >I would like to write a lecture script with some spaces left blank so >the students can fill them out. There are some specific commands for that, see core-rul.tex and search for fillin; else follow Frans's suggestion of phantom. if you want a low level example: \enablemode[ShowSolution] \def\GuessWhat#1% {\underbar{\bf\doifmodeelse{ShowSolution}{#1}{\hphantom{#1}}}} bla bla \GuessWhat{blabla} bla bla now, guess what happens with \disablemode[ShowSolution] 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 -------------------------------------------------------------------------