> Depending on whether there are questions in a line of output
> and whether there are questions in adjacent lines, the line
> spacing keeps changing.
It's because of the "extra line space" function \x.
I see now that the \o is not responsible for the line spacing problems. The
differences in spacing between modes 1 and 2/3 are however rather
frustrating.
maouinin wrote:
>
> Could this be because of the use of \o to center the first letter in
> question above the blank?
> .if \\nm=1 \Z'\o'_\s'
OK. All the blanks of all types are working for me now -- that is when I
enter the punctuation marks after a question as the second parameter passed
to the macro. I am having one issue with the spacing in the "easy" mode
(mode 1) questions. Depending on whether there are questions in a line of
out
Hi maouinin,
Tadziu wrote:
> With groff, instead of "--", you have to use "\[en]" to get an
> en-dash. For left and right quotes use "\[lq]" and "\[rq]".
Or the older style of \(en for the two-letter ones. There's also
preconv(1), normally invoked with groff's -k option. That way you can
feed
> When I give these tests, which often run into a number of
> pages I like to put the "page_number of total_pages".
> Something like "page 3 of 8". This at times helps me avoid
> some classroom/testing confusion. In TeX there is a package
> for this, "lastpage" if I remember correctly. How would I
Thank you. He probably did. It works. So now everything works, including the
user.
When I give these tests, which often run into a number of pages I like to
put the "page_number of total_pages". Something like "page 3 of 8". This at
times helps me avoid some classroom/testing confusion. In TeX t
Hi maouinin,
> Here is the entirety of the macro supplied by Tadziu Hoffmann in the
> original thread.
Did Tadziu intend you to write
.Q movies .
with any needed punctuation supplied as a second parameter, as is common
in some macro sets? I see .Y refers to $2.
Cheers, Ralph.
Ralph Corderoy wrote:
>
>
> I didn't notice anything from a quick look. I think I'd need a small,
> self-contained, complete, example of the fault that I could runoff.
>
>> \h'\\n[w]u'\v'1m'\\*[n]\v'-1m'\h'\\n[w]u'\\$2\x'1m'\x'-1m'
>
>
>
Sorry. The thread is over a year old. Here is the
Hi maouinin,
> In mode 1, the blanks, etc. are printed and followed by whatever
> punctuation is present. However in modes 2 and 3, I am unable to get
> the punctuation to print. Any suggestions would be greatly
> appreciated.
I didn't notice anything from a quick look. I think I'd need a small
After an extended hiatus, during which time I have been using the kludge of
fractions within TeX , I am back to trying to get what I want with groff.
The last adjustments took care of most of my problems. In mode 1, the
blanks, etc. are printed and followed by whatever punctuation is present.
Howe
Sorry that this was a bit confusing... I have a habit of using
the old-style roff syntax with one- or two-character names.
Here's a slightly revised version using groff's extended syntax
(which is probably a bit easier to understand for novices)
including a short description of how it's supposed
On 02/17/2012 02:45 PM, maouinin wrote:
>> \h'\\nwu'\v'1m'\\*n\v'-1m'\h'\\nwu'\\$2
father on:
\*n \" recalls string of name n
\v'-1m' \" vertical move up one (1) line (m), this is a value.
Note that \v for instance will interpret values by a default unit, used
in absence of one given. There
Hi maouinin,
I'll have a stab...
> > if \\nm=1 .X \\$@
>
> I follow the front, but what is \\$@?
From
.de Q
.if \\nm=1 .X \\$@
.if \\nm=2 .Y \\$@
.if \\nm=3 .Y \\$@
..
$@ refers to all the arguments passed to the macro, similar to $@ and $*
in sh. IOW, macro Q is calling
Tadziu Hoffmann wrote:
>
>
> How about this, just to throw some ideas into the pool:
> (Of course there's lots of stuff that can be tweaked.
> For example, I left out the extra line in the "easy" case
> because I personally didn't like it.)
>
>
>
> .\"
> .\"
> --
On 11-Feb-2012 Tadziu Hoffmann wrote:
> How about this, just to throw some ideas into the pool:
> (Of course there's lots of stuff that can be tweaked.
> For example, I left out the extra line in the "easy" case
> because I personally didn't like it.)
>
> .\"
> .\"
How about this, just to throw some ideas into the pool:
(Of course there's lots of stuff that can be tweaked.
For example, I left out the extra line in the "easy" case
because I personally didn't like it.)
.\"
.\"
.de Z
.s
Ralph Corderoy wrote:
>
> Hi maouinin,
>
> Just to make we're aiming at the right target, can you confirm/correct
> these...
>
>> 1) for strong students: a blank line with the question number below --
>> no first letter given
>
> The blank line is contiguous and of fixed length, giving no clu
Hi maouinin,
Just to make we're aiming at the right target, can you confirm/correct
these...
> 1) for strong students: a blank line with the question number below --
> no first letter given
The blank line is contiguous and of fixed length, giving no clue as to
the word length. The question numb
ted.harding-3 wrote:
>
> On 10-Feb-2012 maouinin wrote:
>> What would be the best way to use a regularly incremented
>> variable within fractions?
>>
>> I teach ESL and I hope to typeset cloze tests where selected
>> individual words are replaced by a blank space (a short line
>> or underscore
On 10-Feb-2012 maouinin wrote:
> What would be the best way to use a regularly incremented
> variable within fractions?
>
> I teach ESL and I hope to typeset cloze tests where selected
> individual words are replaced by a blank space (a short line
> or underscore) which has the question number pr
What would be the best way to use a regularly incremented variable within
fractions?
I teach ESL and I hope to typeset cloze tests where selected individual
words are replaced by a blank space (a short line or underscore) which has
the question number printed below it. I have done this in LaTeX
21 matches
Mail list logo