Hi all,
In MusiXTeX, I would like to put some staffs next to each other. In
order to do so, I put some extracts (\startextract ... \endextract) in
boxes, and glue the boxes together in the way that I want them. Some
example code will follow below.
The problem is that I cannot seem to manage the horizontal width of the
extracts. Setting different \hsize for different extracts does not work.
Setting \hsize on a piece (\startpiece ... \endpiece) works fine, but I
cannot use more than one piece in a document. Perhaps I'm not correct
about all this, and perhaps I'm doing things wrong. Am I?
Thanks for any help you can provide,
Ronald Gelten
Sample code:
\input musixtex
\setbox0=\hbox{Chorus~2:\quad}
\setbox1=\hbox to \hsize{}
%
\nopagenumbers
\instrumentnumber 1
\setlines 1 5
\setsign 1 0
\parindent=0pt
\nobarnumbers
\nostartrule
\setbox2%
\vbox{\hsize=0.6\wd1
\startextract
\Notes\uptext{G}\qu d\qu e\qu f\qu g\qu a\qu b\qu c\qu d\en
\endextract
}
\setbox3%
\vbox{\hsize=0.2\wd1
\startextract
\Notes\uptext{D7}\qu d\qu e\qu f\qu g\qu a\qu b\qu c\qu d\en
\endextract
}
\hbox{\noindent
\vbox to\ht2{\vfil%
\hbox to\wd0{\hfil{\bf Picking}\hfil}%
\hbox to\wd0{\hfil{\bf verses:}\hfil}%
\vfil}%
\box2
\vbox to\ht3{\vfil%
\hbox to\wd0{\hfil{\bf Picking}\hfil}%
\hbox to\wd0{\hfil{\bf chorus:}\hfil}%
\hbox to\wd0{\hfil{\bf (incl. D7)}\hfil}%
\vfil}%
\box3
}
%
\bye
--
Eindhoven University of Technology | tel: +31 40 2475032
e-mail: [EMAIL PROTECTED] | fax: +31 40 2455054
http://www.tak.chem.tue.nl/personal/rgelten/
"Trust me, I'm a doctor!" - S.P. Bates, Ph.D.