Thank you for your answer. It may take me a while to process yours and
the other two answers that I got. I looked for a while and haven't
found the snippet you referred to but I am quite busy right now.
Paul
On 10/6/22 11:17 AM, Aaron Hill wrote:
On 2022-10-06 10:31 am, Paul Scott wrote:
In 2.23.13 Notation 1.3.1 shows how to mix normal text with dynamic
text.
Is there a way to mix normal text, brackets specifically, with hairpins?
This is used in the U.S. Marine Band versions of the Sousa marches.
Have you looked further in the docs? See the subsection on "New
dynamic marks" [1], where there is a particular snippet that shows off
customizing dynamics (including brackets) that work along side hairpins:
%%%%
roundF = \markup { \center-align \concat {
\normal-text { \bold { \italic ( } }
\dynamic f
\normal-text { \bold { \italic ) } } } }
boxF = \markup { \bracket { \dynamic f } }
mfEspress = \markup { \center-align \line {
\hspace #3.7 mf \normal-text \italic espress. } }
roundFdynamic = #(make-dynamic-script roundF)
boxFdynamic = #(make-dynamic-script boxF)
mfEspressDynamic = #(make-dynamic-script mfEspress)
\relative {
c'4_\roundFdynamic\< d e f
g,1~_\boxFdynamic\>
g1
g'1~\mfEspressDynamic
g1
}
%%%%
[1]:
https://lilypond.org/doc/v2.23/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks
[2]: https://lilypond.org/doc/v2.23/Documentation/b2/lily-b81795aa.png
-- Aaron Hill