LSR/349

< LSR
Zur Navigation springen Zur Suche springen
PD Der Inhalt dieser Seite wurde aus dem LilyPond Snippet Repository übernommen und steht unter folgender Lizenz: CC0.
See Public Domain Help Pages for more info.
PD
Specifying instrument changes as markups

LSR Snippet Nr. 349

Beschreibung

This is just a small useful macro when you need to specify multiple instrument changes on a same staff. Just write \inst "Name before the note the markup should be attached to.
auto

Lilypond-Code

%% http://lsr.di.unimi.it/LSR/Item?id=349
%% see also http://lilypond.org/doc/v2.18/Documentation/notation/graphic

%LSR modified by P.P.Schneider on Feb.2014

inst =
#(define-music-function (parser location string) (string?)
  #{ <>^\markup \bold \box #string #})

\relative c' { c \inst "Horn" d e f }

Unterseiten