On Mon, Aug 09, 2004 at 03:24:39PM +0200, Stefan Wachter wrote:
> Is there a possiblity to have marginal notes (e.g. by using \marginpar) 
> in the lyrics of songs. When I try \marginpar inside the \setlyrics 
> macro then an error is returned.
> [...]
> Background: I want to output verse numbers as marginal notes (like it is 
> often done in church song books). The text of the first verse is set by 
> \setlyrics.

Yes, \marginpar doesn't work inside nested box arrangements like music 
with lyrics. The easiest way to place a verse number into the page margin  
would be to treat the number like a syllable and to attach it to a 
"virtual" note that stands out to the left of the system, like this:

\setlyrics1{1 a b c d}
\assignlyrics11
\startpiece
  \znotes\loffset6\lyr\en
  \NOtes\qa{gggg}\en
\endpiece

(This example works as intended only as of musixlyr version 2.1b.)

It will be somewhat more complicated if the number shall be horizontally 
aligned with other margin elements, like numbers of verses printed 
blockwise below the music; but it should be feasible, too.

Best regards,

Rainer
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to