Menu

#2217 Chord names collide with notes (vertical space missing on second line staff)

Duplicate
nobody
None
Ugly
2012-07-22
2012-01-12
Anonymous
No

Originally created by: *anonymous

Originally created by: RalphBug...@gmail.com

Jean-Alexis and Carl wrote :

% no problem without mark alignment to the left or lyrics
% third staff line is to show that there's no problem after second line

\score {
   <<
       \new ChordNames = "chords"  \chordmode { \repeat unfold 6 {g1 c:m } }
      \new Voice = "theme"{
        \repeat unfold 3 {
        \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
        \mark "mark"
        \repeat unfold 2 {g''4 b'8 g'  c'' b' g'4 |  d''8 g' c'' g' b'  a' [r4] }
        }
      }
      \new Lyrics \lyricsto theme \lyricmode { \repeat unfold 72 "ba" }
>>
}

-and-

Here's another example.

When using -ddebug-skylines, and setting the nonstaff-relatedstaff-spacing
#'padding = #0,  one can see that the chordnames on the second line are
*not* being spaced relative to the notes and the staff, but somehow to
notes only.  Very strange.

\version "2.15.24"

\score {
<<
   \new ChordNames = "chords" {
     \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing
#'padding = #0
     \chordmode {\repeat unfold 3 { g1 } }
   }
   \new Voice = "theme" {
     \repeat unfold 3 {
       \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
       \mark "mark"        b'4 g'8 b' g' b' g' b'  \break
     }
   }
   \new Lyrics \lyricsto theme \lyricmode { \repeat unfold 21 "A"}
>>
}

Discussion

  • Google Importer

    Google Importer - 2012-01-16

    Originally posted by: ja...@montignies.info

    As a workaround, you can add a transparent mark:

    \score {
       <<
           \new ChordNames = "chords"  \chordmode { \repeat unfold 6 {g1 c:m } }
          \new Voice = "theme"{
            \repeat unfold 3 {
            \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
            \mark "mark"
             g''4 b'8 g'  c'' b' g'4 |  \mark \markup { \hspace #10 \vspace #1 } d''8 g' c'' g' b'  a' [r4]
             g''4 b'8 g'  c'' b' g'4 |  d''8 g' c'' g' b'  a' [r4]
            }
          }
          \new Lyrics \lyricsto theme \lyricmode { \repeat unfold 72 "ba" }
    >>
    }

     
  • Google Importer

    Google Importer - 2012-02-04

    Originally posted by: k-ohara5...@oco.net

    This is somewhat different from issue 2276, in that it depends having a rehearsal mark, and seems to depend on the first-line indent.  It looks like interleaving is accounted differently in the placement of staves, than it is when the 'loose-lines' like Dynamics or ChordNames are put in position between the staves.

    \paper { #(set-paper-size "a6")
      indent = 5\mm }
    \score { <<
       \new Dynamics \repeat unfold 6 {s4\p s }
       \new Voice {\clef alto
         \repeat unfold 3 { \mark "rehearsal"  a,4 a' a' a' \break } }
       \new Dynamics \repeat unfold 6 {s4\pp s\f }
       % \new Dynamics \repeat unfold 6 {s4 s\f }
    >> }

     
  • Google Importer

    Google Importer - 2012-02-10

    Originally posted by: ja...@montignies.info

    This seems to be fixed with 2.15.29.

     
  • Google Importer

    Google Importer - 2012-03-17

    Originally posted by: k-ohara5...@oco.net

    The fix to issue 2276 greatly reduced the problem in the original example; now the chord names in the second line are only slightly too close to the notes.  The example in comment 2 makes the problem worse, so we can still see what is left of it.

     
  • Google Importer

    Google Importer - 2012-07-22

    Originally posted by: k-ohara5...@oco.net

    more clear example in issue 2691

    Mergedinto: 2691
    Status: Duplicate

     
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.