Not on my system. Could you confirm you've used my exact code, with the corrected voicing? Could you provide PNG output demonstrating the problem?
-- Phil Holmes ----- Original Message ----- From: Gagi Petrovic To: Phil Holmes Cc: Marc Hohl ; lilypond-user@gnu.org Sent: Wednesday, October 24, 2012 5:27 PM Subject: Re: custom voiceStyle Thank you Phil, but the same issue persists when using the macro. Gagi On 24 October 2012 16:15, Phil Holmes <m...@philholmes.net> wrote: Try this: diamond = \override NoteHead #'style = #'diamond \relative c' { << \new Voice {\voiceOne d2~\( d8[es] as16[f g8]\) } \new Voice {\voiceTwo \diamond d2~ d2 } >> \oneVoice } -- Phil Holmes ----- Original Message ----- From: Gagi Petrovic To: Marc Hohl Cc: lilypond-user@gnu.org Sent: Wednesday, October 24, 2012 3:05 PM Subject: Re: custom voiceStyle example of code with macro (here both voices somehow get diamond heads): \version "2.14.2" diamond = \override NoteHead #'style = #'diamond \relative c' { << \voiceOne { d2~\( d8[es] as16[f g8]\) } \new Voice {\voiceTwo \diamond d2~ d2 } >> \oneVoice } example of code without macro (this is the appropriate result, but with messy code): \version "2.14.2" \relative c' { << \voiceOne { d2~\( d8[es] as16[f g8]\) } \new Voice {\voiceTwo \override NoteHead #'style = #'diamond d2~ d2 >> \oneVoice } Any clues why there is a difference in output? Thank you! Greetings, Gagi On 23 October 2012 19:56, Marc Hohl <m...@hohlart.de> wrote: Am 23.10.2012 11:20, schrieb Gagi Petrovic: Ah yes, that's the info i was looking for. Thank you Marc! First i just wanted to turn the red color off, and use it in voiceTwo (to have diamond heads in one voice, while having regular heads in the other). I tried using my macro diamond = \override NoteHead #'style = #'diamond in voiceTwo, but I noticed this didn't work. Somehow, both voices get diamond heads. Now I see the override does work as long as i don't use it via my macro. Could I change something in my macro so i could use it in this case? Could you send a small example of your current code, please? This would make it much more easy to try to help you. Regards, Marc Kind regards, Gagi ps. thank you for pointing me to ly/property-init.ly <http://property-init.ly>, this is really helpful! -- +31 6 1259 8681 | LinkedIn | gagipetrovic.nl -------------------------------------------------------------------------- _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- +31 6 1259 8681 | LinkedIn | gagipetrovic.nl
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user