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 > } > }
appoggiatura = #(define-music-function (music) (ly:music?) #{ \grace { \temporary\override Stem.direction = #UP <>_\tweak transparent ##f _\tweak stencil #ly:slur::print _( #music \revert Stem.direction } <>) #}) {\hide Slur c''( d'') \appoggiatura c'' d'' } {\omit Slur c''( d'') \appoggiatura c'' d'' }
signature.asc
Description: This is a digitally signed message part.