These are summarized in the list below. Notice the difference of the spacing around the equal sign in the eqnarray environment compared to equation and even compared to the other equal sign inside the first eqnarray line. Hfill Inserts a blank space that will stretch accordingly to fill the space available.
Online LaTeX equation editor generate your mathematical expressions using LaTeX with a simple way.
But for binary operators such as - and x the medmuskip space is set. In this article you will learn how to write basic equations and constructs in LaTeX about aligning equations stretchable horizontal lines operators and delimiters fractions and binomials. For eg you can include multiple equations within the same line and select the layout that best suits your document. If you enter ym xthenLaTeX ignores the space and in the output the m is next to the xas ymx.