[Tex/LaTex] A symbol for same order of magnitude in math mode

symbolssyntax

I want to write in math mode that something is compared to something else. It is, I want to say that both quantities have the same order of magnitude. What symbol should I use?

\documentclass{article}
\begin{document}
    \[
        A \approx B
    \]
\end{document}

Or something else?

Best Answer

The list of symbols on Wikipedia suggest to use \sim (for “poorly approximates”). However one should always keep in mind that there's no world authority for mathematical symbols, so different fields could use different symbols.

enter image description here

In order to be as independent as possible from a particular choice, type

\newcommand{\soom}{\sim} % same order of magnitude

and use \soom in your document. It will be easy to change the symbol by just modifying this definition.

Use the command name you prefer, instead of \soom, of course.