That's the ticket! Once again, thank you one and all: David, Thomas, Harm
and Martin. You guys are amazing and greatly appreciated!
Mark

On Thu, Oct 20, 2016 at 8:39 AM, Thomas Morley <[email protected]>
wrote:

> 2016-10-20 14:08 GMT+02:00 David Kastrup <[email protected]>:
> > Mark Mathias <[email protected]> writes:
> >
> >> Has anyone a happier method of separating fingering from notes? I would
> >> like to produce several versions of the same music using different
> >> fingerings for different instruments.
> >>
> >> For example, a melody might have four versions: one for violin, another
> for
> >> viola, another for cello and another for double bass. In addition to
> >> different clef and octave, each version would call for fingering
> >> appropriate to that instrument, but the same file including the melody
> >> would be reused in each version.
> >>
> >> Right now if I separate notes in one \include file from fingerings in
> >> another include file and combine them as separate voices, LilyPond
> doesn't
> >> place the fingering voice with an awareness of the notes voice, leading
> to
> >> collisions.
> >>
> >> In the version below, for example, the flageolet nearly touches the
> stem of
> >> the A, and the 3 is almost fully covered by the notehead of the A an
> octave
> >> above.
> >>
> >> My search of manuals, snippets, etc., hasn't turned up a good method.
> >>
> >> \version "2.19.16"
>
> %% Add
> \new Voice
> %% here, otherwise David's proposal will not work sufficiently
>
> >> \relative c'' {
> >>   <<
> >>     { \stemNeutral a4 c f a }
> >>     \\
> >
> > Remove the \\ here: it separates voices (which you apparently noticed
> > and tried to offset with \stemNeutral, also unneeded).  Without \\,
> > fingerings and notes are in the same Voice and will get combined.
> >
> >>     { s^\flageolet s^\markup { \finger "↓2" } s^\markup { \finger "↓1" }
> >> s^3 }
> >>   >>
> >>   g,^\flageolet c^\markup { \finger "↓2" } f^\markup { \finger "↓1" }
> a^3
> >> }
> >
> > --
> > David Kastrup
>
>
> Cheers,
>   Harm
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to