Hi Wim,

in your markup command, add those two lines:

\with-dimensions #'(0 . 0) #'(0 . 0)

\translate #'(0 . -5)


so the whole example now looks like this:

% -------------------------------------------------------------------

\version "2.18.0"

% an arrow used to signal low play:
achtvabassaarrow = \markup {
  \hspace #1
  % \vspace #15    % see description problem
  \fontsize #5
  \with-dimensions #'(0 . 0) #'(0 . 0)
  \translate #'(0 . -5)
  \center-column {
    \combine
    \draw-line #'(0 . 4)
    \arrow-head #Y #DOWN ##f
  }
}

problem = \relative f {
  \time 5/4
  \set Staff.ottavation = #"8vb"    % 8va bassa in second player
  \once \override Staff.OttavaBracket.direction = #DOWN

  %to position the arrow nicely:
  %\once \override TextScript.Y-offset = #-6    % see description problem
  r4^\achtvabassaarrow g'16 fis g fis g fis e fis g g fis8~ fis4 |

}

\score {
  \problem
  \layout {
    #(layout-set-staff-size 15)
  }
}

% -------------------------------------------------------------------

... hope this helps.

Cheers,
Klaus

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to