<[email protected]> writes:

> \assignlyrics1{cresc1} % can be placed before any note
> ...
> \assignlyrics1{}% can placed after any note


Unfortunately the placement is not precise as shows test3.tex.

Rainer's example seems to be precise in placement, and besides has the
advantage that in \setlyrics the items don't need to be equal to the number of
notes they span.

Two issues though: suppose I have a piano score i.e. two staves per one
instrument; and suppose that I want to repeat the crescendo in another place of
the score: I get error as shown in test2.tex.

Please still help.

It still remains quite complicated and personally I think that in future
versions of MusiXTeX a special simple command should be dedicated to that sort
of `dashed' crescendo which is quite a lot used.

Thanks,
Rodolfo


\input musixtex
\input musixlyr

% all preparations in the preamble
\setlyrics{cresc1}{cresc.-{}} % empty syllable "anchors" the hypenation end
\assignlyrics1{cresc1}
\setsongraise1{-1\Interligne}
\def\lyrhyphenchar{\_}
\minmulthyphens8mm

\setstaffs12%
\startpiece
\notes
\lyricsoff % no lyrics at every note automatically
\qu{abcd}%
|\qu{abcd}%
\en
\bar %2
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %3
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %4
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %5
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %6
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %7
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %8
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %9
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %10
\notes
\qu{ab}%
\llyr\lyrrule\lyr % left-aligned "cresc." at following note
\qu{cd}%
|\qu{abcd}%
\en
\bar %11
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %12
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %13
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %14
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\znotes\lyrruleend\lyr\en % empty syllable finishes hyphens just at the barline
\bar %15
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %16
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %17
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %18
\notes
\llyr\lyrrule\lyr % left-aligned "cresc." at following note
\qu{abcd}%
|\qu{abcd}%
\en
\bar %19
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %20
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\znotes\lyrruleend\lyr\en % empty syllable finishes hyphens just at the barline
\bar %21
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\Endpiece

\vfill\eject\end
\input musixtex
\input musixlyr

\setlyrics{cresc1}{cresc.- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -}
\def\lyrhyphenchar{\_}
\minmulthyphens8mm

\startpiece
\notes
\qu{abcd}%
\en
\bar %2
\notes
\qu{abcd}%
\en
\bar %3
\notes
\qu{abcd}%
\en
\bar %4
\notes
\qu{abcd}%
\en
\bar %5
\notes
\qu{abcd}%
\en
\bar %6
\notes
\qu{abcd}%
\en
\bar %7
\notes
\qu{abcd}%
\en
\bar %8
\notes
\qu{abcd}%
\en
\bar %9
\notes
\qu{abcd}%
\en
\bar %10
\notes
\lyr\qu{ab}\assignlyrics1{cresc1}%
\qu{cd}%
\en
\bar %11
\notes
\qu{abcd}%
\en
\bar %12
\notes
\qu{abcd}%
\en
\bar %13
\notes
\qu{abcd}%
\en
\bar %14
\notes
\qu{abcd}%
\assignlyrics1{}%
\en
\bar %15
\notes
\qu{abcd}%
\en
\bar %16
\notes
\qu{abcd}%
\en
\bar %17
\notes
\qu{abcd}%
\en
\bar %18
\notes
\qu{abcd}%
\en
\bar %19
\notes
\qu{abcd}%
\en
\bar %20
\notes
\qu{abcd}%
\en
\bar %21
\notes
\qu{abcd}%
\en
\Endpiece

\vfill\eject\end
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to