| | # Math |
| | |
| | -Mathematical expressions use TeX notation to typeset formulas and equations. |
| | -TeX is a powerful typesetting system created by Donald Knuth for producing |
| | -documents complex mathematical and scientific notation. With TeX, you write |
| | -plain text commands and then build the final output as a separate step. |
| | +Mathematical expressions are typeset using TeX notation, a powerful system |
| | +developed by Donald Knuth for producing documents with complex mathematical and |
| | +scientific content. In TeX, you write plain text commands that describe the |
| | +structure and formatting of your document, and then compile them to generate |
| | +the final output. |
| | |
| | {{app.title}} supports only plain TeX, allowing usage of either ConTeXt or |
 |
| | Some simple mathematical elements using standard TeX syntax include: |
| | |
| | -* Fractions: `\fraction{numerator}{denominator}` |
| | +* Fractions: `\fraction{numerator}{denominator}` (or `\frac{}{}`) |
| | * Square roots: `\sqrt{expression}` |
| | * Superscripts: `x^2` |
 |
| | |
| | ``` tex |
| | -\sum_{n=1}^{\infty} \fraction{1}{n^2} = \fraction{\pi^2}{6} |
| | +\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} |
| | |
| | :: Basel problem |
| | ``` |
| | |
| | Produces: |
| | |
| | -$$\sum_{n=1}^{\infty} \fraction{1}{n^2} = \fraction{\pi^2}{6}$$ |
| | +$$\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}$$ |
| | |
| | :: Basel problem {#eqn:matter} |
 |
| | |
| | ``` tex |
| | -The quadratic formula is $x=\fraction{-b \pm \sqrt{b^2 - 4ac}}{2a}$. |
| | +The quadratic formula is $x=\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$. |
| | ``` |
| | |
| | Outputs an equation within a sentence: |
| | |
| | -> The quadratic formula is $x=\fraction{-b \pm \sqrt{b^2 - 4ac}}{2a}$. |
| | +> The quadratic formula is $x=\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$. |
| | |
| | ## Standalone expressions |