Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Spaces behind \textgreater not working as expected

I am faced with the following problem. I write a document in which I refer to a registered brand and thus looks like "MyBrand\textrademark" and this work. However, there is no spcae before the consecutive word even if I add a lot of spaces. The easiest fix I have found so far is to a dd an ”~" but isn't there a nicer way ?

share|improve this question

marked as duplicate by Qrrbrbirlbel, Marco Daniel, lockstep, Kurt, barbara beeton Oct 30 '12 at 20:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Welcome to TeX.sx! The usual way is to use either \texttrademark{} nextword or \texttrademark\ nextword. –  Qrrbrbirlbel Oct 30 '12 at 19:58
    
\, or \thinspace or \enspace –  azetina Oct 30 '12 at 19:59
    
Thanks for your quick answer and comments. I agree with Qrrbrbirlbel and I think it is a duplicate. –  Johan Oct 30 '12 at 20:06
add comment

1 Answer

up vote 5 down vote accepted

If you don't want to manually insert a space after each use, you could use the the xspace package to intelligently insert a space as needed:

enter image description here

Code:

\documentclass{article}
\usepackage{textcomp}
\usepackage{xspace}

\let\OldTexttrademark\texttrademark
\renewcommand{\texttrademark}{\OldTexttrademark\xspace}%

\begin{document}
MyBrand\texttrademark is cool.

A cool brand is MyBrand\texttrademark.

\end{document}
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.