[Tex/LaTex] How to add an empty line between paragraphs


I have two sections which I'd like to separate by an empty line. Every time I press Enter, LyX removes that empty line between paragraphs. How do I prevent this?

Best Answer

This is LyX's way of staying true to LaTeX where successive blank lines are merged - a good thing when you're talking about consistent document layout/design. If you wish to insert a forced vertical skip, insert an ERT containing either \smallskip, \medskip, \bigskip or a fixed \vspace{<len>} where you specify <len>. For a fixed/hard, single blank line, use \vspace{\baselineskip} (roughly the same as \bigskip).

enter image description here

enter image description here

The other lengths that were mentioned are "softer" and allow for some stretch/shrink.

For consistency, you can also increase the skip between paragraphs (known as \parskip) under Document > Settings... > Text Layout > Separate paragraphs with > Vertical space:

enter image description here