2

It is well known that $\oplus$ produces a plus sign with a circle around it, similarly $\otimes$ does the and same with the $\times$ symbol, etc.

I was wondering if there a way to make a command which would do the same for $\div$ ?

The command isn't available by default, to my knowledge, and I'm not experienced enough with defining such commands myself.

marsupilam
  • 6,383
SvanN
  • 562

1 Answers1

5

You want the mathabx package.

\documentclass{article}
\usepackage{mathabx}
\begin{document}
$x \odiv y$
\end{document}

enter image description here

In general, you want to look in The Comprehensive LaTeX Symbol List.

As egreg pointed out, mathabx changes the other math symbols. You can get just \odiv by declaring the matha font and defining the symbol. Instead of \usepackage{mathabx}, you can use this. Note that it won't exactly match the normal LaTeX math symbols like \otimes.

\DeclareFontFamily{U}{matha}{\hyphenchar\font45}
\DeclareFontShape{U}{matha}{m}{n}{
      <5> <6> <7> <8> <9> <10> gen * matha
      <10.95> matha10 <12> <14.4> <17.28> <20.74> <24.88> matha12
      }{}
\DeclareSymbolFont{matha}{U}{matha}{m}{n}
\DeclareMathSymbol{\odiv}         {2}{matha}{"63}
TH.
  • 62,639