Actually it's a misinterpretation. The documentation does not make it clear that the start of the slur should be after the first note of the slur.
a'2 (a'4 a'4 ) On 24 April 2018 at 13:50, Robert Hickman <robehick...@gmail.com> wrote: > The documentation says that slurs can be created by putting notes > within '()' however this does not work in combination with the Larsen > articulation symbols: > > { > (a'2 a'4\cut a'4\strike) > } > > I get the following error: > > error: syntax error, unexpected EVENT_IDENTIFIER > > (a'2 a'4\cut a'4\strike) > input.ly:82:1: error: errors found, ignoring music expression > > { > fatal error: failed files: "input.ly" > > --------------- > > This is the full code: > > \version "2.18.2" > > > % OPTIONS -- ADJUST AS DESIRED > > larsenSymbolsScale = #1.5 > % Adjust this to scale all symbols up or down (default #1.5). > Known issue: adjusting this affects the spacing of the components of > the long and short double-cut roll symbols. > > larsenSymbolsOutlineWidth = #.065 > % Adjust this to change outline thicknesses for all symbols. > > % DON'T CHANGE ANYTHING BELOW HERE UNLESS YOU KNOW WHAT YOU'RE DOING > > > % SOME VARIABLES > larsenSymbolsHalignFactor = #(+ (* larsenSymbolsScale ( / 2 3 ) ) > .15 ) % this is an arbitrary number discovered by trial and error; it > helps keep the symbols roughly aligned with noteheads if the symbols > are resized using \larsenSymbolsScale > larsenSymbolsHalfSize = #(* .5 larsenSymbolsScale) > larsenSymbolsFlipVertical = #(* -1 larsenSymbolsScale) > > % SYMBOL: CUT > > cutCoordinates = #'( > (.4 .9) > (.55 .825) > ) > > cutStencil = > \markup \halign #(/ -3 larsenSymbolsHalignFactor) \stencil > #(make-connected-path-stencil > cutCoordinates > larsenSymbolsOutlineWidth > larsenSymbolsScale > larsenSymbolsScale > #t > #t > ) > > cut = ^\cutStencil > > tinyCutStencil = % The "tiny cut" is used as a component of some of > the more complex symbols > \markup \stencil > #(make-connected-path-stencil > cutCoordinates > larsenSymbolsOutlineWidth > larsenSymbolsHalfSize > larsenSymbolsHalfSize > #t > #t > ) > > tinyCut = \tinyCutStencil > > tinyCuts = > \markup > \halign #(/ -6.25 larsenSymbolsHalignFactor) \raise #(/ .35 > larsenSymbolsHalignFactor) > \combine > \tinyCut > \halign #(/ .25 larsenSymbolsHalignFactor) \raise #(/ .2 > larsenSymbolsHalignFactor) \tinyCut > > % SYMBOL: STRIKE > > strikeStencil = \markup \halign #(/ -1.75 larsenSymbolsHalignFactor) > \stencil > #(make-connected-path-stencil > '( > (.234 .831) > (.156 .831) > (-.012 .317) > (-.156 .831) > (-.293 .831) > ) > larsenSymbolsOutlineWidth > larsenSymbolsScale > larsenSymbolsScale > #t > #t > ) > > strike = ^\strikeStencil > > > \header {tagline = ""} > { > \numericTimeSignature > \time 4/4 > > (a'2 a'4\cut a'4\strike) > } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user