# How to insert a trademark symbol? (tm)

How do you insert a trademark symbol in LaTeX? That is, the "TM" superscript.

• \textregistered creates a ® while \textsuperscript{TM} puts TM as superscript in text mode. Apr 1, 2014 at 17:01

Package textcomp adds symbols with TS1 encoding and provides symbol \texttrademark:

\documentclass{article}
\usepackage{textcomp}

\begin{document}
\end{document}


• Great thanks! One more question: when I use \texttrademark, the space following it gets removed (even though I include a space after it in the source code). For example, "somenameTMis a..." but I'd like "somenameTM is a..." Apr 1, 2014 at 17:28
• @MD004: \texttrademark\ is a (or \texttrademark{} is a), see Space after LaTeX commands. Apr 1, 2014 at 17:34
• @Whitecat ~ can be used, when a line break is to be prevented after the trade mark symbol. Nov 18, 2015 at 19:06
• @RickHenderson The outcome of \textregistered depends on the font and the font encoding. This question is about the trade mark symbol. Therefore, \textregistered is a little of topic here. Mar 14, 2017 at 19:13
• @RickHenderson See, for example: how to get good looking copyright and registered symbols Mar 14, 2017 at 19:15

Note that LaTeX supports and shows correctly also the ™ character.

(tested with \usepackage[utf8x]{inputenc})

• Nice! This is a much neater solution IMO
– tdc
May 24, 2018 at 12:52

Just use

\textsuperscript{\texttrademark} % for ™


and

\textsuperscript{\textregistered} % for ®


You can simply use \texttrademark in the text. The underlying character (for at least most fonts) is already raised off of the line to give a superscript-like appearance.

Spacing notes:

• No space needed between the previous "word." This ensures the TM is properly attached to the text/name.
• Sometimes there is not enough space added after the TM mark. In which case you can add curly braces, as in, \texttrademark{} and it should work.