This is a much simpler and nicer and clever solution, i never had found this myself. About the new page, perhaps extend the redefinition of alaligne to contpiece?

I tried this after changing tne npages from 1 to 2:

\\let\contpiecesav\contpiece\let\myalaligne\alaligne\
\\\def\contpiece{\let\contpiece\contpiecesav\setclefs30\setstaffs31\interstaff{8}\contpiecesav}\
\\\def\alaligne{\let\alaligne\myalaligne\stoppiece\setclefs30\setstaffs31\contpiece}\


Andre
----- Original Message ----- From: "Don Simons" <[EMAIL PROTECTED]>
To: "Typesetting music with TeX" <tex-music@icking-music-archive.org>
Sent: Sunday, February 18, 2007 1:03 AM
Subject: RE: [TeX-music] Changing number of staves per instrument in midstream


Thanks, Olivier, this seems to work. Andre, do you see anything wrong with
it? Haven't started trying to apply it yet but there might be issues with
page breaks.

--Don Simons

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Olivier
Vogel
Sent: Saturday, February 17, 2007 1:39 PM
To: Typesetting music with TeX
Subject: [TeX-music] Changing number of staves per instrument in
midstream


Don, is what you want as simple as the following or do I misunterstand
your problem?

Olivier

8<---------------------------------
% nv,noinst,mtrnuml,mtrdenl,mtrnump,mtrdenp,xmtrnum0,isig,
    7   -6 1 1 2 1 1 1  4  4  4  4     0  0
% npages,nsyst,musicsize,fracindent
   1 3 16 0.08
6
5
4
3
2
1
btbtttt
./
AI.0

\\interstaff{8}\
rp /
rp /
rp /
rp /
rp /
rp /
rp /

%%
\\\def\alaligne{\stoppiece\setclefs30\setstaffs31\contpiece}\
%3\\\def\alaligne{\stoppiece\setclefs10\setstaffs11\contpiece}\
rp /
rp /
rp /
rbp /
rp /
rp /
rp /

%%
\\\def\alaligne{\stoppiece\setclefs3{60}\setstaffs32\contpiece}\
%3\\\def\alaligne{\stoppiece\setclefs1{60}\setstaffs12\contpiece}\
rp /
rp /
rp /
rbp /
rp /
rp /
rp /

8<---------------------------------

_______________________________________________
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music



_______________________________________________
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


_______________________________________________
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to