2012/1/8 Светлана <eurid...@yandex.ru> > 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 > lilypond-user@gnu.org > 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
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user