# Difference between revisions of "Comments:LaTeX-code for the most common formulas"

From GeoGebra Manual

Line 11: | Line 11: | ||

* '''Slope for a straight line:''' | * '''Slope for a straight line:''' | ||

m=\frac{y_2-y_1}{x_2-x_1} | m=\frac{y_2-y_1}{x_2-x_1} | ||

− | <math>m=\frac{y_2-y_1}{x_2-x_1}</math> | + | ::<math>m=\frac{y_2-y_1}{x_2-x_1}</math> |

## Revision as of 21:35, 5 October 2011

*If you have somewhere a very long formula, please share it with us. This will save time for everybody!*

## Design-Tip

- A space before the formula leeds to the box around the line.
- Don't hesitate it is not looking so good. That can be done by anybody else.
- An easy solution to get the same look is to copy the lines of an other formula for you formula.

## How to use the formulas

Just copy the text in the dotted box into you text-input-box. If the formula should be dynamic you need to insert the object at the place of the variable that is used here.

## Formulas

**Slope for a straight line:**

m=\frac{y_2-y_1}{x_2-x_1}

- m=\frac{y_2-y_1}{x_2-x_1}