[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beamed eighth notes in markup
From: |
Jacques Menu |
Subject: |
Re: Beamed eighth notes in markup |
Date: |
Sat, 12 Jun 2021 08:41:13 +0200 |
Hello Brent,
Does this help you?
JM
\version "2.19.83"
tempoRelationshipStaffReduce = #-3
\markup {
\line \general-align #Y #DOWN {
% 1st column in line
"On l'indique ainsi : "
% 2nd column in line
\score {
\new Staff \with {
% reduce the font size a la cue
fontSize = #tempoRelationshipStaffReduce
\override StaffSymbol.staff-space = #(magstep
tempoRelationshipStaffReduce)
% hide the staff lines
\override StaffSymbol.line-count = #0
% align horizontally
\override VerticalAxisGroup.Y-extent = #'(-0.85 . 0)
}
{
% \override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1/2) % super-tight
% \override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 1/4) % tight
% \override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 3/16) % even
\override Score.SpacingSpanner.common-shortest-duration =
#(ly:make-moment 5/32) % even
% the left music
\relative c' {
\stemUp
\fixed b' {
b8 b8
}
}
% the equivalence sign
\once \override Score.TextScript.Y-offset = #-0.4
s4.^\markup{
\halign #-1 "="
}
% the right music
\relative c' {
\stemUp
\fixed b' {
\tuplet 3/2 { b4 b8 }
}
}
}
\layout {
indent = 0
\context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver"
}
} % layout end
} % score end
} % line end
} % markup end
> Le 12 juin 2021 à 08:34, Brent Annable <brentannable@gmail.com> a écrit :
>
> Hi all,
>
> I'm trying to create a markup indication that includes two beamed
> eighth-notes, but I can't seem to figure out how using \note or
> \note-by-number. Can anyone help? My efforts are attached.
>
> \version 2.19.65
> \relative c' { c4
> f^\markup {\center-align \italic \small { "(v. 6" }
> \teeny { \note-by-number #3 #0 #1 }
> \teeny { \note-by-number #3 #0 #1 \italic \small ")" }
> }
> f a }
>
> Many thanks,
>
> Brent.
> <beamed-eighths-in-markup.ly><beamed-eighths-in-markup.pdf>