I am afraid I don't quite see the point of this: what's wrong with
PMX's 'rm' command? That is included in PMX for the specific
purpose
of parts-writing, and it is fully operational there. The only
difference I can see is the physical length of the multibar rest,
and the PMX default isn't, to me at least, any more ugly than that
of the multirest macro you propose.
ccn.
--
On Tue, 5 Oct 2004, Hunsbergers wrote:
Greetings!
Recent questions from "Simon Dreher" <[EMAIL PROTECTED]> on full-bar
rests and fermatas got me back to work to clean up another little project I
once had going...
'Bigrest.tex' is a set of Macro definitions for the multi-bar rests that I
frequently use for individual part copying. These rests are a long black
bar, with a number over the top, and span (account for) several measures.
The composition of the BAR itself is taken directly from the definition of
\HPause that appears in musixlit.tex, thanks to <please remind me who wrote
that>!
One very convenient feature of these macros is that they adjust the barno
(bar number count) so the numbers of subsequent measures will remain
correct. However (on the down side) the spacing can be temperamental, and
may need to be tweaked at times when you just don't have the patience to
fiddle with it... (Hope that you don't have too much trouble with this.)
To accommodate different needs, TWO macros are defined...
\multirest{n} is for n measures of rests, when n is a smaller number... such
as 2 to 10.
\multirestBIG{n} is for n measures of rests when n is larger, typically
greater than 10.
Both will work for any number fromm 1 to (your system's capacity :-)
Although the length of the bar grows a bit as the number gets bigger, it is
constrained to a maximum size, around 8 to 10 measures, so it will be the
same size for numbers larger than that. Even so, the measure count will be
adjusted correctly.
To keep it simple, these macros hard-code the vertical position to one I
happened to like, and they were designed for my use in M-Tex part writing
(the most frequent thing I do.)
To use them (in M-Tex), just put the bigrest.tex file in your musixtex
inputs (and remember to refresh files for installations like MikTex, if
needed) include the following lines in the M-Tex file, just after the
preamble, but before the notes start.
%%\\input bigrest.tex\
Then, use the macros like in-line Tex in the M-Tex voices... Here is a test
example. Note that you MUST include a full-measure blind rest just after
using the macro, closing the bar, so the multi-bar rest gets its own whole
measure, and M-Tex thinks it is a blind full-measure rest.
%----- Test File (.mtx) ------
% Test file can be downloaded here:
http://www.i2k.com/~jhunsberger/dlfiles/resttest.mtx
Title: Test multirest macros, with Measure Count adjust
Meter: 4/4
Bars/Line: 8
Style: SOLO
%%\\barnumbers\
%%%% Macro Definitions for \multirest{} (with bar count adjust)
%%\\input bigrest.tex\
%%%% To use:
%%%% \multirestBIG{#1)\ % where #1 is the Number above the rest.
%%%% \multirest(#1)\ % This one is more compact, for #1 < 10.
%%%% YOU MUST INCLUDE a full-measure BLIND REST (e.g. r0b) after each
%%%% instance of these macros to account for the measure in M-Tex.
c4 d e f | \multirestBIG{32}\ r0b | g4 f e d | c4 d e f | g e d e | c0 |
c4 d e f | \multirest{6}\ r0b | g4 f e d | c4 d e f | g e d e | c0 |
%---- End of Test file -----
By reading the TeX produced from the M-Tex, it appear that to use these
directly in TeX you would say (e.g.):
\Notes\multirestBIG{32}\sk\en% This should account for a whole measure...
The macros aren' t long, but they are as ugly as TeX, so I have posted the
file on the web if you want to download a copy.
You can get a copy from this directory:
http://www.i2k.com/~jhunsberger/dlfiles/ (bigrest.tex)...
http://www.i2k.com/~jhunsberger/dlfiles/bigrest.tex ( This will open in a
typical browser, and you can save it as 'bigrest.tex')
This doesn't answer any of Simon's questions directly, but it may be what
someone else is looking for.
Good luck using them. (Results may vary).
Joel Hunsberger
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music
--
.................................................................
Prof.Dr. Cornelius C. Noack Phones:
Inst. f. Theor. Physik FB 1 office : +49 (421) 218-2427
Universit"at Bremen secretary: -2422
Otto-Hahn-Allee Fax : -4869
D - 28334 Bremen home : +49 (421) 34 22 36
Fax: 346 7872
E-mail: noack at itp.uni-bremen.de or ccnoack at mailaps.org
WWW-page: www.itp.uni-bremen.de/~noack
.................................................................
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music