I have two tabular environments. To redefine the space between them, I used \hspace in the following ways:

  1. \hspace[*][1cm]
  2. \hspace[1cm]

Both the commands complain the same error, Missing number, treated as zero. What should I do?

  • 1
    It is \hspace*{1cm} and \hspace{1cm} respectively. Use * at the start of line.
    – user11232
    Apr 29, 2014 at 2:33

1 Answer 1


The syntax is:

  1. \hspace*{1cm}

  2. \hspace{1cm}

The star is specified without brackets of any kind and the length argument is usually put into curly braces. (They could only be omitted, if the argument consists of one token.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .