This is related to our thread "end of upper beams" from Mon, 4 Sep 2006.

Reminder :
Some upper beams miss a few pixels when they join the stem of their last note.
This is common to all .dvi, .pdf, .ps formats obtained with various TeX
distributions. Comment out line 16 of my example to see this.

I think expanding the stem of the last note by half a beam thickness
demands far less precision than expanding the beam length by a stem thickness.

I think I succeeded in hacking the the definition of [EMAIL PROTECTED] in MUSIXTEX.TEX, but please could a TeXpert check that there is no risk to do this?

NB: I didn't change the lower beams.

Jean-Pierre Coulon                  [EMAIL PROTECTED]
\input musixtex
\instrumentnumber1
\setstaffs11
\setclef1{\treble}
\nostartrule

\makeatletter
[EMAIL PROTECTED] queue de note vers une poutre
  \getcurpos [EMAIL PROTECTED]@x
  [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@nty [EMAIL PROTECTED]@z
  [EMAIL PROTECTED]>[EMAIL PROTECTED] % la poutre est au-dessus
    [EMAIL PROTECTED]@skip [EMAIL PROTECTED]@skip
    [EMAIL PROTECTED]@lope

%begin{my MusiXTeX hack}
    [EMAIL PROTECTED] .25\interbeam%   
%end{my MusiXTeX hack}

    [EMAIL PROTECTED]>\z@ [EMAIL PROTECTED]@n\interbeam
    [EMAIL PROTECTED]
    \fi
    [EMAIL PROTECTED]@ii % a mettre a jour avec la pente ulterieurement
  \else
    [EMAIL PROTECTED]@
    [EMAIL PROTECTED]<[EMAIL PROTECTED]
      [EMAIL PROTECTED]<\z@ [EMAIL PROTECTED]@n\interbeam [EMAIL PROTECTED] \fi
      [EMAIL PROTECTED]@ii \fi \fi
  [EMAIL PROTECTED]
\makeatother



\Largemusicsize
\startextract
\Notes\ibu1j0\qb1j\tqh1j\en
\Notesp\ibu1j0\qb1j\tqh1j\en
\Notes\ibu1j1\qb1j\tqh1k\en
\Notes\ibu1j2\qb1j\tqh1l\en
\Notes\ibu1j3\qb1j\tqh1m\en
\endextract


\startextract
\Notes\ibu1k{-1}\qb1j\tqh1i\en
\Notesp\ibu1k{-1}\qb1j\tqh1i\en
\Notes\ibu1k{-1}\qb1j\tqh1i\en
\Notes\ibu1k{-2}\qb1j\tqh1h\en
\Notes\ibu1k{-3}\qb1j\tqh1g\en
\endextract


\end



_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to