lilypond-user
[Top][All Lists]
Advanced

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

Re: chordmode above bar numbers ?


From: Carl Sorensen
Subject: Re: chordmode above bar numbers ?
Date: Thu, 23 Mar 2017 23:28:43 +0000
User-agent: Microsoft-MacOutlook/14.7.2.170228


On 3/23/17 3:50 PM, "address@hidden" <address@hidden> wrote:

>In the example below, is there any way to make the bar numbers to be
>below the chord symbols ?

Move the Bar_number_engraver to the Staff context:

\version "2.18.2"

Mch = \chordmode {
  s1 |
  g1 |
  d1 |
}
Ma = \context Voice = Va \relative d'' {
  \set Score.currentBarNumber = #211
  R1 |
  d4 d d d |
  d4 c b a |
}
\score{
  <<
    \override Score.BarNumber #'break-visibility = #end-of-line-invisible
    \override Score.BarNumber #'self-alignment-X = #-1
    \new ChordNames { \Mch }
    \new ChoirStaff
    <<
      \new Staff \with{\consists "Bar_number_engraver"} \Ma
    >>
  >>
  \layout {
    \context {
      \Score
      \remove "Bar_number_engraver"
    }
  }
}


HTH,

Carl






reply via email to

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