# trig – Simple trigonometric functions

Provides the trigonometric functions `sin`, `cos`
and `tan`, for use in
the graphics and
graphicx packages.

Before any trigonometric value is used, it must be pre-calculated,
so a usage sequence might be
`\CalculateSin{22.5} ... \UseSin{22.5}`; the argument may
also be a LaTeX count, as in `\UseTan{\value{mycounter}}`,
or a count register, as in `\CalculateCos{\count@}`.

The package is part of the latex-graphics bundle, which is one of the collections in the LaTeX ‘required’ set of packages.

Sources | `/macros/latex/required/graphics` |

Version | 1.10 2016-01-03 |

License | The LaTeX Project Public License 1.3 |

Maintainer | David Carlisle The LaTeX Team |

TDS archive | `latex-graphics.tds.zip` |

Contained in | TeX Live as graphics |

MiKTeX as graphics | |

Topics |
perform calculations within TeX |

Download the contents of this package in one zip archive (2.0M).

## Suggestions

Maybe you are interested in the following packages as well.

- color: Colour control for LaTeX documents
- lscape: Place selected parts of a document in landscape
- randomwalk: Random walks using TikZ
- garrigues: METAPOST macros for the reproduction of Garrigues' Easter nomogram