Keep Line Together in Scrivener

I’m trying to keep text with subheadings on the same page in Scrivener. Is there a command for this?

For your subheadings, use Format > Paragraph > Keep with Next.

All the best,
Keith

Hi,

I want very much to keep my graphics together with my captions when Scrivener compiles a document. At present captions often drift away from their graphic, appearing on different pages.

However, I have not been able to find a reliable way to do correct this problem. One person advised me to use “Keep with Next” in for Format/Paragraph menu but that does not seem to work reliably.

Can you recommend a solution?

Thanks,
Ry