Hi,
I have 2 staffs, one with the 3rd note hidden and another replacing the
3rd note with a red dot. But the 2 staffs are not having the same width.
What do I need to do make the 2nd staff the same width as the 1st staff.
Please see the image for details and thank you all so much for the help.
Raj
\version "2.22.0" \language english \header {tagline = ##f} \score {\new
Staff \with {\omit TimeSignature}
{\set Staff.midiInstrument = #"Acoustic Grand Piano"
\key c \major \time 5/1 \clef bass g,1 a, \hideNotes b,
\unHideNotes c d \bar "||"}
\layout {\context { \Score proportionalNotationDuration
= #(ly:make-moment 1/2) } } \midi { \tempo 1 = 72}}
\version "2.22.2" \language english
RedDotMarkup = \markup \vcenter \with-color "#FF0000" \fontsize #-1
\musicglyph "dots.dot"
RedDot = \tweak text \RedDotMarkup \tweak stencil
#ly:text-interface::print \tweak staff-position #0 \etc
\header { tagline = ##f } \score {\new Staff \with {\omit TimeSignature }
{\set Staff.midiInstrument =
#"Acoustic Grand Piano"
\key c \major \time 5/1 \clef bass g,1 a, \RedDot b, c d \bar
"||"}
\layout { \context { \Score proportionalNotationDuration =
#(ly:make-moment 1/2) } } }
issue