[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Using variables from register within fractions or equations
From: |
maouinin |
Subject: |
[Groff] Using variables from register within fractions or equations |
Date: |
Fri, 10 Feb 2012 01:41:15 -0800 (PST) |
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.
- [Groff] Using variables from register within fractions or equations,
maouinin <=
- Re: [Groff] Using variables from register within fractions or equations, Ted Harding, 2012/02/10
- Re: [Groff] Using variables from register within fractions or equations, maouinin, 2012/02/10
- Re: [Groff] Using variables from register within fractions or equations, Ralph Corderoy, 2012/02/11
- Re: [Groff] Using variables from register within fractions or equations, maouinin, 2012/02/11
- Re: [Groff] Using variables from register within fractions or equations, Tadziu Hoffmann, 2012/02/11
- Re: [Groff] Using variables from register within fractions or equations, Ted Harding, 2012/02/11
- Re: [Groff] Using variables from register within fractions or equations, maouinin, 2012/02/17
- Re: [Groff] Using variables from register within fractions or equations, Ralph Corderoy, 2012/02/17
- Re: [Groff] Using variables from register within fractions or equations, Holger Herrlich, 2012/02/18
- Re: [Groff] Using variables from register within fractions or equations, Tadziu Hoffmann, 2012/02/19