Jump to content

Arrow between measures

From LilyPond wiki
Revision as of 18:49, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

To put an arrow between separated measures, try this code:

\version "2.24"

arrow = 
  -\tweak Y-offset #0
  -\tweak outside-staff-priority ##f
  -\markup
  \concat {
    \draw-line #'(5 . 0)
    \hspace #-0.2 % This is to bridge the small indentation in the arrow-head
    \arrow-head #X #RIGHT ##t
  }
  
\new Staff {
  c''1 \stopStaff << \tweak transparent ##t R1-\arrow >> \startStaff c''1
}