I have a note with a prall and a slur. By default the prall is placed outside 
the slur, which is okay in most cases. However in my case the following note 
is very high, so the slur forces the prall way above the note. As a solution, 
I want to place the prall inside the slur and let the slur start above the 
prall:

\version "2.13.11"
\relative c'' {
  \once \override TextScript #'avoid-slur = #'inside
  \once \override TextScript #'outside-staff-priority = ##f
  e4(\prall c')
}

Unfortunately, it seems that the avoid-slur property does not have any 
effect... It seems that I can't override the default value for pralls as set 
in script.scm:
    ("prall"
     . (
        (script-stencil . (feta . ("prall" . "prall")))
        (padding . 0.20)
        (avoid-slur . around)
        (direction . ,UP)))


For turns it works out of the box, because a \turn is already placed inside 
the slur. (On the other hand, I cannot move the turn outside the slur...)

So, is there any way to move the prall in my example inside the slur?

Thanks,
Reinhold
        -- 
------------------------------------------------------------------
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\version "2.13.11"

\relative c'' {
  % The prall is always placed outside the slur. I want the prall to be inside the
  % slur, i.e. first the notehead, then the prall and the slur starts on top of 
  % the prall
  \once \override TextScript #'avoid-slur = #'inside
  \once \override TextScript #'outside-staff-priority = ##f
  e4(\prall c')
  
  % With a turn it works already out of the box, as avoid-slur is set to 'inside
  % in scripts.scm already:
  \once \override TextScript #'avoid-slur = #'outside
%   \once \override TextScript #'outside-staff-priority = ##f
  e,4(\turn c'4)
}

Attachment: articulation-slur.pdf
Description: Adobe PDF document

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

Reply via email to