lilypond-user
[Top][All Lists]
Advanced

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

RE: Trying to create a custom markup command


From: Carl D. Sorensen
Subject: RE: Trying to create a custom markup command
Date: Thu, 12 Jul 2007 15:38:02 -0600

Valentin wrote: 

> -----Original Message-----
> From: Valentin Villenave [mailto:address@hidden 
> Sent: Thursday, July 12, 2007 12:51 PM
> 
> I was about to add it to the LSR when I realized it only 
> works when your score contains only *one* note... Try adding 
> a few more notes before the c'1, and you'll see it doesn't 
> work any longer.
> 

Apparently it's a bug in lilypond.  If you enclose the music in
\relative c'{} it works with the extra notes.  I'm in the process of
preparing a bug report right now.

%%%% Begin snippet

#(define-markup-command (segue layout props tosong)
    (string?)
    (interpret-markup layout props
        (markup #:small #:column ("segue to"  #:italic tosong))
    )
)


\score {
        \relative c' {
c4 c c c
c_\markup \segue #"Something Else"
}
}

%%%% End Snippet


Carl




reply via email to

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