song2: bass: Add instrument name, remove empty.
authorrekado <rekado@elephly.net>
Fri, 3 Jun 2016 05:36:33 +0000 (07:36 +0200)
committerrekado <rekado@elephly.net>
Fri, 3 Jun 2016 05:36:33 +0000 (07:36 +0200)
02-song2/parts/bass.ly

index 51319e14abe11455ac954c5f45e43d12f6f8e0af..cd6de4143c514fc8f30a79abeefaba4f9d820296 100644 (file)
@@ -142,12 +142,25 @@ bassMusic = {
   \bassFinal
 }
 
-bass = <<
-  \new Staff {
+\layout {
+  ragged-last = ##t
+  indent = 2\cm
+  short-indent = 1.5\cm
+}
+
+bass = \new StaffGroup \with {
+  instrumentName = #"Bass"
+  shortInstrumentName = #"Bass"
+}
+<<
+  \new Staff \with {
+    \RemoveEmptyStaves
+  } {
     \bassMusic
   }
   \new TabStaff \with {
     stringTunings = #bass-five-string-tuning
+    \RemoveEmptyStaves
   } {
     \override Stem #'transparent = ##t
     \override Beam #'transparent = ##t