Hi Don,
I did some in-line-TeX, but i am not proud of it, it was done by trial and
error.
Andre
======================
---
%line 3708 in musixtex 2017-11-15
%\def\C@nb#1#2#3#4{%
% \global#1\b@z
% \ifnum\b@n<\z@ \global\advance\b@n\m@ne \global\advance#1-#3\interbeam \fi
% \ifnum\b@n>\z@ \global\advance\b@n\@ne \C@ba#1#3\fi
% {\advance\locx@skip#4\getcurpos \global#2\y@v
% \advance\y@v-\b@x \comp@slope\y@v \global\advance#1\s@lope}}
%changed:
\input musixtex
\makeatletter
\def\C@nb#1#2#3#4{% see line 3708 in musixtex 2017-11-15
\global#10.99\b@z %<---------------------
\ifnum\b@n<\z@ \global\advance\b@n\@ne \global\advance#1-#3\interbeam
\global\advance#1-#3\interbeam %<----------------
\global\advance#1-#3\interbeam %<----------------
\global\advance#10.99pt %<----------------
\fi
\ifnum\b@n>\z@ \global\advance\b@n\@ne \C@ba#1#3 \fi
{\advance\locx@skip#4\getcurpos \global#2\y@v
\advance\y@v\b@x \comp@slope\y@v \global\advance#1\s@lope}}
\makeatother
---
2 2 4 4 4 4 0 0
1 1 20 0
bt
.\
w3i
\\let\mynbb\nbb\
[u+1 c83 e g1 a b8 ]j rb2 /
rb2 [j c84 e g1 b c8 ] /
==============================
From: Don Simons
Sent: Wednesday, May 9, 2018 1:21 AM
To: 'Werner Icking Music Archive'
Subject: Re: [Tex-music] staff crossing beams
Just as an example of how complicated this general problem can get, can anyone
(Andre?) figure out any way at all (even using inline TeX) to get the doubled
beam in the second part of this to come out above the main beam rather than
below?
==============================
2 2 4 4 4 4 0 0
1 1 20 0
bt
.\
w3i
[u c83 e g1 a b8 ]j rb2 /
rb2 [j c84 e g1 b c8 ] /
==============================
--Don
From: TeX-Music [mailto:[email protected]] On Behalf Of Andre Van
Ryckeghem
Sent: Monday, May 07, 2018 11:43 PM
To: Werner Icking Music Archive <[email protected]>
Subject: Re: [Tex-music] staff crossing beams
Ok Don,
Thanks
Andre
From: Don Simons
Sent: Tuesday, May 8, 2018 7:41 AM
To: 'Werner Icking Music Archive'
Subject: Re: [Tex-music] staff crossing beams
Andre, I haven’t forgotten about this; in fact I’ve spent some time trying to
work out the coding. But I’m about ready to give up on trying to get PMX to do
the right stuff on the staff-jumper with 3 sixteenths down and 1 sixteenth + 1
eighth up. I’ve gotten part way there but I’m very worried that things I do
would mess up other combinations … when you start changing the multiplicity AND
the direction of the jump AND the exact location of the multiplicity change
relative to the jump AND the number of jumps AND the number of multiplicity
changes, there are so many possibilities I’d have a hard time sorting them all
out and then testing them all. So I’m afraid for now you’ll just have to work
out some inline TeX to replace the bad TeX commands with the right ones.
--Don
From: Don Simons [mailto:[email protected]]
Sent: Saturday, April 28, 2018 12:48 PM
To: 'Werner Icking Music Archive' <[email protected]>
Subject: RE: [Tex-music] staff crossing beams
Andre, I think you know PMX better than I do! So it looks like all I have to do
to fix the first problem is to get PMX to enter \tbbu1 rather than \rbbu2
before the last note of the first staff-jumper, and rely on the user to start
it with [l+14 .
I still haven’t sorted out the other problem.
--Don
From: TeX-Music [mailto:[email protected]] On Behalf Of Andre Van
Ryckeghem
Sent: Saturday, April 28, 2018 10:45 AM
To: Werner Icking Music Archive <[email protected]>
Subject: Re: [Tex-music] staff crossing beams
Thanks Don,
using [l+14 g1- cs ]j rb4 / changes the order of the beams
Andre
From: Don Simons
Sent: Saturday, April 28, 2018 6:09 PM
To: 'Werner Icking Music Archive'
Subject: Re: [Tex-music] staff crossing beams
Very challenging. Even if I were to fix PMX to generate the “proper” code,
there’s a basic problem with the order of the multiple beams. Here’s a related
example that does go through, but obviously you’d prefer to have the lower beam
continue and the upper one stop at the last 1/16 note. I haven’t tried to work
out the TeX code for that but I suspect it’ll be very tricky.
--Don
==============================
2 2 3 8 3 8 0 0
1 1 20 0
bt
.\
Abpe
w5i
[u g1- cs ]j rb4 /
rb8 [ju g1+ g zb g8 ] //
r4d /
=============================
From: TeX-Music [mailto:[email protected]] On Behalf Of Andre Van
Ryckeghem
Sent: Saturday, April 28, 2018 6:57 AM
To: Werner Icking Music Archive <[email protected]>
Subject: [Tex-music] staff crossing beams
Dear Don, dear all
I still have a problem with staff crossing beams.
In the 1st bar: [ju g1+ g8 zb ] does not show an 8th note for the ‘g8’ but a
16th.
the 2nd bar seems ok if i remove the’g8’,
but if i want a beam for [ e+ sf b s ] and then it goes wrong, see 3rd bar.
Thanks for helping
Andre
=============
3 2 6 8 6 8 0 0
1 2 20 0
btt
.\
Abpe
w5i
[u g1- cs d ]j rb rb2 /
rb8 rb1 [ju g1+ g8 zb ] rb rb4 //
r4d a1s b d zb g+ zb- f8+ zb- /
b8 fa ga e+ sf b s .cas /
%
[u g1- cs d ]j rb rb2 [u g1- cs d ]j rb rb2 /
rb8 rb1 [ju g t ] g2 t zb rb8 rb1 [ju g t ] g2 t zb //
r4d a1s b tl d zb t tl g+ zb- t tl f8+ zb- t r4d f1 g tl b zg t tl e+ zg- t tl
d8+ zg- t /
b8 fa ga e+ sf b s .cas | b8 fa ga [ e+ sf b s ] .cas /
%
===============
--------------------------------------------------------------------------------
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music
--------------------------------------------------------------------------------
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music
--------------------------------------------------------------------------------
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music