From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83236 Path: news.gmane.org!not-for-mail From: David Rogers Newsgroups: gmane.comp.tex.context Subject: Re: Cloze Text (text with gaps) Date: Wed, 26 Jun 2013 21:31:44 -0700 Message-ID: <864ncktbrj.fsf@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372307522 31844 80.91.229.3 (27 Jun 2013 04:32:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 04:32:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 06:32:05 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Us3sK-0001Mo-4p for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 06:32:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2E492101F7; Thu, 27 Jun 2013 06:32:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vKKMA9PlnZCr; Thu, 27 Jun 2013 06:32:01 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 88572101E5; Thu, 27 Jun 2013 06:32:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76347101E5 for ; Thu, 27 Jun 2013 06:32:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5+M3E+EGAQsj for ; Thu, 27 Jun 2013 06:31:59 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 59EDB101E4 for ; Thu, 27 Jun 2013 06:31:49 +0200 (CEST) Original-Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [IPv6:2607:f8b0:400e:c01::229]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5R4VlTu030179 for ; Thu, 27 Jun 2013 06:31:48 +0200 Original-Received: by mail-pb0-f41.google.com with SMTP id rp16so362819pbb.28 for ; Wed, 26 Jun 2013 21:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=u47WMO09o3Npb4uigETh6kkwrlt59PCpiZosAlNqjxE=; b=aFZU67Nv0SrbUCcx5wq+7bk5hJmv/8CpdmkElbjvhPhSHi9Q649eC45caTiffhr/tJ fp7AnThGvRx26oFOmcVbnYYsnXvYCAervGSQeFuIUbbBOUtzN3zqgiJn0E+jNhtDNh5I nRypSt+pv+BWlSU2cVcxM4M5RSrndcsI55TywCu4VFd2SkDamyUfHMnf1zzkvAOfEbKi 1D+fST+OBaPHXtm219zpk01bd3JLt2DKPRQ1jnO6laS7QXuKcfY1i1q5DOoHaXdFU846 EQdim+ZfBPMIoqZTik8B3Dch3ouaF/W0bELjC+sgLYwAEz+1s8V1/HWbEiDubKlqarnZ WSVA== X-Received: by 10.68.179.225 with SMTP id dj1mr3973517pbc.193.1372307507233; Wed, 26 Jun 2013 21:31:47 -0700 (PDT) Original-Received: from blackbox (d75-157-16-2.bchsia.telus.net. [75.157.16.2]) by mx.google.com with ESMTPSA id y9sm1189106pbb.46.2013.06.26.21.31.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Jun 2013 21:31:46 -0700 (PDT) In-Reply-To: (Christian Prim's message of "Mon, 24 Jun 2013 16:36:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (berkeley-unix) X-Bayes-Prob: 0.8508 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400e:c01::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJRgvMKt - 0ab1f45dd12d - 20130627 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83236 Archived-At: Christian Prim writes: > I wonder if I can typeset a cloze text using context. The gaps (__________) > must have a given length (say in cm or the length of a given word, given > sentence) and must break at the end of a line. > > \hl[4] is nice but won't do the trick since it won't break. \fillinline and > others fill the hole line, but I only want to fill a given size. > > Are there some ideas how to deal with it? > > Example: > > The name of the _____________ is _____ > ________. And now it's time to go to bed. > Some more text..... I haven't tested these ideas... One possibility: type the answer in white, but give it a coloured \underbar. (You might need to type longer answers, or in a larger font size, to leave enough room for hand writing.) Another: use a \fillinline - you can define the length. -- David ___________________________________________________________________________________ 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 ___________________________________________________________________________________