Or vice versa?

What I mean is, I often have a situation where there's only a wee bit
o' text occasionally, above the staff. But I frequently have
ChordNames. It seems to me that the ChordNames would be better placed
below the occasional text, and I was hoping that, rather than manually
adjusting and specifying how far to adjust the occasional text, there
would be some other property that would set the order, keeping
ChordNames more intimately tied to the Staff that appears below it.

Another solution that would suit me would be for \chordmode to allow
associating text with a chord name -- e.g. something like

d2:m^\markup "put me above the chordname"

The following illustrates the problem.

%%%%%%%%%%%%%%%%%%%
\version "2.24.2"
\language "english"

global = {
  \time 4/4
  \key c \major
}

chordNames = \chordmode {
  \global
  f2 d2:m | c4 s4 c8 g8:7 c4 | g4 c4 f4 c4 | g4 s4 g2:7    | %  9 - 12
}

melody = \relative c'' {
  \global
  \clef treble
  a2^\markup \bold "CHORUS" f2             | %  9
  g4 g4 g8[ f8] e4                         | % 10
  d4. e8 f4 e4                             | % 11
  d4 b4 g2                                 | % 12
}

\score {
  <<
    \new ChordNames \chordNames
    \new Voice = "mel" { \melody }
  >>

  \layout {
    \autoBeamOff
    indent = 0\mm
  }
}
%%%%%%%%%%%%%%%%%%%

Reply via email to