Re: Bracket with text label

2013-09-19 Thread David Kastrup
Alec Bartsch writes: > On Sep 19, 2013, at 12:35 PM, David Kastrup wrote: > >> 4 is a number. You want (ly:make-duration 2 0) instead. > > OK, great, this version is going in my jazz \include and will tighten up my > code considerably: > > triplet = #(define-music-function (parser location tup

Re: Bracket with text label

2013-09-19 Thread Alec Bartsch
On Sep 19, 2013, at 12:35 PM, David Kastrup wrote: > 4 is a number. You want (ly:make-duration 2 0) instead. OK, great, this version is going in my jazz \include and will tighten up my code considerably: triplet = #(define-music-function (parser location tuplet-span music)

Re: Bracket with text label

2013-09-19 Thread Alec Bartsch
On Sep 19, 2013, at 11:03 AM, Urs Liska wrote: > even= > #(define-music-function (parser location music)(ly:music?) > #{ > \once \override TupletNumber #'text = "even" > \times 4/4 { $music } > #}) > > \even { a8 g16 f } > > Maybe it works ;-) Thanks for the suggestion. That works g

Re: Bracket with text label

2013-09-19 Thread SoundsFromSound
___ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user - composer | sound designer -- View this message in context: http://lilypond.1069038.n5.nabble.com/Bracket-with-text-label-tp151045p151056.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Bracket with text label

2013-09-19 Thread Alec Bartsch
On Sep 19, 2013, at 12:18 PM, SoundsFromSound wrote: > The include of english.ly allows you to use English names for sharps and > flats, however you now can use *\language "english" *instead of the include. Nice! Thanks. Alec ___ lilypond-user mail

Re: Bracket with text label

2013-09-19 Thread David Kastrup
Alec Bartsch writes: > but still be able to do this on occasion: > > \triplet 2 { a4 b c a b c } > How do I do the default value properly? My guess doesn't quite work: > > triplet = #(define-music-function (parser location tuplet-span > music)((ly:duration? '4) ly:music?) > #{ >

Re: Bracket with text label

2013-09-19 Thread Urs Liska
Am 19.09.2013 19:02, schrieb Urs Liska: Hi Alec, welcome to this list. Images of this size are absolutely acceptable because they are very helpful to show your intention/problem/question. I'm not sure if that's the best approach, but you could use a pseudo tuplet and override the text of t

Re: Bracket with text label

2013-09-19 Thread Alec Bartsch
On Sep 19, 2013, at 10:02 AM, Urs Liska wrote: > I'm not sure if that's the best approach, but you could use a pseudo tuplet > and override the text of the "tuplet number": > > \once \override TupletNumber #'text = "even" > \times 4/4 { a8 g16 f } > > Depending on your LilyPond version you can

Re: Bracket with text label

2013-09-19 Thread Urs Liska
Hi Alec, welcome to this list. Images of this size are absolutely acceptable because they are very helpful to show your intention/problem/question. I'm not sure if that's the best approach, but you could use a pseudo tuplet and override the text of the "tuplet number": \once \override Tuplet

Bracket with text label

2013-09-19 Thread Alec Bartsch
Hi LilyPond users,In my first post to this list, I'm looking for suggestions on how to engrave the brackets seen in the attached image, labeled "even". (Hopefully it's OK to attach small images?) This is an indication in a jazz chart (where eighth notes are normally interpreted as "swung eighths) t