How do you insert a trademark symbol in LaTeX? That is, the "TM" superscript.
4 Answers
Package textcomp
adds symbols with TS1
encoding and provides symbol \texttrademark
:
\documentclass{article}
\usepackage{textcomp}
\begin{document}
\textsuperscript{TM} or \texttrademark
\end{document}
-
1Great 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..."– MD004Commented Apr 1, 2014 at 17:28
-
9@MD004:
\texttrademark\ is a
(or\texttrademark{} is a
), see Space after LaTeX commands. Commented Apr 1, 2014 at 17:34 -
3@Whitecat
~
can be used, when a line break is to be prevented after the trade mark symbol. Commented Nov 18, 2015 at 19:06 -
1@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. Commented Mar 14, 2017 at 19:13 -
1@RickHenderson See, for example: how to get good looking copyright and registered symbols Commented Mar 14, 2017 at 19:15
Note that LaTeX supports and shows correctly also the ™ character.
(tested with \usepackage[utf8x]{inputenc}
)
-
1
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.
\textregistered
creates a ® while\textsuperscript{TM}
putsTM
as superscript in text mode.