Eric Partlo edited Chapter_3_Typesetting_Mathematical_FormulaeThe__.html  over 8 years ago

Commit id: ab460dc6ac10cac830a47f20015c8aa0248b27c5

deletions | additions      

       

Chapter 3 - Typesetting Mathematical Formulae

The Formulae

The  AMS-LATEX bundle
If bundle
If  you want to typeset (advanced) mathematics, you should use AMS-LATEX.  The AMS-LATEX bundle is a collection of packages and classes for mathematical typesetting.  AMS-LATEX is produced by The American Mathematical Society and it is used extensively for mathematical typesetting.  LATEX itself does provide some basic features and environments for mathematics, but they are limited and in some cases inconsistent.  
AMS-LATEX is a part of the required distribution and is provided with all recent LATEX distributions.  We assume amsmath is loaded in the preamble; \usepackage{amsmath}.
 \usepackage{amsmath}.
Single Equations
A mathematical formula can be typeset in-line within a paragraph (text style), or the paragraph can be broken and the formula typeset separately (display style).  Mathematical equations within a paragraph are entered between $ and $.
If you want to name the equation something specific, you \tag it instead.
Math Mode
There are also differences between math mode and text mode.  For example, in math mode:
  1. Most spaces and line breaks to not have any significance, as all spaces are either derived logically from the mathematical expressions, or have to be specified with special commands such as \, \quad or \qquad
  2. Empty lines are not allowed.  Only one paragraph per formula.
  3. Each letter is considered to be the name of a variable and will be typeset as such.  
Building Blocks of a Mathematical Formula