]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add info about centering instrument names.
authorGraham Percival <graham@percival-music.ca>
Thu, 18 Aug 2005 10:54:13 +0000 (10:54 +0000)
committerGraham Percival <graham@percival-music.ca>
Thu, 18 Aug 2005 10:54:13 +0000 (10:54 +0000)
Documentation/user/advanced-notation.itely

index 244b7cf8e06811c2d5bc5cfb7176b30f9aa6928d..478ecf79c69fd4ced5d32e57f5e8e9f9d76079c2 100644 (file)
@@ -879,6 +879,24 @@ names, for example
 c''1
 @end lilypond
 
+If you wish to center the instrument names, you must center all of them
+
+@lilypond[quote,verbatim,raggedright]
+{ <<
+\new Staff {
+  \set Staff.instrument = \markup {
+    \center-align { "Clarinetti"
+      \line { "in B" \smaller \flat } } }
+  c''1
+}
+\new Staff {
+  \set Staff.instrument = \markup{ \center-align { Vibraphone }}
+  c''1
+}
+>>
+}
+@end lilypond
+
 For longer instrument names, it may be useful to increase the
 @code{indent} setting in the @code{\layout} block.