|
From: | Simon Albrecht |
Subject: | Re: HELP: Trill line without 'tr' written before it |
Date: | Wed, 16 Mar 2016 11:43:57 +0100 |
Hi George, On 16.03.2016 11:21, George wrote:
this creates a trill line above the note (I'd like it to appear on the stave) with 'tr' written before it (I'd like the zig-zag line to appear directly after the note head, with no extra text, just the line.) How can I accomplish this?
Have a look at the following: %%%%%%%%%% \version "2.18.2" myStartTrillSpan = -\tweak bound-details.left.text ##f % no text -\tweak outside-staff-priority ##f % inside staff -\tweak Y-offset 0 % v-center -\tweak bound-details.left.padding 1 % add padding to the left and right -\tweak bound-details.right.padding 1 -\tweak minimum-length 5 % minimum length – requires the following line -\tweak springs-and-rods #ly:spanner::set-spacing-rods \startTrillSpan \new DrumStaff \with { instrumentName = #"Güiro" shortInstrumentName = #"Guir." \override StaffSymbol.line-count = 1 \override NoteHead.style = #'cross } { r4 c4\myStartTrillSpan e8\stopTrillSpan c8 c4 | } %%%%%%%%%%%%I made some more suggestions for simplifying the code: e.g. by further exploiting use of the \with{} block, and deleting the trailing spaces in (short)instrumentName.
Best, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |