Re: [TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread David Allsopp
> On Tue, 8 Dec 2009, David Allsopp wrote: > > > How about \raise\xpos\rlap{\kern\ypos#3} instead? > > Works fine if I express the vertical position of the first \rlap in > terms of > \internote's above the first line, but is there any way to make a macro > that > accomodates a note name, like \z

Re: [TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread Jean-Pierre Coulon
On Tue, 8 Dec 2009, David Allsopp wrote: How about \raise\xpos\rlap{\kern\ypos#3} instead? Works fine if I express the vertical position of the first \rlap in terms of \internote's above the first line, but is there any way to make a macro that accomodates a note name, like \zcharnote and co

Re: [TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread David Allsopp
Jean-Pierre Coulon wrote: > On Tue, 8 Dec 2009, David Allsopp wrote: > > > Be careful when writing macros - the blank line at the top of > > \macboucle will translate to a \par in the expansion. It's also a good idea to > > put a "%" to prevent spaces in \def's. > > There are so many blank lines

Re: [TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread Jean-Pierre Coulon
On Tue, 8 Dec 2009, David Allsopp wrote: Be careful when writing macros - the blank line at the top of \macboucle will translate to a \par in the expansion. It's also a good idea to put a "%" to prevent spaces in \def's. There are so many blank lines in musixtex.tex that I didn't think of this

Re: [TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread David Allsopp
Be careful when writing macros - the blank line at the top of \macboucle will translate to a \par in the expansion. It's also a good idea to put a "%" to prevent spaces in \def's. There's also no need to use \makeatletter and \makeatother unless you're accessing internal macros containing the "@" s

[TeX-Music] "do loop" with \zcharnotes.

2009-12-08 Thread Jean-Pierre Coulon
I want to make a macro which repeats a number of \zcharnotes in sort of a "do loop". What causes TeX to say "! Dimension too large." with the attached TeX file? If I answer 'r' to the error message it seems my \zcharnotes are correctly executed. Regards, Jean-Pierre Coulon c