Re: parenthesize groups of notes

2011-05-08 Thread Jerome Wolbert
Much thanks, Janek and Gilles. Now I have two solutions and a great deal more understanding how lilypond works. Jerome From: Gilles THIBAULT To: Jerome Wolbert ; lilypond-user@gnu.org Sent: Sun, May 8, 2011 3:44:03 AM Subject: Re: parenthesize groups of

Re: parenthesize groups of notes

2011-05-08 Thread Gilles THIBAULT
It's probably possible to automate a bit more but that is the general idea. Something like that : #(define ((my-stencils start) grob) (let* ((par-list (parentheses-item::calc-parenthesis-stencils grob)) (null-par (grob-interpret-markup grob (markup #:null (if start (list (car pa

Re: parenthesize groups of notes

2011-05-08 Thread Gilles THIBAULT
I tried to parenthesize a whole group of notes by enclosing them in braces, as: \parenthesize { a b c } but no parentheses appear. You can try that : %% startParenthesis = { \once \override ParenthesesItem #'stencils = #(lambda (grob) (let ((par-list (parentheses-item

Re: parenthesize groups of notes

2011-05-07 Thread Janek Warchoł
Hi, please reply not only to me, but also to the whole lilypond-user mailing list (add lilypond-user@gnu.org in CC:). This way everyone can participate in solving your problem, and other people may benefit from the solution :) 2011/5/8 Jerome Wolbert : > \version "2.12.2" > #(set-global-staff-siz

Re: parenthesize groups of notes

2011-05-07 Thread Janek Warchoł
2011/5/7 Jerome Wolbert : > I am using lilypond 2.12.2 > > I see how easy it is to parenthesize one note at a time using > \parenthesize > > I tried to parenthesize a whole group of notes by enclosing them in braces, > as: > \parenthesize { a b c } > but no parentheses appear. > > Is it possible t

parenthesize groups of notes

2011-05-07 Thread Jerome Wolbert
I am using lilypond 2.12.2 I see how easy it is to parenthesize one note at a time using \parenthesize I tried to parenthesize a whole group of notes by enclosing them in braces, as: \parenthesize { a b c } but no parentheses appear. Is it possible to create something like () in lilypond?