[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: REQUEST: #'omit and #'include options for \repeat unfold?
From: |
Johan Vromans |
Subject: |
Re: REQUEST: #'omit and #'include options for \repeat unfold? |
Date: |
Mon, 5 Jan 2015 23:35:57 +0100 |
On Mon, 5 Jan 2015 17:19:47 -0500
Kieren MacMillan <address@hidden> wrote:
> Another oft-encountered use case would be
>
> \repeat unfold N { a4\pp a a a }
>
> for which one currently must write
>
> a4\pp a a a \repeat unfold N-1 { a4 a a a }
\repeat unfold N { \atfirstrepeat{a\pp} \atsecondrepeat{a\ff} a a a }
\repeat unfold N { \atrepeat{{a\pp}{a\ff}} a a a }
I think these should be relatively easy to implement in scheme,
provided you can examine the value of the current repeat counter.
-- Johan