# Comments:LaTeX-code for the most common formulas

From GeoGebra Manual

Revision as of 20:34, 5 October 2011 by Birgit Lachner (talk | contribs)

*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}