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 by using
fractions within the math environment paired with a counter as the
denominator:
\newcommand{\pq}{\hspace{1mm} \stepcounter{qnum}
\begin{math}
_\frac{\hspace{3cm}}{\theqnum}
\end{math}
and the following:
I am honored to be with you today at your commencement...
becomes:
I am h_______ to be with you today at your c________ ...
1 2
Is this possible with groff, using eqn perhaps? Is it possible to use
variables from number registers within equations or fractions?
--
View this message in context:
http://old.nabble.com/Using-variables-from-register-within-fractions-or-equations-tp33299025p33299025.html
Sent from the Groff - General mailing list archive at Nabble.com.