lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strings as variable names


From: Thomas Morley
Subject: Re: Strings as variable names
Date: Mon, 28 Dec 2015 19:47:40 +0100

2015-12-28 18:49 GMT+01:00 David Kastrup <address@hidden>:
[...]
>
> Reading people's ideas about those things make them appear like
> something we would be better without.  They only lead to confusion.
>
> --
> David Kastrup

I rarely use this possibility, but it's very nice to have numbers, etc
in identifiers for things like:

"des:7.5+.9+" =
\markup {
  \fret-diagram-verbose #`(
    (mute 6)
    (place-fret 5 7 ,#{ \markup \fontsize #-4 3 #})
    (place-fret 4 8 ,#{ \markup \fontsize #-4 \with-flat 7 #})
    (place-fret 3 8 ,#{ \markup \fontsize #-4 \with-sharp 9 #})
    (place-fret 2 9 ,#{ \markup \fontsize #-4 \with-sharp 5 #})
    (mute 1)
  )
}

\with-flat is a custom-markup-command outputting nice formatted "b7"

Wouldn't want to miss it.


Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]