# LyX — how to insert a dummy newline? [closed]

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


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.

-

## closed as too localized by lockstep, Marco Daniel, Joseph Wright♦Mar 4 '12 at 17:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Ctrl + Enter won't create a new paragraph and cause indentation. If you do start a new paragraph, you could edit the paragraph settings (right click in the paragraph) and set it to not be indented. – Torbjørn T. Oct 14 '11 at 7:18
Surely the whole point of using LyX is that it is quasi-WISYWYG? – Brent.Longborough Oct 14 '11 at 11:47
@Brent.Longborough, but, it isn't being WYSIWYM, the real LaTeX has line breaks around the algorithm, LyX doesn't. – gatoatigrado Oct 14 '11 at 18:42
You could add \par before and after the algorithm, and then remove any paragraph indentation by using \noindent. Does that work for you? – Werner Jan 2 '12 at 7:15
Somewhat related? tex.stackexchange.com/questions/40447/… – Torbjørn T. Jan 8 '12 at 22:16