Hello David and all,
Solution to your primary problem: With the latest release of MusiXTeX
(T.99) comes an extension package 'musixbar.tex' which provides macros that
do exactly what you require. Section 2.13.4 p.47 of the manual describes
the macros.
Here's another example, an excerpt from "The Marriage of Figaro":
I don't have a solution to your secondary problem. I'll be thinking about
it in the meantime...
Regards,
eMKay
========= Snip here ====================================
%%%%% Extensions
\input musixadd
\input musixfll
\input musixbar
\input musixlyr
%%%%% Pre-amble
\instrumentnumber7
\setstaffs32
\setclef1\bass
\setclef2\alto
\setclef6\bass
\generalsignature{0}
\generalmeter{\meterfrac24}
\songbottom1\songtop3
\groupbottom25\grouptop25
\groupbottom36\grouptop37
\setname1{\vbox{\hbox{\bf Cello \&}\hbox{D. Bass}}}
\setname2{\bf Viola}
\setname3{\vbox{\hbox{\bf Violin I}\vskip9\Interligne\hbox{\bf Violin II}}}
\setname4{\bf Soprano}
\setname5{\vbox{\hbox{\bf 2 Horn}\hbox{\bf ~~~in C}}}
\setname6{\bf 2 Bassoon}
\setname7{\bf 2 Oboe}
%%%%% This is where the bar lines are set
%%%%% This is where the bar lines are set
%%%%% This is where the bar lines are set
\indivbarrules
\sepbarrule4\sepbarrule5\sepbarrule6
%%%%% This is where the bar lines are set
%%%%% This is where the bar lines are set
%%%%% This is where the bar lines are set
\systemnumbers\relativeaccid
%%%%% Spacing
\parindent20mm
\beforeruleskip=0.5\afterruleskip
\interstaff{10}
\stafftopmarg=10\Interligne
\interinstrument=2\Interligne
\staffbotmarg=4\Interligne
%%%%% Macros
\let\ctp\centerpause
\let\ni\nextinstrument
\let\ns\nextstaff
\let\b\beginmel
\let\e\endmel
\def\mss{\multnoteskip\smallvalue\smallnotesize}
\def\MM#1{\multnoteskip{#1}}
\def\qap#1{\qa{.#1}}
\def\lift#1{\raise #1\Internote}
\def\snotes{\vnotes1.41\elemskip} % geometric
\def\gnotes{\vnotes1.29\elemskip} % geometric Grace notes
\def\Ctp{\centerbar{\liftpause{-2}}}
\def\ctphbo{\def\atnextbar{\znotes\ni\ni\ni\ni\ctp\ni\ctp\ni\ctp\en}}
\def\ctphBO{\def\atnextbar{\znotes\ni\ni\ni\ni\ctp\ni\Ctp\ni\Ctp\en}}
\def\ctpBO{\def\atnextbar{\znotes\ni\ni\ni\ni\ni\Ctp\ni\Ctp\en}}
\def\ctphbO{\def\atnextbar{\znotes\ni\ni\ni\ni\ctp\ni\ctp\ni\Ctp\en}}
\def\ctph{\def\atnextbar{\znotes\ni\ni\ni\ni\ctp\en}}
%####
\def\Idyn#1{\loffset{1.5}{\zchar{-12}{\ppff{#1}}}}
\def\idyn#1{\loffset{1.5}{\zchar{-8}{\ppff{#1}}}}
\def\iDyn#1{\loffset{1.5}{\zchar{12}{\ppff{#1}}}}
\def\IDyn#1{\loffset{1.5}{\zchar{16}{\ppff{#1}}}}
%####
\def\dyn#1{\loffset{1.5}{\zchar{11}{\ppff{#1}}}}
%####
\def\go#1{\golyr{jump#1}}
\def\Lcf{\lyrnop\lyrpt,}
%%%%% Title
\fulltitle{Dove sono}
\subtitle{from: Le Nozze di Figaro.}
\shorttitle{Dove sono}
\author{W A Mozart (1756--1791)}
\shortauthor{Mozart}
\maketitle
%%%%% Lyrics ###########################################################
\setlyrics{solo}{\llabel{jump0}Do-ve so-no i bei mo-men-ti, di
dol-cez-za e di pia-cer, do-ve\lyrlink an do-ro i giu-ra-men-ti
\llabel{jump1}di quel lab-bro men-zo-gner!}%
%####
\assignlyrics4{solo}%
%####
\setsongraise4{1\Interligne}%
%%%%% Lyrics ###########################################################
%%%%% Music
\startpiece\addspace\afterruleskip
%\linegoal=2%
\znotes\ni\ni\ni\ni\ni\ni
\loffset{3.5}{\zchar{16}{\medtype\bf Andantino}}\en
% bar 1
\Notes\idyn\p\ca J\er\ni
\er\idyn\p\ca L\ni
\er\idyn\p\ca N\ns\er\idyn\p\ca c\ni
\qap j\en
\Notes\ca M\er\ni
\er\ca M\ni
\er\ca a\ns\er\ca d\ni
\sk\ca k\en\ctphbo\bar
% bar 2
\Notes\ca N\er\ni
\Ibu0LK1\islurd0L\qb0L\tslur0K\tqh0K\ni
\islurd1N\qa N\ns\Ibu1cb1\islurd2c\qb1c\tslur2b\tqh1b\ni
\Ibl2ji1\b\isluru3j\qb2j\e\tslur3i\tqb2i\ni\ni
\lift6\qr\ni
\lift6\qr\en
\Notes\ca J\er\ni
\ca L\er\ni
\tslur1N\ca N\er\ns\ca c\er\ni
\ca j\er\ni\ni
\IDyn\p\Ibu0Nb1\ibsluru0N\qb0N\tbsluru0b\tqh0b\ni
\IDyn\p\Ibu1jk1\ibsluru1j\qb1j\tbsluru1k\tqh1k\en\ctphBO\bar
% bar 3
\Notes\ca c\er\ni
\er\ca N\ni
\er\ca c\ns\er\ca e\ni
\ca l\qa l\ni\ni
\cu c\lift6\er\ni
\cu l\lift6\er\en
\Notes\ca M\er\ni
\er\ca a\ni
\er\ca d\ns\er\ca f\ni
\sk\ca m\ni\ni
\lift6\qr\ni
\lift6\qr\en\ctphBO\bar
% bar 4
\Notes\ca N\er\ni
\islurd0N\qa N\ni
\Ibu0cb1\islurd1c\qb0c\tslur1b\tqh0b\ns
\Ibu1ed1\islurd2e\qb1e\tslur2d\tqh1e\ni
\Ibl2lk1\b\isluru3l\qb2l\e\tslur3k\tqb2k\ni\ni
\lift6\qr\ni
\lift6\qr\en
\Notes\ca J\er\ni
\tslur0N\ca N\er\ni
\ca c\er\ns\ca e\er\ni
\ca l\er\ni\ni
\Ibu0cd1\ibsluru0c\qb0c\tbsluru0d\tqh0d\ni
\Ibu1lm1\ibsluru1l\qb1l\tbsluru1m\tqh1m\en\ctphBO\bar
% bar 5
\setemptybar\stoppiece
\bye
======== Snip here ====================================
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, August 17, 2000 12:47
To: Mutex
Subject: Continuous and separate bar lines
----- Forwarded message (env-from david) -----
>From david Thu Aug 17 11:21:26 2000
Subject: Continuous and separate bar lines
To: mutex
Date: Thu, 17 Aug 2000 11:21:26 +0100 (BST)
X-Mailer: ELM [version 2.4ME+ PL47 (25)]
Content-Length: 1466
Hello,
I've just started expirimenting with Musixtex and thus far am very
impressed.
I have taken on a challenging project to learn Musixtex, namely typsetting
a score. Everything is okay so far but I have come across on slight
'problem':
The score requires both instruments and voices, 4 of each. Thus I have
include \musixadd and \instrumentnumber{8}. However I need the bar lines to
be continuous across the 4 instrument parts, then break and then be
continuous across the 4 voices. All that seems to be possible however is to
have the bar lines across all 8 parts or (using \sepbarrules) seperate for
each of the 8 parts. I have grouped the instruments and voices using
\grouptop and \groupbottom but this doesn't appear to make any difference
to the bar lines. Is there anyway of having bar lines continuous for
seperare groups of instruments in a score (this is quite common practice in
scores I believe)?
I also have a secondary problem as I would like one heavy brace joining the
voices and another joining both the instruments and voices. However the
smller brace is 'overlaid' by the longerbrace and it is almost impossible
to tell that there are two braces - is there any way of ofsetting the
bracess horizantoally so they are not superimposed?
Thanks in anticipation of someone's help.
David Elsdon.
PS: I haven't got that far yet so attach my source tex file.
Content-Description: /home/david/doc/tex/musix/esm/esm.tex
[Attachment, skipping...]
----- End of forwarded message (env-from david) -----