On Mon, Apr 24, 2006 at 10:20:56AM +0200, Bernhard Lang wrote:
> When setting a piece with soprano clef (C on first line) with one flat, 
> the flat is put to the
> space below the lowest line. To my feeling (and according to the type 
> setting conventions of the 17th) the flat should be put on the  4th 
> line (i.e. one octave higher). Is there a way to convince PMX/MusiXTeX 
> to do this?

This question has not yet been answered, or am I missing something? So 
here's my attempt:

The positions of the signature accidentals are defined in certain 
MusiXTeX macros; these have to be changed in order to manipulate the 
accidental placement. For me, the following hack works:

8<----------------(beware of unwanted line breaks)-----------------------
\input musixtex

\makeatletter
  \chardef\thirt@@n=13 % musixtex.tex defines lots of names for
                       % char numbers, but just this one is missing ...

  % this macro determines which signature accidentals
  % are placed on which "scale step":
  [EMAIL PROTECTED]@s=\z@ \else
    [EMAIL PROTECTED]@lii
    [EMAIL PROTECTED]>\z@ [EMAIL PROTECTED]@n
      [EMAIL PROTECTED]@[EMAIL PROTECTED]@n
      [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
      [EMAIL PROTECTED]@@[EMAIL PROTECTED]
      [EMAIL PROTECTED]@ur\fiv@
      [EMAIL PROTECTED]@\nin@
      [EMAIL PROTECTED]@[EMAIL PROTECTED]
    [EMAIL PROTECTED]@l
    [EMAIL PROTECTED]<\z@
      % ----> change of original starts here
      [EMAIL PROTECTED]@     % normal  placement of first flat (step six)
      [EMAIL PROTECTED]@@n % changed placement of first flat (step thirteen)
      % <---- change of original ends here
      [EMAIL PROTECTED]@ne\nin@
      [EMAIL PROTECTED]@\fiv@
      [EMAIL PROTECTED]@@[EMAIL PROTECTED]
      [EMAIL PROTECTED]@[EMAIL PROTECTED]
      [EMAIL PROTECTED]@[EMAIL PROTECTED]@n
      [EMAIL PROTECTED]@\thr@@\fi
    \fi}
\makeatother

% a sample score
\setclef11
\generalsignature{-1}

\startextract
\endextract
\bye
8<----------------(beware of unwanted line breaks)-----------------------


Best regards,

Rainer
_______________________________________________
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to