[Tugindia] Difference between these commands
Kalidoss Murugesan
kalidoss.murugesan at gmail.com
Mon May 4 13:59:44 CEST 2009
>
> > What is the difference between the following commands?
> > 1. \newcommand and \newcommand*
> > 2. \hspace* and \hskip
>
> The first question has been explained before.
>
> Regarding the second, \hskip is a primitive and \hspace is a LaTeX
> macro. The starred version, \hspace* helps to insert horizontal skip
> at the beginning of a line which is not possible with \hskip<dimen>.
> TeX will gobble up the horizontal skip in the beginning of the line.
>
I raised this doubt since I could find \newcommand* and \hskip commands
only in style or class files.
Thank you for the insight provided.
M. Kalidoss
More information about the tugindia
mailing list