Hello Martin! On Mon, Apr 15, 2002 at 02:51:14PM +0200, [EMAIL PROTECTED] wrote: > The following Code arises a strange spacing between the last two systems of > page 1. > The first movement contains 4 voices, the second 2 and the third 4 again. > > When I don't use musixlyr everything is ok, but I need it for the text.
This problem has already occurred once or twice quite a time ago, if I remember correctly. It is indeed caused by combining PMX and musixlyr for writing a sequence of movements with increasing instrument numbers: PMX does not strictly synchronize the instrument number change with the movement break; without musixlyr, this is no problem at all. However, musixlyr must rely on the system layout (number of instruments, staves, and vertical spacing) to be the same throughout a system because it performs some "system closing" actions as part of each system break. PMX now sets the number of instruments of the last movement to 4 before the second movement is actually finished, thus musixlyr assumes 4 instruments at the movement ending; as a result, the final system of this movement consumes as much vertical space as a system with four instruments, leading to the weird spacing. > Is there a possibility to enforce an equal spacing for the 2-voice-systems? I've currently no idea of a workaround, i.e. superseding some of pmx.tex's macros within your score header in order to fool PMX into doing the desired thing. There's no chance either to let musixlyr guess the actual number of instruments of a system in case this number is set inappropriately at the system ending. The only way that comes to my mind is editing the resulting .tex file: The \stoppiece call that finishes a movement must occur _before_ the system settings (\instrumentnumber etc.) are redefined for the next movement. See the following fragment, and compare it with the corresponding portion of your example's .tex file: 8<----------------------------------------------------------- % Bar count 5 \alaligne \pnotes{2.83}\ql{''C}\ql D\ql E\ql F&\qu c\qu d\qu e\qu f\en% \newmovement00% \stoppiece% \instrumentnumber4 %\newnoi{4}% \setstaffs11% \setclef16% \setstaffs21% \setclef20% \setstaffs31% \setclef30% \setstaffs41% \setclef40% \setname1{Continuo}% \setname2{Sporano}% \setname3{Violino 2}% \setname4{Violino 1}% \akkoladen{{1}{1}{3}{4}}% % Bar 1-2 % Bar count 6 %\newmovement00% %\stoppiece% 8<----------------------------------------------------------- Altering the .tex file the way cited above removes the problem, at least for me (based on PMX 2.3; I don't know whether more current beta versions behave differently). A more thorough solution wouldn't be possible without altering PMX itself, I'm afraid. Regards, Rainer _______________________________________________ TeX-music mailing list [EMAIL PROTECTED] http://sunsite.dk/mailman/listinfo/tex-music