Sorry, I read it too quickly. The results are a little bit better
if you use \line instead of \fill-line, but I agree that there's
still too much space between the elements.
I really recommend using minimal examples, with correct
indentation, though. This makes it much easier to see what's
happening and to investigate the problem. The example below has
all the important features of your example, but it's quicker to
understand the snippet.
Cheers,
- Graham
% the music should be closer to the "foo"
snip = \markup {
\score
{ \new Staff \with {
\remove Time_signature_engraver
firstClef = ##f
}
{ << c''4\\ a' >> }
\layout { ragged-right = ##t }
}
}
\markup {
\line{
foo
\snip
}
}