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'm interested in using the standard \cup, i.e. plain \cup and the one given by importing the mathabx \cup mathabx \cup in the same document.

Does anyone know how to do that?

share|improve this question
I'd advise against doing this. The symbols are too similar. It would be difficult to read if you had both with different meanings. – Seamus Jan 31 '11 at 16:24
I disagree. In algebraic topology you need a symbol for union and something called the cup product. Traditionally they are denoted by almost exactly the same product but it is clear from the context whether you're talking about union or cup product. So for sake of keeping with the tradition I think it is a good idea to have e.g. plain \cup for union and the mathabx \cup for cup product. – Marius Jan 31 '11 at 16:28
I think that \smile looks better for a cup product, and is different enough from \cup that the two shouldn't get confused. – John Palmieri Jan 31 '11 at 17:24
@John: just be careful that \smile is of type \mathrel whereas \cup is of type \mathbin, so, to get correct spacing, you should use something like \newcommand{\cupproduct}{\mathbin{\smile}}. – Philippe Goutet Jan 31 '11 at 22:53
@John Palmieri's/Goutet, thanks! \smile is what worked for me, and it's simple, in that the \cup conflict is completely circumvented rather than resolved. – Host-website-on-iPage Oct 24 '13 at 4:42
up vote 8 down vote accepted

$\ltxcup \cup$

share|improve this answer
Thank you. Exactly what I needed. – Marius Jan 31 '11 at 15:15

Unlike @Herbert's solution, this solution does not change any math font. It just add an \abxcup we defined.

Some of the code is copied from mathabx.sty:

      <5> <6> <7> <8> <9> <10> gen * matha
      <10.95> matha10 <12> <14.4> <17.28> <20.74> <24.88> matha12
$A\cup B \abxcup C$

And this code showed how to get the glyph slot:

share|improve this answer

Your Answer


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.