Maybe one of the Scheme wizards could come up with such a solution but I doubt 
it would really be worth the trouble as the two-contexts solution is easy to 
use ... and flexible too, in case someone needs secondary alternatives and/or 
font, colour, ... changes in the alternatives. 

Have a good day, too!
Best, Robert

> On 15 Dec 2017, at 13:02, Menu Jacques <imj-...@bluewin.ch> wrote:
> 
> Hello Robert,
> 
> Thanks for your answer. I’d been wondering whether something would be 
> possible with a single ChordNames contexts, but yours is clearly a solution.
> 
> A nice day!
> 
> JM
> 
>> Le 15 déc. 2017 à 11:15, Robert Schmaus <robert.schm...@web.de> a écrit :
>> 
>> If you mean alternative chords on top of each other, I just place two 
>> ChordNames contexts in the score and have the upper one contain mostly 
>> spacers plus the alternative chord names wherever one is needed ...
>> 
>> Best, Robert
>> 
>>> On 15 Dec 2017, at 00:20, Menu Jacques <imj-...@bluewin.ch> wrote:
>>> 
>>> Hello folks,
>>> 
>>> MusicXML has the notion of multiple chord names, i.e.:
>>> 
>>>   <part id="P1">
>>>         <measure number="1">
>>>             <attributes>
>>>                 <divisions>480</divisions>
>>>                 <key>
>>>                     <fifths>0</fifths>
>>>                     <mode>major</mode>
>>>                 </key>
>>>                 <time>
>>>                     <beats>4</beats>
>>>                     <beat-type>4</beat-type>
>>>                 </time>
>>>                 <clef>
>>>                     <sign>G</sign>
>>>                     <line>2</line>
>>>                 </clef>
>>>             </attributes>
>>>             <harmony print-frame="no">
>>>                 <root>
>>>                     <root-step>C</root-step>
>>>                 </root>
>>>                 <kind text="">major</kind>
>>>             </harmony>
>>>             <harmony print-frame="no">
>>>                 <root>
>>>                     <root-step>F</root-step>
>>>                     <root-alter>1</root-alter>
>>>                 </root>
>>>                 <kind text="m6">minor-sixth</kind>
>>>             </harmony>
>>>             <note>
>>>                 <pitch>
>>>                     <step>A</step>
>>>                     <octave>4</octave>
>>>                 </pitch>
>>>                 <duration>960</duration>
>>>                 <voice>1</voice>
>>>                 <type>half</type>
>>>             </note>
>>> 
>>> Can this be obtained with LilyPond?
>>> 
>>> Thanks for your help!
>>> 
>>> JM
>>> 
>>> _______________________________________________
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to