This post comes out because some of my edit was rejected.
I honestly think we should use upright letter for specific mathematical constant.
For example I think $\operatorname i$ is the immaginary unit and $i$ is current density, hence I would write the famous Euler's formula as
$$ \operatorname e ^{\operatorname i \text{π} } +1 = 0 $$
I think π also should be written in upright font, because it represent the trascendental number $3.1415\dots$, instead $\pi$ represents the geometrical quantity : $\pi=$ π $ \operatorname{rad}$; therefore I would prefer to write $\sin(2$π$x) $ instead of $\sin(2 \pi x) $.
Moreover the charge of electron $e$ should be distinguished from the base of natural logarithms $\operatorname e$.
So my question are:
- Is it a way to write upright Greek character without copy-pasting them from an unicode table?
- Shouldn't we reach an agreement about this?
P.S. : sorry for my english, it is not my native language.
EDIT: I am not a "MathJax nazi", I just wanted to know if there was a standard convention in this site, since some of my edit was revised or reject many times. I put the "feature-request" tag, because I did not find a clear way to write $π$ in math mode (the \text
command seems to not work)
\operatorname{e}
, e.g.. $e, i $ are not operators, they are constants, just as $2\in \mathbb Z$ is a constant. $\endgroup$\mathrm
instead. $\endgroup$\int \ln(1 + \operatorname e^ x) \, \operatorname d x
rendering as $\int \ln(1 + \operatorname e^ x) \, \operatorname d x$ an appropriate use of \operatorname. Don't use it on $e$, $i$, or $dx$. $\endgroup$\operatorname
is wrong, but no one else seems to have explicitly pointed out that the spacing in\operatorname{d} x
is quite wrong, e.g. $\int\operatorname{d} x$. If one is going to use an upright "d" for the differential (which, frankly, is what I do), then the correct syntax is likely\mathrm{d} x
, e.g. $\int \mathrm{d}x$. I would also argue that $$f : \mathbb{R} \to \mathbb{R}$$ looks better than $$f \colon \mathbb{R} \to \mathbb{R},$$ particularly if one wants to give a mapping in the same line: ... $\endgroup$