Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I want to have a space between lines I use \\~\\ or \newline
Hello this is an example
I get the error there is no line to end here.
What am I doing wrong?
If you really want to skip a line, use
A larger space is obtained with \bigskip
You should not skip lines in this manner, you're better off using \vspace.
however, to answer your question, what you have there actually is
The first newline does not have a line to end.
so it should simply be
Required, but never shown