Snippets: Repeated bars

2009-10-12 Thread Valerio Pelliccioni

Hi everybody,
just joined the list a minute ago and soon raises a question:
Well, if a short passage of two or three bars is to be repeated then 
that phrase itself might be highlighted with a line with square ends 
lying above the bar and the word Bis in the middle of the line.


How can I write this bars repetition?

Thank you.

Valerio



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snippets: Repeated bars

2009-10-12 Thread Robin Bannister
Valerio Pelliccioni wrote: 
 highlighted with a line with square ends lying above the bar 
 and the word Bis in the middle of the line.
 
 
You could use an analysis bracket (see NR 1.7.2) with added text.  
 
Combine 
http://lists.gnu.org/archive/html/lilypond-user/2009-08/msg00640.html   
with
http://lsr.dsi.unimi.it/LSR/Item?id=489 
and for square ends 
override #'bracket-flare (see IR 3.1.45)
 
 
Cheers,

Robin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snippets: Repeated bars

2009-10-12 Thread Neil Puttock
2009/10/12 Robin Bannister r...@dataway.ch:

                 You could use an analysis bracket (see NR 1.7.2) with added
 text.           Combine
 http://lists.gnu.org/archive/html/lilypond-user/2009-08/msg00640.html   with
    http://lsr.dsi.unimi.it/LSR/Item?id=489     and for square ends
 override #'bracket-flare (see IR 3.1.45)

I'd use a tuplet bracket here, then you don't have to worry about
getting the text positioned properly:

\relative c' {
  \once \override TupletNumber #'text = #bis
  \times 1/1 {
c4 d e f
g f e d
  }
}

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user