lilypond-user
[Top][All Lists]
Advanced

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

Re: OneStaff and instrument names


From: Nuno Trocado
Subject: Re: OneStaff and instrument names
Date: Tue, 28 Feb 2023 10:35:42 +0000

It works, thank you!

Enviado de Outlook para Android

From: Pierre Perol-Schneider <pierre.schneider.paris@gmail.com>
Sent: Tuesday, February 28, 2023 6:01:56 AM
To: Nuno Trocado <uiop99@hotmail.com>
Cc: lilypond-user@gnu.org <lilypond-user@gnu.org>
Subject: Re: OneStaff and instrument names
 
Hi Nuno,
This should work:

\layout {
  \context {
    \OneStaff
    \consists Instrument_name_engraver
  }
}

HTH, cheers,
Pierre


Le mar. 28 févr. 2023 à 02:36, Nuno Trocado <uiop99@hotmail.com> a écrit :
Is it possible to have instrument names when using OneStaff? Nothing appears:

\version "2.23.5"

\new Score {
  \new OneStaff \with { instrumentName = "Violin" } {
    \new Staff {
      c d e f
      \stopStaff
    }
    \new RhythmicStaff {
      \omit Score.TimeSignature
      c4 8 8
    }
  }
}

reply via email to

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