[Top][All Lists]

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

Re: align "etc." with chordnames

From: Aaron Hill
Subject: Re: align "etc." with chordnames
Date: Thu, 10 Jan 2019 01:27:20 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-01-10 12:59 am, Gianmaria Lari wrote:
How I can align "etc." with chords in this code?

\version "2.19.82"
\score {
  \new PianoStaff <<
        \new ChordNames \chordmode {d2:m a2:m \mark"etc"}
        \new Staff {b2 c'2 b2 c'2}

You need to push the RehearsalMark to the right, otherwise it'll have to be offset vertically.

\version "2.19.82"
<< \new ChordNames \chordmode { d2:m a2:m
     \override Score.RehearsalMark.self-alignment-X = #-1
     \override Score.RehearsalMark.Y-offset = #0
     \mark \markup \italic "etc." }
   \new Staff {b2 c'2 b2 c'2} >>

Here is another way to achieve what you want without messing with RehearsalMarks:

\version "2.19.82"
<< \new ChordNames \chordmode { d2:m a2:m
     \once \override ChordName.text =
       \markup \roman \italic "etc." c1 }
   \new Staff {b2 c'2 b2 c'2} >>

Note that this requires a dummy ChordName, but it guarantees that it will line up properly with other elements.

-- Aaron Hill

reply via email to

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