[Tex/LaTex] Line break “no line to end”

line-breaking

I would like to know how to force a gap say in this instance:

\subsection{$K\nsubseteq L$}<br>
[Line break here]<br>
In the next three results that follow, ...

Naively using \newline or equivalently \\ gives the message "no line to end". I can understand the error message but I'm not sure how to get around it. Is there another command I could use?

I apologise if I've double posted, let me know and I'll delete it. THANKS!

Best Answer

You might try

\subsection{$K\nsubseteq L$}~\\
In the next three results that follow, ...

which should do the work for you. You also can redefine the subsection heading style in your preamble to add a linespace after it to make it automatic in all you file.

Here is how a subsection is defined for the report class.

\def\subsection{\@startsection{subsection}{2}{\z@}%
                                 {-3.25ex\@plus -1ex \@minus -.2ex}%
                                 {1.5ex \@plus .2ex}%
                                 {\normalfont\large\bfseries}}

In your preamble you should then add the following to modify it:

\makeatletter
\def\subsection{\@startsection{subsection}{2}{\z@}%
                                 {-3.25ex\@plus -1ex \@minus -.2ex}%
                                 {3ex \@plus .2ex}%
                                 {\normalfont\large\bfseries}}
\makeatother

You can customize the space between the subsection header and the beginning of the subsection by adjusting the value 3 in {3ex \@plus .2ex}%.