lilypond-user
[Top][All Lists]
Advanced

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

Re: grace note suppresses instrument name!


From: Richard Shann
Subject: Re: grace note suppresses instrument name!
Date: Sun, 22 Jan 2017 10:53:42 +0000

On Sun, 2017-01-22 at 11:56 +0100, Jean Bréfort wrote:
> Le dimanche 22 janvier 2017 à 10:40 +0000, Richard Shann a écrit :
> > Consider:
> > 
> > \version "2.19.43"
> >         \new Staff 
> >             << 
> >                 \set Staff.instrumentName = \markup "Treble Recorder"
> >                  {
> >                    \grace f'8
> >                    g'4  g'
> >                 }
> >             >>
> > 
> > with the grace note the instrument name is not printed, without it,
> > it
> > is. Should the syntax used here work? I realize that by replacing <<
> > >>
> > with {} it works, but is there a good reason why this <<>> syntax
> > suddenly fails when a grace note starts the music?
> > 
> > Richard
> > 
> 
> Try this:
>         \new Staff  {
>                 \set Staff.instrumentName = \markup "Treble Recorder"
>             << 
>                  {
>                    \grace f'8
>                    g'4  g'
>                 }
>             >>
>         }

Thank you - I see that using { } makes it work via more than one route,
but is it a bug? (It is not a purely academic question, I would have
difficulty generating an extra { } from Denemo without some recoding, or
using a customised score layout.)
Richard





reply via email to

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