bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 1448 in lilypond: Inconsistent behaviour of \dynamic in a \markup


From: lilypond
Subject: Issue 1448 in lilypond: Inconsistent behaviour of \dynamic in a \markup
Date: Tue, 14 Dec 2010 05:25:14 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1448 by ColinPKCampbell: Inconsistent behaviour of \dynamic in a \markup
http://code.google.com/p/lilypond/issues/detail?id=1448

Using \markup to create new dynamic markings produces inconsistent results when the order of elements is changed. If a \dynamic is the last part of the \markup, output is as expected. When it is first, subsequent elements overwrite the \dynamic.

\version "2.13.43"
leftMeno = \markup {
  \halign #0.6  {
    \whiteout \pad-markup #0.5  {
      \italic {"meno " } \dynamic { "f" }
      }
    }
  }
      rightMeno = \markup {
        \halign #0.5 {
          \whiteout \pad-markup #0.5  {
           \dynamic { "f" }  \italic {"meno " }
          }
        }
      }
A =
\relative c' {
  \key c \major
  \clef treble
  \time 4/4
  % Works as expected:
  c'4 c c c |
  d4_\leftMeno d d d
% Why doesn't this work?
c4 c c c |
d4_\rightMeno d d d
}

B=
\relative c' {
  \key c \major
  \clef treble
  \time 4/4

  d'4 d d d |
  e4 e e e |
  d4 d d d |
  c4 c c c |
}

\score {
  \new StaffGroup <<
    \new Staff << \A >>
    \new Staff << \B >>
  >>
}
\layout {}

The proper spacing and alignment requires using a \line to force halign to append elements, but only in the case where a \dynamic is first.

NR 1.3.1 can be emended to make this clear.



Attachments:
        bug.png  13.8 KB




reply via email to

[Prev in Thread] Current Thread [Next in Thread]