# Error while using leavevmode before newline

I am using \newline but I get some error message and I was suggested on this forum to use \leavevmode before \newline. It works fine for my code except at few place where I get this error message.

! Undefined control sequence.
l.399 \leavevmode

How to avoid such warning/error?

-
Perhaps you meant \leavevmode? Anyways, what are you using \newline for? –  Gonzalo Medina Mar 18 '13 at 2:26
I need to add some vertical spacing using newline. –  user15662 Mar 18 '13 at 2:58