lilypond-user
[Top][All Lists]
Advanced

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

\repeat unfold... *zero*


From: Dmytro O. Redchuk
Subject: \repeat unfold... *zero*
Date: Mon, 13 Apr 2009 10:44:02 +0300

Hello, lilyponders,

first of all -- thank you, everybody, who makes lilypond better.
Lilypond is *so* great, so i can not express this ever in my native
language, Ukrainian.

(Now i'm a-kind-of-working on some "score books" with
lilypond & lilypond-book & latex -- i would not like ever
imagine that i could try to do this with other
music engraving software).

One issue i've found these days.
I thought of \repeat "unfold in a context of some experiments
with "concatenateable" fragments of music, lyrics etc --
can not say now with what exactly;
so i can not tell whether i need this or not :-)

But just take a look:

\version "2.12.2"
\relative c'' {
  % one bar of music:
  \repeat "unfold" 1 { c4 c c c }
  \bar "||"
  % one bar of music *too*:
  \repeat "unfold" 0 { d4 d d d }   % "zero" here
  \bar "|."
}

To be honest, i would expect second bar not to be engraved.

That's not a problem, i can not say why one could need
\repeat unfold *zero* { ":-)" }

-- 
Dmytro O. Redchuk




reply via email to

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