Menu

#1276 MetronomeMark 'break-align-symbols should work with all objects

Accepted
nobody
Bounty (37)
Defect
2011-10-13
2010-09-28
Anonymous
No

Originally created by: *anonymous

Originally created by: v.villenave

% New report by Xavier:

% MetronomeMark #'break-align-symbols seems to fail with
% everything (clef, left-edge, staff-bar, ...) except
% key-signature and time-signature.

\version "2.13.31"

\score {
\new Staff {
   \tempo "MetronomeMark #'break-align-symbols"
   \repeat unfold 8 c'1 \break
   \override Score.MetronomeMark #'break-align-symbols = #'(clef)
   \tempo "Clef does not work"
   \repeat unfold 8 c'1 \break
   \key g \major
   \override Score.MetronomeMark #'break-align-symbols = #'(key-signature)
   \tempo "KeySignature works (as well as TimeSignature)"
   \repeat unfold 8 c'1 \break
   \override Score.MetronomeMark #'break-align-symbols = #'(left-edge)
   \tempo "Left-edge does not work"
   \repeat unfold 8 c'1 \break
   \override Score.MetronomeMark #'break-align-symbols = #'(staff-bar)
   \tempo "Staff-bar does not work"
   \repeat unfold 8 c'1 \break
}
}

%%%

See also issue 684.

Kieren has offered an extra bounty for this one.

Neil: "this is partly due to the way I fixed the bad alignment
when key signatures are present (using Item::break_visible).  I'm not
sure what we can do about it though; while it's clearly a dubious hack
to be checking break-visibility in the engraver (for Clef, it seems to
be too early), there doesn't seem to be a sane alternative unless we
defer the choice of alignment until later."
http://lists.gnu.org/archive/html/lilypond-devel/2010-09/msg00335.html

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2010-10-03

    Originally posted by: n.putt...@gmail.com

    One further note:  '(staff-bar) doesn't work since it's reserved in the engraver for full-bar rests; any acknowledged barline is already found before 'break-align-symbols is checked.

     
  • Google Importer

    Google Importer - 2011-10-13

    Originally posted by: x.sche...@gmail.com

    Maybe the following information could be relevant (hence this comment
    attached to this issue on the tracker).

    In the previous report I said MetronomeMark #'break-align-symbols did
    align well on key-signature.  This is not true.
    Apparently it worked only because the key signature was changed
    _at the same time_ as the tempo mark.  If the key signature is set
    before, MetronomeMark does not align on key-signature at a line break.

    \score {
      \new Staff {
        \key e \major
        \repeat unfold 8 c'1 \break
        \override Score.MetronomeMark #'break-align-symbols = #'(key-signature)
        \tempo "KeySignature does NOT works either"
        \repeat unfold 8 c'1
      }
    }

    So it appears MetronomeMark #'break-align-symbols fails with *every
    object* except time-signature.

    I don't know if somebody has to update the initial report on the tracker
    or if this comment is sufficient.

    Cheers,
    Xavier

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.