lilypond-user
[Top][All Lists]
Advanced

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

Re: Square brackets around multiple optional notes


From: Nick Baskin
Subject: Re: Square brackets around multiple optional notes
Date: Mon, 9 Jan 2012 10:00:11 -0500

2012/1/8 Светлана <address@hidden>
Hello all!
I'd like to place optional notes in square brackets like it's done here: http://imageshack.us/photo/my-images/827/squarebrackets.png/
I tried markup and setting extra-offset, but then my lyrics is placed in wrong place if some bracket should be placed above the lyrics. Also, bracket placement is tied to note, so it's really hard to align them all.
Here is the example. I've intentionally moved the bracket some notes to the left to show the problem.
\version "2.14.1"
\score{
 <<
       \new Voice = "one" {
       \cadenzaOn
       \override TextScript #'extra-offset = #'(-3 . 8)
       \relative c'
       {e4 (f) g2 f2 (g1) f2 f-\markup {\abs-fontsize #40 "["} (e f4 e f g2. f8 e4 f1) \bar "|."}
       \cadenzaOff
   }
   \new Lyrics \lyricsto "one" \lyricmode {Те -- бе, Го -- спо -- ди. }
 >>
}
Any other suggestions?

Svetlana.

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

Svetlana,

Have you tried messing with this snippet yet? http://lsr.dsi.unimi.it/LSR/Item?id=377 It looks somewhat similar to what you're after.

Cheers,
Nick

reply via email to

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