Re: Accidental in brackets

2016-12-05 Thread Urs Liska
Hi David, Am 05.12.2016 um 17:41 schrieb David Nalesnik: > Hi Urs, > > On Mon, Dec 5, 2016 at 10:30 AM, tisimst wrote: >> ... > Haven't examined the other alternatives proposed, but here's something > I just did. It's based on a rewrite of functions in >

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:39 AM, David Nalesnik wrote: > On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound > wrote: >> David Nalesnik wrote >>> Haven't examined the other alternatives proposed, but here's something >>> I just did. It's based

Re: Accidental in brackets

2016-12-05 Thread SoundsFromSound
what I need :) Hope it helps others too! Huge thanks for this. Works like a charm. Ben - composer | sound designer LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-in-brackets-tp197629p197

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
On Mon, Dec 5, 2016 at 11:34 AM, SoundsFromSound wrote: > David Nalesnik wrote >> Haven't examined the other alternatives proposed, but here's something >> I just did. It's based on a rewrite of functions in >> lily/accidental.cc >> >> HTH, >> David >> >>

Re: Accidental in brackets

2016-12-05 Thread David Nalesnik
0.5) (lb (ly:bracket Y ext thickness protrusion)) (rb (ly:bracket Y ext thickness (- protrusion))) (mol (ly:stencil-combine-at-edge mol X LEFT lb 0)) (mol (ly:stencil-combine-at-edge mol X RIGHT rb 0))) mol)) #(define accidental-interface::square-brackets

Re: Accidental in brackets

2016-12-05 Thread tisimst
org/archive/html/lilypond-user/2016-11/msg00928.html Best, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Accidental-in-brackets-tp197629p197639.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mai

Re: Accidental in brackets

2016-12-05 Thread Mike Solomon
Hey! Total hack, but if you check out scm/stencil.scm, you’ll see how parentheses are made… (define-public (parenthesize-stencil                 stencil half-thickness width angularity padding)   "Add parentheses around @var{stencil}, returning a new stencil."   (let* ((y-extent

Accidental in brackets

2016-12-05 Thread Urs Liska
Hi all, I don't seem to find the right thing, neither in the docs, the LSR nor the list archive. I need to put square brackets around some accidentals in order to differentiate them from default parentheses. I don't find the way to create the respective stencil for this. It has to be possible