# 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

do not use \newline. Use instead

\smallskip% 1/4 line
\medskip%   1/2 line
\bigskip%    1 line

\vspace{<length>}% a length with any valid unit

-
I need a linebreak, i think bigskip is not equivalent to newline. –  user15662 Mar 18 '13 at 7:43
do you have a tabular cell? Or where do you need \newline? –  Herbert Mar 18 '13 at 7:48
No, I don't have tabular cell. I need add one vertical spacing within a paragraph. –  user15662 Mar 18 '13 at 7:58
then use something like \\[1cm] if it must be in the same paragraph. However it makes more sense to use an empty line and then one of the skip commands. –  Herbert Mar 18 '13 at 8:02