On pg. 144 of Kopka and Daily's A Guide to LaTeX, they mention that the symbols $e$, $i$, $d$, and $\pi$ should be displayed upright in math mode (for their usual uses). This is easy to do for $e$, $i$, and $d$: just use \mathrm. However, this does nothing to \pi. How exactly do you generate an upright \pi in math mode?
|
|
||||
|
One option could be to use
Here's the upright symbol using the
and now using the
|
|||||
|
|
Without
(Taken from Upright Greek letters in text mode (not |
|||||
|
|
From Will Robertson's blog one way is to use the
|
|||||||
|
|
While
(1): Note that mathdesign has some other design issues such as imperfect kerning, poorly drawn glyphs for blackboard bold letters and |
|||
|
|
|
With Xe/LuaLaTeX,
|
|||
|
|








`to mark your inline code as I did in my edit. – Tobi May 2 '12 at 23:49i, but it makes sense that there be consistent rules to distinguish these special constants from variables named $e$, indices involving $i$, and functions named $\pi$, etc. – Jonathan Gleason Jun 1 '12 at 1:04