Hello Andre!
On Fri, Jan 13, 2006 at 06:36:09AM +0100, Andre Van Ryckeghem wrote:
> Why the braces are not needed in generalmeter?
>
> \generalmeter{\meterfrac{4}{4}\meterfrac{2}{4}\meterfrac{1}{4}}%
>
> is OK but here they are needed:
>
> \setmeter2{{\meterfrac{3}{6}}{\meterfrac{3}{8}}}%
Well, both commands interpret their arguments differently. While
\setmeter splits up its second argument into up to four separate pieces
which are "executed" one by one later, \generalmeter takes all of its
argument as a single token sequence which is then "executed" altogether,
no matter whether it (or parts of it) is enclosed in additional braces
or not. Therefore, \generalmeter doesn't care about the structure of
its argument, whereas \setmeter must understand the argument's list
structure, and braces must be used to make this list structure explicit
(unless a list element consist of a single token only, as in the
\setmeter1\meterC example).
Best regards,
Rainer
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music