Is it possible to write upright Greek letters on Stack Exchange (in math mode)?

I'd like to write all mathematical constants (this includes some Greek letters) in upright style – here on Stack Exchange (math mode). Is it possible to write an upright pi, for example? If so, how to do that?

It bothers me pretty much, since, in any document (also math answers, questions...), either all constants should be upright, or no constants should be upright.

For some reason, \mathrm works for Latin alphabet but not for Greek alphabet.

• Sure that's possible :-P – πάντα ῥεῖ May 18 '19 at 18:18
• But how to do that? – Abo Rakan May 18 '19 at 18:20
• That information seems to be available in the mathjax documentation I'd suspect it's as simple as putting the unicode character in place. – πάντα ῥεῖ May 18 '19 at 18:23
• It turns out that it's possible to do only using packages. Are "Symbol" and "Upgreek" packages implemented on Stack Exchange? – Abo Rakan May 18 '19 at 18:42

So basically you can may use your preferred upright Unicode version of the alphabet Pi and place it within the $ delimiters (or \$, depending on the specific site you're on): $π$, $𝛑$, $𝝿$, $Π$, $𝚷$, $𝝥$ etc. You'll find a complete list here.
• The Unicode version seems to have the same effect as $\pi$. It's still italic even when I use $π$ – Abo Rakan May 18 '19 at 19:32
• @AboRakan As you can see in this image, $\pi$ and $π$ clearly produce different results for me. So that's not a problem I can reproduce on my end. You may enquire about which fonts you have to install on Android Enthusiasts. Or perhaps try it from a PC? – S.D. May 18 '19 at 19:48