Hello,

On Sun, Nov 13, 2011 at 2:35 AM,  <[email protected]> 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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to