\header {
    texidoc = "Rests under beams are only moved if necessary."
}

\version "2.3.4"

fig =   \relative c' {
    <a c e>8[ r <c e a> r <e a c> r <a c e>]  r |
}

			 
\score {
   \relative c' \new Staff {
     \fig 
      \transpose c c,  \fig
      \new Voice { \stemUp \transpose c f  \fig }
      <<
	  \\
	  \transpose f c \fig
      >>
      
      <<
	  { \transpose c c' \fig }
	  \\
	  {} 
      >>
      
      << \transpose c c' \fig \\
	  \transpose f c \fig
      >>
  }

  \paper {
      raggedright = ##t
  }
}

