I have this code:

```
\subsection{Definitions}
\subsection{Two important results}
\textbf{Proposition}. Let $(\mathbb R^{n},d)$ be a metric space and suppose $X,Y\subset \mathbb R^{n}$ are compact subsets. Then $X\cup Y$ is compact.
```

What I want to get is a newline after the subsection. I have tried adding `\\`

and it doesn't work. Also, it doesn't seem to recognize `\newline`

.

Help would be appreciated.

## Best Answer

Add the following code;

after the

`\subsection{...}`

command. The`\hfill`

fills the line with empty space, so that`\\`

can end this line without an error.