TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a \usepackage{txfonts} because of this symbol \multimapdotbothB but the body text or fonts are affected. How can this be not to be affected?

\documentclass{article}

\usepackage{lipsum}
\usepackage{txfonts}

\begin{document}

\lipsum[1]

$\multimapdotbothB$
\end{document}
share|improve this question
up vote 5 down vote accepted

Just load the single symbol:

\documentclass{article}

\usepackage{lipsum}

%\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
%\SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n}
\DeclareSymbolFont{symbolsC}{U}{ntxsyc}{m}{n}
\SetSymbolFont{symbolsC}{bold}{U}{ntxsyc}{b}{n}
\DeclareMathSymbol{\multimapdotbothB}{\mathrel}{symbolsC}{24}

\begin{document}

\lipsum[1]

$\multimapdotbothB$
\end{document}

I've loaded the newtxmath font, which is based on txfonts. I added the two commented lines in case you have an old TeX distribution.

share|improve this answer
    
Indeed much simpler than loading the full package and undoing most of what it's doing. – krlmlr Sep 4 '12 at 8:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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