# [texhax] Vspace Question

Donald Arseneau asnd at triumf.ca
Mon Sep 3 01:14:59 CEST 2012

=?gb18030?B?yO7vow==?= <rz1991 at foxmail.com> writes:

> I am writing my essay using latex, and find a problem that things I defined using \newcommand shows different effect compared with writing it directly in the body text. Hope someone could explain why. Here is a small example.
>
>
> \sep{4mm}
> some things here
>
>
> \vspace{4mm}\noindent
> Are texts above truly indent?

Spaces are "discarded" after command words.  Spaces are NOT discarded after braces.
In a paragraph, ends of lines are treated as spaces.

There is the command \ignorespaces that you can use in your definition.

Donald Arseneau                          asnd at triumf.ca