On Mon, Feb 27, 2017 at 8:13 AM, David Nalesnik <david.nales...@gmail.com> wrote: > On Mon, Feb 27, 2017 at 8:04 AM, David Nalesnik > <david.nales...@gmail.com> wrote: >> On Mon, Feb 27, 2017 at 7:00 AM, Robert Blackstone >> <blackstone.rob...@gmail.com> wrote: >>> Hi Martin, >>> >>> I used \ottava #0 and it worked, albeit that there still is a very short >>> bracket and only "8", not "8va". >>> >>> HTH >>> >>> >>> Best, >>> Robert Blackstone >>> >>> On 27 Feb 2017, at 13:42 , Martin Tarenskeen <m.tarensk...@zonnet.nl> wrote: >>> >>>> >>>> Hi, >>>> >>>> This is probably easy, but I couldn't find the answer. How to do an >>>> \ottava without a bracket, that only applies to one single note or chord? >>>> >> >> Try >> >> \override Staff.OttavaBracket.style = #'none > > Of course, there should be an option to automatically hide the bracket > only on single notes, leaving it for longer stretches. >
Something like this possibly: \version "2.19.55" #(define (no-bracket-for-singles grob) (if (eq? (ly:spanner-bound grob LEFT) (ly:spanner-bound grob RIGHT)) 'none 'dashed-line)) { \override Staff.OttavaBracket.style = #no-bracket-for-singles \ottava #1 c'' \ottava #0 d'' e'' f'' \ottava #1 c'' d'' \ottava #0 e'' f'' } %%%%% The issue here is that the "8va" ought be centered over the note. Style "none" doesn't affect the positioning of the text. Probably this would mean writing a stencil callback (instead of one for 'style). I'll look at this later, in case someone hasn't beaten me to it :) David _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user