Hi Lucas,

> Is there a way to center chords in the middle automatically?

Maybe this will give you a place to start?

%%%  SNIPPET BEGINS
\version "2.24.4"

\score {
  <<
    \new ChordNames {
      \chordmode {
        \repeat volta 2 {
          c1 c \break f1 g c
          \alternative {
            \volta 1 { c }
            \volta 2 { g \break }
          } % end alternative
        } % end ritornelo
        \repeat unfold 4 { c1 }
      } % end chordmode
    } % end ChordNames
    \new Staff {
      \repeat volta 2 {
        s1*5
        \alternative {
          \volta 1 { s1 }
          \volta 2 { s1 }
        }
      }
      s1*4
    }
  >>
  
  \layout {
    \context {
      \Score {
        \override VoltaBracket.vertical-skylines = ##f
        \override VoltaBracket.Y-offset = #3
      }
    }
    \context {
      \ChordNames
      \override ChordName.horizontal-skylines = ##f
      \override ChordName.extra-spacing-width = #empty-interval
      \override ChordName.vertical-skylines = ##f
      \override ChordName.extra-spacing-height = #empty-interval
      \override ChordName.Y-offset = #-2
    }
  }
} % end score
%%%  SNIPPET ENDS

Hope that helps!
Kieren.
__________________________________________________

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.


Reply via email to