Re: string harmonics with cue notes

2015-08-15 Thread David Kastrup
Malte Meyn lilyp...@maltemeyn.de writes: Am 14.08.2015 um 19:34 schrieb Malte Meyn: This is not a very clean solution but you might find something helpful in it ;) For example, I haven’t understood completely yet when to use #arg and when $arg in a music. duration apparently needs a $ but

Re: string harmonics with cue notes

2015-08-15 Thread Orm Finnendahl
Hi Stephen, thanks for the help! Using your idea I ended up with this: Cue = #(define-music-function (parser location note shift) (ly:music? number?) #{ \override Stem.transparent = ##t \override ParenthesesItem.padding = #0.2 \override ParenthesesItem.font-size

Re: string harmonics with cue notes

2015-08-15 Thread Orm Finnendahl
Hi Malte, I just realized from David's answer that your code somehow escaped my mailbox. Your solutions are exactly, what I was looking for, so please ignore my last post in that matter and thanks a lot: Your code is really helpful and very much appreciated! -- Orm

Re: string harmonics with cue notes

2015-08-14 Thread Klaus Blum
Hi Orm, not a complete solution, but maybe a start for further ideas... You could define a variable to sum up all the formatting commands: % - \version 2.19.5 cueNote = { \override ParenthesesItem.padding = #0.2 \override

Re: string harmonics with cue notes

2015-08-14 Thread Malte Meyn
Am 14.08.2015 um 16:30 schrieb Orm Finnendahl: Hi, I often need to notate harmonics for strings and like to indicate the resulting pitch as a small parenthesized notehead above the fingered pitch. Here are some solutions, see attachments. \harmonicChord doesn’t set an explicit duration

Re: string harmonics with cue notes

2015-08-14 Thread Malte Meyn
Am 14.08.2015 um 19:34 schrieb Malte Meyn: This is not a very clean solution but you might find something helpful in it ;) For example, I haven’t understood completely yet when to use #arg and when $arg in a music. duration apparently needs a $ but the other occurences of $ can be