The textcomp package

Provides text symbols such as \texteuro, \textdegree, \textmu and \textcopyright. Since the LaTeX release of February 2020 these commands work without the package.

Loading the package

\usepackage{textcomp}

The package gives access to the symbols of the TS1 encoding ("text companion"): currency signs, the degree sign, an upright micro sign, fractions, arrows and legal marks. They are text commands and come from the text font, so they match its weight and work outside math mode.

Since the release of February 2020 the LaTeX kernel defines all of these commands. \usepackage{textcomp} is then an empty step. Keep the line only when the document has to compile on an older installation.

Main commands

\texteuroEuro sign of the text font. A € typed directly prints the same.
\textdegreeDegree sign, as in 90°.
\textcelsiusDegree Celsius as one symbol.
\textmuUpright micro sign, as in µm.
\textcopyright, \textregistered, \texttrademarkThe marks ©, ® and ™.
\textperthousandPer mille sign ‰.
\textpm, \texttimesPlus-minus and multiplication sign in text.
\textrightarrowArrow to the right in text; \textleftarrow points left.

Complete example

\documentclass{article}
\usepackage{textcomp} % only needed for LaTeX before 2020
\begin{document}
The ticket costs 12\,\texteuro.

Water boils at 100\,\textcelsius, and a right angle has 90\textdegree.

The fibre is 8\,\textmu m thick.

\textcopyright\ 2026 Example Ltd., Example\texttrademark
\end{document}
Result
The compiled example

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

Pitfalls

Related pages