upright lowercase Greek letters in math formulas
Hi, How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)? Here's a minimal example: \setupbodyfont[times] \starttext $15{\rm\frac{μm}{μs}}$ 15 μs \stoptext Thank you, Mojca
On Mon, May 26, 2014 at 2:12 PM, Mojca Miklavec
How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)?
$\mathgreekupright 15{\rm\frac{μm}{μs}}$ 15 μs I guess you are aware of \setupmathematics[lcgreek=normal] that makes all lower case greek letters upright. /Mikael
On Mon, May 26, 2014 at 2:57 PM, Mikael P. Sundqvist wrote:
On Mon, May 26, 2014 at 2:12 PM, Mojca Miklavec wrote:
How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)?
$\mathgreekupright 15{\rm\frac{μm}{μs}}$ 15 μs
Thank you, that worked.
I guess you are aware of \setupmathematics[lcgreek=normal] that makes all lower case greek letters upright.
I don't want that. I would still like to be able to have italic letters by default, for example for quantities like magnetic permeability. All I need is a switch to make *all* the letters upright, including the Greek ones. So the only question is: is it an oversight or is it on purpose that \rm doesn't also switch the Greek letters to their upright form? Mojca
Am 26.05.2014 um 14:57 schrieb Mikael P. Sundqvist
On Mon, May 26, 2014 at 2:12 PM, Mojca Miklavec
wrote: How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)?
$\mathgreekupright 15{\rm\frac{μm}{μs}}$ 15 μs
I guess you are aware of \setupmathematics[lcgreek=normal] that makes all lower case greek letters upright.
Use “lcgreek=none” and enable the upright, bold etc. symbols with the \tf, \bf etc. commands. \setupbodyfont[times] \setupmathematics[lcgreek=none] \starttext $ 15\frac{μm}{μs} \quad 15\frac{\tf μm}{\tf μs} $ \stoptext Wolfgang
Hi Mojca, it seems font switches do not work here. You must define your own commands for upright Greek letters, e.g. \def\muup {\Umathchar "0"0"0000B5 } At least this works, maybe there is a better way to do it. Johannes Am 26.05.14 14:12, schrieb Mojca Miklavec:
Hi,
How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)?
Here's a minimal example:
\setupbodyfont[times] \starttext $15{\rm\frac{μm}{μs}}$ 15 μs \stoptext
Thank you, Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (4)
-
Johannes Kuester
-
Mikael P. Sundqvist
-
Mojca Miklavec
-
Wolfgang Schuster