[TeX-music] raggedstoppiece

2003-09-16 Thread Olivier Vogel
Dear Gerhard,

The error provided by musixflx is due to the fact that \raggedstoppiece and 
\stoppiece are redundant. Just use \raggedstoppiece.

---
\input musixtex
\input musixext
\startmuflex
\startpiece\addspace\afterruleskip%
\Notes\qu{cdefgfedc}\en
\alaligne
\Notes\qu{cdefgfedc}\en
\raggedstoppiece
\bye
---
However, the result is perhaps not exactly what you desire, because the 
staff continues until the end of the line. To get a shorter line of music, 
you have to do the following:

1) before the last line, replace \alaligne by \stoppiece
2) adjust the counter of bars : \startbarno\barno
3) put the last line as a separate piece inside a \vbox and specify the 
desired width

---
\input musixtex
\startmuflex
\startpiece\addspace\afterruleskip%
\Notes\qu{cdefgfedc}\en
\stoppiece
\startbarno\barno
\vbox{\hsize=10cm\startpiece\addspace\afterruleskip%
\Notes\qu{cdefgfedc}\en
\stoppiece}
\bye
---
Olivier

_
MSN Messenger : discutez en direct avec vos amis!  
http://messenger.fr.msn.ch

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


[TeX-music] raggedstoppiece

2003-09-16 Thread Dr. Gerhard Eber
I try to include several short music examples (1 to 3 lines) in a
larger text file. In this case it looks better if the last line
doesn't end at the right border, for this reason I tried to include
musixext and put the command \raggedstoppiece before the \stoppiece
command. But the musixflx then says: "division by zero, ask a wizard",
which I do herewith. -- Thanks for your help!

Gerhard Eber
_
Dr. Gerhard EberPhone +49-721-5161450
Software Department FAX   +49-721-5161480
Bruker Biospin GmbH Email: [EMAIL PROTECTED]
D-76287 RheinstettenAm Silberstreifen
_

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music