Hello Thomas!
On Sun, Jul 27, 2008 at 11:31:35AM +0200, [EMAIL PROTECTED] wrote:
> i have an song with an repeat sign. Infront of the repeat sign i should
> have 2 text lines and after the repeat lines i need only one single
> textline. How could i code this? Does somone have an simple code
> example?
Using "plain MusiXTeX" instead of M-Tx, this is done simply by reassigning
the lyrics lines at the repeat sign - as in this example:
8<-----------------------------------------------------------------
\input musixtex
\input musixlyr
\generalmeter{\meterfrac34}
\generalsignature2
\setsongraise1{-2mm}
\setlyrics{repeat1}{Win-ter a-de,}
\setlyrics{repeat2}{schei-den tut weh,}
\setlyrics{follow}{a-ber dein Schei-den macht,}
\assignlyrics1{repeat1,repeat2} % we start with two lyrics lines
\startextract
\NOtes\qa{ffe}\en\bar
\NOTesp\hup d\en\rightrepeat
\assignlyrics1{follow}% continue with single follow-up lyrics line
\NOtes\qa{fgh}\en\bar
\NOtes\qa h\en
\Notes\beginmel\Ibu0gf1\qb0g\endmel\tqh0f\en
\NOtes\qa g\en
\endextract
\bye
8<-----------------------------------------------------------------
The single lyrics line after the repeat sign is then vertically centered
around the previous block of multiple lyrics lines. This is appropriate
for chorus lyrics that follow a set of verses, but if all lyrics belong to
a single verse only, you may rather wish to have the lyrics continuation
bottom-aligned with the lower lyrics line before the repeat sign. There
are several ways to achive this; for example:
8<---------------------------------------------------------------------
\input musixtex
\input musixlyr
\generalmeter{\meterfrac34}
\generalsignature2
\setsongraise1{-2mm}
\setlyrics{line1}{Win-ter a-de,}
\setlyrics{line2}{schei-den tut weh, a-ber dein Schei-den_ macht,}
\assignlyrics1{line1,line2} % this assignment is in effect
% throughout the piece
\startextract
\NOtes\qa{ffe}\en\bar
\NOTesp\hup d\en\rightrepeat
\verses{\lyricsoff}% "switch off" the incomplete upper lyrics line;
% nevertheless, it still occupies vertical space,
% forcing bottom-alignment of the lower lyrics line
\NOtes\qa{fgh}\en\bar
\NOtes\qa h\en
\Notes\Ibu0gf1\qb0g\tqh0f\en
\NOtes\qa g\en
\endextract
\bye
8<---------------------------------------------------------------------
Best regards,
Rainer
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://mailman.daimi.au.dk/mailman/listinfo/tex-music