On 8/16/2016 6:56 PM, Brian R. Landy wrote:
Hi, I was wondering if there is a way to access the hyphen symbol
(0x002D) while in math mode? I want to avoid the standard remapping to
Unicode minus 0x2212. It would also be workable if I could select the
math font without switching to math mode.
The problem with an approach like \math{\text{-}} is that it switches
the font back to the text font and does not use the math font. I.e, I'm
trying to get the true hyphen symbol set in whatever font is currently
defined for math mode.
$ {\mathchar"2D} $
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___