I have some Algorithmic sections, which are written externally in LaTeX and included as file includes in my LyX document. The algorithmic section renders with line breaks before and after, but appears inline in the LyX document. Question: Is there a way to insert dummy / editor-only line breaks in LyX? Analagous to the way one can write
hello
world
instead of
hello world
in LaTeX source, and the result will be the same.
I can't press "enter" or "ctrl+enter" (ragged line break, \\) before or after the figure, since that will create a new paragraph, which will be indented (I don't want this).
Below is a screenshot; the black section "procedure reduce_hla..." is the thing that I want editor-only newlines before and after.

\parbefore and after the algorithm, and then remove any paragraph indentation by using\noindent. Does that work for you? – Werner Jan 02 '12 at 07:15