[Top][All Lists]
[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:51:14 -0600 |
Valentin wrote:
> What has to be done? How do you define the (string?) start?
Oops -- my bad. I misread the error messages. All that needs to happen
is to enclose the multiple notes in braces, to make a single music
expression. Multiple notes outside of braces make multiple music
expressions which aren't allowed.
This code works:
\version "2.10.19"
\paper {ragged-right = ##t}
#(define-markup-command (segue layout props tosong)
(string?)
(interpret-markup layout props
(markup #:small #:column ("segue to" #:italic tosong))
)
)
\score {
{c'1 c' c' c' c'1_\markup \segue #"Something Else"}
}
Carl