lilypond-user
[Top][All Lists]
Advanced

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

Re: Attaching markup to high-level objects


From: Peekay Ex
Subject: Re: Attaching markup to high-level objects
Date: Sun, 13 Nov 2011 08:20:09 +0000

Hello,

On Sun, Nov 13, 2011 at 2:35 AM,  <address@hidden> wrote:


> Failing that, if there were a way to attach markup to a bar line,
> that (plus perhaps an 'extra-offset') would suffice in the majority
> of situations I can think of.
>
> Is there such a way to attach markup to a high-level music
> expression or a bar line, rather than just a low-level simple
> music element, like a note or rest?

\version "2.14.2"

\relative c' {
  \once \override Staff.Clef #'break-align-symbols = #'(clef)
  \mark "Clef"
  a'4 b c d |
  \key ees \major
  \once \override Staff.KeySignature #'break-align-symbols = #'(key-signature)
  \mark "Key Sig"
  e f g a |
  \once \override Staff.BarLine #'break-align-symbols = #'(bar)
  \mark "Barline"
  g f e d |
}

See:

http://lilypond.org/doc/v2.14/Documentation/notation/writing-text#text-marks

Specifically the snippet

'Aligning marks with various notation objects' down the page



-- 
--
James



reply via email to

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