]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: NR 2.1 Vocal: use vocalName rather than instrumentName
authorTrevor Daniels <t.daniels@treda.co.uk>
Wed, 20 Oct 2010 09:18:22 +0000 (10:18 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Wed, 20 Oct 2010 09:18:22 +0000 (10:18 +0100)
 - also show use of \markup

Documentation/notation/vocal.itely

index 3b0aa9b84adce02cf5b353fa603929d6fdc1731d..6a12d7a8f370559ac1dd461b1fba1061b987fbf4 100644 (file)
@@ -2352,15 +2352,14 @@ Notation Reference:
 @cindex names, character
 
 Character names are usually shown to the left of the staff when the
-staff is dedicated to that character alone.  The instrument name can
-be used for this purpose.
+staff is dedicated to that character alone:
 
 @lilypond[quote,verbatim,ragged-right]
 \score {
   <<
     \new Staff {
-      \set Staff.instrumentName = #"Kaspar"
-      \set Staff.shortInstrumentName = #"Kas"
+      \set Staff.vocalName = \markup \smallCaps Kaspar
+      \set Staff.shortVocalName = \markup \smallCaps Kas.
       \relative c' {
         \clef "G_8"
         c4 c c c
@@ -2369,8 +2368,8 @@ be used for this purpose.
       }
     }
     \new Staff {
-      \set Staff.instrumentName = #"Melchior"
-      \set Staff.shortInstrumentName = #"Mel"
+      \set Staff.vocalName = \markup \smallCaps Melchior
+      \set Staff.shortVocalName = \markup \smallCaps Mel
       \clef "bass"
       \relative c' {
         a4 a a a