
%% file linelength.ly - example linelength
%% Broken: Cannot get instrument name to print with 2.5.23
%%         If using \repeat
%%         middle bar line will not fluctuate just a little


% \version "2.5.21"
\version "2.4.5"

vlcello = {
   \set Staff.instrument = "Violoncello-baroque-longissimo  "
   \clef bass
   \key b \major
   \time 3/4
   %% Metronome mark belongs to the "Score" namespace.
   \override Score.SeparationItem #'padding = #0.2
   \override Score.MetronomeMark #'padding = #'3.0
   \tempo 4 = 62
   << {
      \once \override TextScript   #'extra-offset = #'(-3 . 6)
      \stemDown
      f8[^\markup{\bold "Lento" } 
      g8]
      }
   >>
   \stemNeutral
   fis,!8
   gis,!
   a,   
   b,   
   cis8
   g8
   c16
   bes16
   e'8
   fis'4\ff
   cis,!2.
   \repeat unfold 20 {b8 f' e' fis' } %% don't insert \break
   \bar "|."
}

\score {
   \context Voice = "vlc" {
   %\context Staff = "Primo" {
       \set Staff.midiInstrument = #"cello"
       \vlcello
   %}
   }

   \layout {
      raggedright = ##f 
      linewidth = 122
   }
   \midi{}
}

