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 '14 at 2:33

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.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.