[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to position a markup on top of the system?
From: |
Big Noise |
Subject: |
Re: How to position a markup on top of the system? |
Date: |
Fri, 19 Dec 2014 17:50:13 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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