On Sun 29 Sep 2019 at 21:00:58 (-0400), Freeman Gilmore wrote: > Aaron Hill wrote: > > With quotation marks, you can break a lot of the rules: > > > > %%%% > > \version "2.19.83" > > > > "Anything?! { c'4 } 😀" = { c'4 } > > > > { \"Anything?! { c'4 } 😀" } > > > > Then would { \"Anything?! { c'4 } 😀" } be equivalent to { \{ c'4 } } ?
No. Typesetting { \"Anything?! { c'4 } 😀" } would give the same output as { c'4 }. BTW there's no relationship between the characters c'4 in the variable name and the note c'4 in the score. The former might mean something to the human typing in the source, but it means nothing to LP beyond being three ASCII characters c ' 4 in the middle of a variable name. If the name contains otherwise illegal characters, then it must *always* be enclosed in "". \{ doesn't mean anything, \"{" does. So you can write "{" = g'4 "abcd" = a'4 spqr = f'4 { \"{" \abcd \"spqr" } for what it's worth. > > Whether it is prudent to do such a thing is another matter. (: Has a LilyPond obfuscation contest ever been held? :) Cheers, David. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user