Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Christian Prim
Hello Wolfgang thanks for both \TextGap and \WordGap. That is exactly what I needed! Christian 2013/6/27 Wolfgang Schuster schuster.wolfg...@gmail.com Am 27.06.2013 um 20:53 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello Wolfgang. Here is example of other using of your TextGap.

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Jaroslav Hajtmar
Hello Wolfgang. I thank you as well. These macros I will also definitely come in handy. Sometimes I'm doing tests for my students. I solved it yet a little awkward, now it is OK. Thanx Jaroslav Dne 28.6.2013 9:06, Christian Prim napsal(a): Hello Wolfgang thanks for both \TextGap and

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-28 Thread Wolfgang Schuster
Am 28.06.2013 um 09:36 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello Wolfgang. I thank you as well. These macros I will also definitely come in handy. Sometimes I'm doing tests for my students. I solved it yet a little awkward, now it is OK. The code is usable but far from perfect

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-27 Thread Christian Prim
Thanks David I think the first one is a very good idea. But I failed to give the \underbar a color different to the one of the text. Can you help me please? Thanks Christian 2013/6/27 David Rogers davidandrewrog...@gmail.com Christian Prim christian.p...@gmx.ch writes: I wonder if I can

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-27 Thread Wolfgang Schuster
Am 24.06.2013 um 16:36 schrieb Christian Prim christian.p...@gmx.ch: Hi list 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

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-27 Thread Jaroslav Hajtmar
Hello Wolfgang. Here is example of other using of your TextGap. There is a problem in some lines? Why linewidth is change? Thanx Jaroslav Hajtmar \def\TextGap[#1]% {\scratchdimen#1\relax \divide\scratchdimen\plusten \dorecurse\plusten {\vrule width \scratchdimen height

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-27 Thread Wolfgang Schuster
Am 27.06.2013 um 20:53 schrieb Jaroslav Hajtmar hajt...@gyza.cz: Hello Wolfgang. Here is example of other using of your TextGap. There is a problem in some lines? Why linewidth is change? Add “width 0pt” to the \vrule arguments. See also my definition of \WordGap. \def\TextGap[#1]%

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-26 Thread David Rogers
Christian Prim christian.p...@gmx.ch 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

[NTG-context] Cloze Text (text with gaps)

2013-06-24 Thread Christian Prim
Hi list 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