[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quick question about accidentals
From: |
Jacques Menu Muzhic |
Subject: |
Re: Quick question about accidentals |
Date: |
Sat, 26 Nov 2016 21:09:28 +0100 |
Brilliant!
JM
> Le 26 nov. 2016 à 17:52, David Kastrup <address@hidden> a écrit :
>
> David Sumbler <address@hidden> writes:
>
>> Thanks for these 2 replies. I have tidied things up a bit by using
>>
>> \once \omit Accidental
>>
>> as suggested by Noeck.
>>
>> David's reply has given me several things to look up and think about
>> (which is good!). The quoted "@", \single and \etc were all
>> effectively new to me - although I must have read about them more than
>> once in the NR. I don't think I understand them well enough even now,
>> though, for me to have invented
>>
>> "@"=\single \omit Accidental \etc
>
> Well, @ is just an arbitrary character that isn't used yet by LilyPond.
> & would probably also have worked. \single converts an override (like
> \omit Accidental) into the corresponding tweak. \etc cuts a music
> function call short and results in a music function that expects the
> remaining arguments. Sooo...
>
> \omit Accidental is an override
> \single \omit Accidental is incomplete syntax missing a tweak target
> \single \omit Accidental \etc is a music function expecting such a target
>
> So:
>
>>> "@"=\single \omit Accidental \etc
>>>
>>> { @cis1 }
>
> Of course you can write this @ cis1 as well. I was just aiming for a
> single-character version.
>
> --
> David Kastrup
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user