lilypond-user
[Top][All Lists]
Advanced

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

Re: Why no numbers allowed in variables?


From: Thomas Morley
Subject: Re: Why no numbers allowed in variables?
Date: Tue, 2 Oct 2018 23:27:59 +0200

Am Di., 2. Okt. 2018 um 23:17 Uhr schrieb David Kastrup <address@hidden>:

> So what is wrong with using \"var2" or \var.2 ?

Ah, I forgot about var.1 etc

Ofcourse below is a bit ugly I'd say:

val.1 = "foo"
<<
  \new Staff \repeat unfold 4 c'4
  \new Lyrics \lyricmode { \val.1 4 \val.1 2 \val.1 4 }
>>

Another possibility is to use superscript like
valĀ² = ...
Ofcourse it's soso...
It works not because it's supported but because it's not disallowed.
Which may change in the future.


Cheers,
  Harm



reply via email to

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