>> ```
>> \version "2.25.18"
>>
>> foo =
>> #(define-music-function () ()
>>   #{
>>     <<
>>       c'4
>>       \new Voice { g''4 }
>>     >>
>>   #})
>>
>> {
>>  \override Staff.NoteColumn.ignore-collision = ##t
>>   c'4 \foo \stemUp \foo \stemDown \foo
>> }
>> ```
>>
>> As can be seen, the `\new Voice` doesn't react to `\stemUp` and
>> `\stemDown`.  Is there a way to fix this, maybe by 'cloning' all
>> properties of the `Stem` grob in the current `Voice` context to the
>> new one?
> 
> why not:
>   [\once] \override Staff.Stem.direction = #UP/DOWN
> ?

Well, if I could get this info within the music function, I would pass
it on to `\new Voice` as you describe.  So: How do I get this info
from the current context?


    Werner

Reply via email to