Well I managed to get an acceptable result with the following:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\relative c' {

                \time 3/4

                \mergeDifferentlyDottedOn 

                \mergeDifferentlyHeadedOn 

                <<{b'4\rest e,2}\\{a,2.}\\

                {

                                \hideNotes

                                \once\override Slur  #'minimum-length = #8

                                \once\override Slur  #'extra-offset = #'(1 . 0)

                                a8_( e'2) s8

                                \unHideNotes

                }>>

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

BTW, extra-offset is not documented as one of the slur settings in the 
Internals Reference. I found it in a couple of snippets in the repository. 

 

There also seem to be inconsistencies or omissions in the documentation – eg  
the PhrasingSlur #’positions property is given as an example in the Learning 
Manual but is not mentioned as one of the PhrasingSlur settings in the 
Internals Reference.

 

From: nick.pa...@internode.on.net [mailto:nick.pa...@internode.on.net] 
Sent: Tuesday, 13 January 2009 10:57
To: Nick Payne; James E. Bailey
Cc: lilypond-user@gnu.org
Subject: Re: Re: Slur across voices without taking time with hidden notes

 


The problem there is that even with \mergeDifferentlyDottedOn and 
\mergeDifferentlyHeadedOn, LP won't merge a half note with a quarter note, so 
the visible and hidden a notes aren't merged and the slur doesn't line up with 
the visible notes.  If I change the hidden a to an eighth note then the a notes 
merge but I still can't get the e notes to merge. I could muck around with 
positioning the end point of the slur, but the problem with that is that the 
bar is spaced differently when outputting an individual part as compared to the 
combined score, and so if the position is tweaked for one it's incorrect for 
the other.

Nick

On Tue 13/01/09 8:17 AM , "James E. Bailey" derhindem...@googlemail.com sent:

You could try putting the slur in a completely different voice 
altogether. 

<<{b'4\rest e,2}\\{a,2.}\\{\hideNotes a4_( e2)}>> 

Am 12.01.2009 um 21:56 schrieb Nick Payne: 

> In this example, excerpted from a score, how can I get a slur 
> between the 
> two notes? The snippets repository shows slurs across voices using 
> hidden 
> notes, but the hidden notes are counted in the timing. 
> 
> \relative c' { 
> \time 3/4 
> << { 
> b'4\rest e,2 | 
> } \\ { 
> a,2. 
> } >> 
> } 
> 
> Nick Payne 
> 
> 
> 
> _______________________________________________ 
> lilypond-user mailing list 
> lilypond-user@gnu.org 
> <javascript:top.opencompose('lilypond-user@gnu.org','','','')>  
> http://lists.gnu.org/mailman/listinfo/lilypond-user 



 

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.6/1889 - Release Date: 12/01/2009 
20:18

<<attachment: test.png>>

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

Reply via email to