lilypond-user
[Top][All Lists]
Advanced

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

Re: acciaccatura "slurs" are getting canceled with hide Slur


From: Valentin Petzel
Subject: Re: acciaccatura "slurs" are getting canceled with hide Slur
Date: Mon, 29 Nov 2021 20:57:44 +0100

Hi Adam,

hide overrides the specified grobs to be transparent (they will still affect 
spacing!)
One option would be doing something like the appended example, which overrides 
appoggiatura to tweak the slur to that transparent is #f.

A better way would be the use \omit Slur, which sets Slur.stencil to #f (and 
thus prevents any graphics to be created). In that case appoggiatura needs to 
tweak the stencil back to ly:slur::print.

Cheers,
Valentin


Am Montag, 29. November 2021, 19:55:13 CET schrieb Adam Good:
> Hi Everyone,
> Could someone help me please. Using...
> 
> \hide Slur
> 
> ...I would like to cancel my slur markings yet retain the small slur in my
> acciaccatura. On a bit of a deadline and would appreciate any help!
> 
> Thank you in advance.
> Adam
> 
> %%%
> \relative c' {
>   c8 (d e f) g (a b c)
>   \acciaccatura d8 c4
> }
> 
> \layout {
>   \context { \Score \remove "Bar_number_engraver" %\hide Slur
>   }
> }
> 
> %%%
> \relative c' {
>   c8 (d e f) g (a b c)
>   \acciaccatura d8 c4
> }
> 
> \layout {
>   \context { \Score \remove "Bar_number_engraver" \hide Slur
>   }
> }

Attachment: appoggiatura.ly
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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