[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octava 8 in brackets?
From: |
Marc Hohl |
Subject: |
Re: Octava 8 in brackets? |
Date: |
Wed, 06 Apr 2011 10:29:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
Am 06.04.2011 10:04, schrieb Thomas Scharkowski:
Hi,
how can I put the "8" of e.g the "G_8" clef in brackets?
I use the following definition
parenthesizeOctavateEight = \override Staff.OctavateEight #'stencil =
#(lambda (grob)
(grob-interpret-markup grob
(markup #:concat ("(" #:general-align Y DOWN #:stencil
(ly:text-interface::print grob) ")"))))
and then
music = {
\parenthesizeOctavateEight
\clef "G_8"
c4 d e f
}
HTH,
Marc
Thank you,
Thomas
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user