Hi all,
I want to engrave something like the attached scaned image for an
analytical music example. As you can see from the LilyPond attachments I
have achieved most of it already, but I'm out of luck with the different
boxes.
What I'd basically need is boxes that enclose two or more independent
markups, be it in the "free" markups above the staff or in the two
Lyrics lines below.
I don't necessarily need the exact shapes and line structures in of the
hand-written example, it's just about the different enclosings and nestings.
Unfortunately my efforts so far (using boxes or paths) didn't turn up
anything useful.
Any suggestions?
Best
Urs
\version "2.19.28"
%\include "lilypond-book-preamble.ly"
\paper {
indent = 0\cm
}
pieceTitle =
#(define-event-function (text) (markup?)
#{
-\tweak TextScript.self-alignment-X #LEFT
-\tweak TextScript.self-alignment-Y #DOWN
-\tweak TextScript.padding 3
-\markup \rotate #90 #text
#})
notes = \relative es' {
\omit Staff.Stem
\key as \major
\time 3/4
es ^ \pieceTitle "Pierrot"
<g bes>
es
|
<bes'\harmonic f'> ^\pieceTitle "Arlequin"
s2
|
bes4 ^\pieceTitle "Valse noble"
g bes
|
\time 2/4
es,4 ^\pieceTitle "Eusebius"
s4
|
\time 5/4
<<
{
<bes' \harmonic f'>4 ^\pieceTitle "Florestan"
}
\new Voice {
<g \harmonic d'>
}
>>
s8
bes4
s8
<g \harmonic d'>4
s4
\bar ";"
|
\time 3/4
bes4 ^\pieceTitle "Coquette"
s2
\bar ";"
|
bes4 ^\pieceTitle "Réplique"
s8
g4 s8
\bar "||"
}
functionsOne = \lyricmode {
\set stanza = \markup \circle "B:"
S2.
D2.
T2.
S2
}
functionsTwo = \lyricmode {
\set stanza = \markup \circle "g:"
\skip2.*3
tG2
\markup { D \hspace #-.8 \super 7 }4*5
(tP)2.
t2
}
\score {
<<
\new Staff {
\omit Score.TimeSignature
\notes
}
\new Lyrics \functionsOne
\new Lyrics \functionsTwo
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user