6

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}
7

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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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