Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sometimes I need an empty line like this

enter image description here

If I write

$\Rightarrow \mathcal{I}_1 = \{\{A\}, \{B\}, \{C\}, \{E\}\}$
\\
Generierung der häufigen $2$-Itemsets:

I'll get an error "There's no line here to end".

So, I've made

$\Rightarrow \mathcal{I}_1 = \{\{A\}, \{B\}, \{C\}, \{E\}\}$
$ $\\
Generierung der häufigen $2$-Itemsets:

This works, but I want to use a nicer solution...

How can I fix this??

Thank you for your help!

share|improve this question
3  
I'm not sure you really want an “empty line”; probably you want that the equation is displayed, that is, set in \[...\]. “Empty lines” are mostly a consequence of using word processors, but they're rarely a good typographical device. –  egreg Dec 27 '13 at 10:07
    
As @egreg says, you never (as in 99%) need manual line breaks in running text. Instead learn to use displayed math when appropriate. IMO it is a mistake that users learn that ` \\ ` and \newline can be used in the normal text. They almost always get it wrong. –  daleif Dec 27 '13 at 10:26

1 Answer 1

up vote 1 down vote accepted

Try putting the equation in a displaymath or equation environment to create space before and after the equation.

\begin{displaymath}
 1+1=2 
\end{displaymath}

How to adjust the spacing around an equation has been treated here.

If this question does not only refer to space after equations but skipping one line in general, maybe \vspace{\baselineskip} will serve your needs. This should generate vertical space in the size of one standard line of text.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.