Here is a a code snippet that demonstrates...
\version "2.12.3"
\new Staff = main \relative c'' {
c4 b d c
<<
{ c4 b d c }
\new Staff \with {
\remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
\override StaffSymbol #'thickness = #(magstep -3)
firstClef = ##f
}
\repeat volta 2 { e4 d f e }
>>
}