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.

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
add comment

1 Answer

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
add comment

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.