help-gnu-music
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slur position


From: Jan Nieuwenhuizen
Subject: Re: Slur position
Date: 10 May 2001 15:52:47 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/20.7

Adam Tee <address@hidden> writes:

> How do I move the position of a slur to stop it clashing wtih staccato
> markings??

Actually, LilyPond should take care of that, it's one of the most
embarrassing shortcomings.  To get a somewhat acceptable result with
1.4.0,  you can tweak Slur's attachment-offset, see below.

Also, it looks lik the attachment-offset is not 'corrected' for the
direction of the slur; that's not very practial.  I'm not sure if
that's a bug, I'll have to look into that.

> The postscript and

[no need for that]

> source of the example are attached.


\version "1.3.148"
% Mudela file generated by Denemo version 0.5.5

%http://www.gnu.org/software/denemo/denemo.html

\header{
        title = ""
        subtitle = ""
        composer = ""
}

\include "paper13.ly"
StaffFisrt = \notes  {
        \property Staff.midiInstrument = "acoustic grand"
        \time 4/4
        \key c \major
        \clef treble
        \partial 4
        \property Voice.Slur \override
                #'attachment-offset = #'((0 . 0) . (0 . -0.5))
        e'8-\upbow-\staccato( \< \! )f'-\staccato |
        \property Voice.Slur \revert #'attachment-offset
        ges'4 \>  \! f'8  \bar "|."
}

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]