Re: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread Ben
On 10/28/2017 10:30 AM, David Kastrup wrote: Ben writes: Thank you so much for sharing this function. It will come in handy for a project I'll be working on shortly. However, I had one question for you. I just went to try to use the function 'as is' and I'm seeing

Re: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread David Kastrup
Ben writes: > Thank you so much for sharing this function. It will come in handy for > a project I'll be working on shortly. > However, I had one question for you. > I just went to try to use the function 'as is' and I'm seeing an > error. I cannot use the function at

Re: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread Ben
On 10/28/2017 1:43 AM, Andrew Bernard wrote: Hi James, This comes up so frequently it puzzles me why it is not considered for addition to the lilypond baseline. Here's my function. Andrew === snip \version "2.19.39" % Annotation bracket with centred text. % Andrew Bernard and Thomas Morley

Re: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread David Nalesnik
Hi, On Sat, Oct 28, 2017 at 2:23 AM, James Harkins wrote: > On Sat, 28 Oct 2017 13:55:49 +0800 Nathan Ho wrote > >> On 2017-10-27 21:37, James Harkins wrote: >> > I couldn't find this quickly: for an unmetered section, I'd like to >> >

Re: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread James Harkins
On Sat, 28 Oct 2017 13:55:49 +0800 Nathan Ho wrote > On 2017-10-27 21:37, James Harkins wrote: > > I couldn't find this quickly: for an unmetered section, I'd like to > > indicate duration by tuplet-style brackets, only not a tuplet (no > > change to note

RE: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread Andrew Bernard
Hi James, This comes up so frequently it puzzles me why it is not considered for addition to the lilypond baseline. Here's my function. Andrew === snip \version "2.19.39" % Annotation bracket with centred text. % Andrew Bernard and Thomas Morley TextSpannerCentredText =

RE: "Text spanner"-ish thing with text in the middle

2017-10-28 Thread Andrew Bernard
HI Nathan, Indeed yes. This is clever, and short, but it is a hack, no disrespect intended. As you say, it hijacks the tuplet concept and introduces tuplet semantics where there are none. Whether this bothers people or not is entirely up to them, but I prefer my solution as it keeps the semantics

Re: "Text spanner"-ish thing with text in the middle

2017-10-27 Thread Nathan Ho
On 2017-10-27 21:37, James Harkins wrote: I couldn't find this quickly: for an unmetered section, I'd like to indicate duration by tuplet-style brackets, only not a tuplet (no change to note durations) and with arbitrary text markup in the middle, e.g. if a tuplet goes :- 3 -: I'd like

"Text spanner"-ish thing with text in the middle

2017-10-27 Thread James Harkins
I couldn't find this quickly: for an unmetered section, I'd like to indicate duration by tuplet-style brackets, only not a tuplet (no change to note durations) and with arbitrary text markup in the middle, e.g. if a tuplet goes :- 3 -: I'd like :--- 10" ---: