> > Change #'Y-offset on the DynamicLineSpanner too.
>
> Yes, I got the same idea.  However, I would prefer that Y-offset
> were relative to the original position instead of being relative to
> the vertical staff center.  However, I can live with that.

Hmm.  The code below makes me believe that there is a bug somewhere...


    Werner

======================================================================


\version "2.11.0"

\header { texidoc = "
  A slur disables the @code{Y-offset} property of a
@code{DynamicLineSpanner}.
" }

\new Staff \with {
  \remove Time_signature_engraver
}
{
  f1 |
\once \override DynamicText #'X-offset = #'-5.0
\once \override DynamicLineSpanner #'Y-offset = #'-5.0
\once \override DynamicLineSpanner #'outside-staff-priority = ##f
  c1\ff( | f1) |

\break
 
  f1
\once \override DynamicText #'X-offset = #'-5.0
\once \override DynamicLineSpanner #'Y-offset = #'-5.0
\once \override DynamicLineSpanner #'outside-staff-priority = ##f
  c1\ff | f1 |
}

\paper {
  ragged-right = ##t
  indent = #0
}

% EOF

PNG image

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to