I usually use \\, \par, \newline, etc. to add whitespace to LaTeX. However, when I use raggedRight, the pdflatex spits out a ton of messages saying "There's no line here to end." Ultimately, all vertical whitespace is removed.
My question is, is it possible to add whitespace to a raggedRight environment? If so, how? If not, what can I use to successfully justify my text to the left and maintain the whitespace as it is?
\\gives the no line here to end error if it is at the start of a paragraph, whether or not raggedright is in force. You perhaps should give a complete example that generates the error so people can suggest alternative code. – David Carlisle Feb 28 '16 at 01:07\\[2cm]– David Carlisle Feb 28 '16 at 01:09\paror a blank line will not trigger the "no line here to end" message. so they can safely be used to cause a new line to start. – barbara beeton Feb 28 '16 at 03:41