Page MenuHomePhabricator

\mathtt (typewriter) and \mathsf (sans serif) math font commands are not available
Closed, ResolvedPublic

Description

Author: pertusus

Description:
According to http://meta.wikimedia.org/wiki/Help:Formula, and to my tests with texvc (debian squeeze mediawiki-math 1.15.1) these commands are not available, it would be nice if they were.


Version: unspecified
Severity: enhancement

Details

Reference
bz21475

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:53 PM
bzimport added a project: Math.
bzimport set Reference to bz21475.
bzimport added a subscriber: Unknown Object (MLST).

Why would someone need this for math formulas? Remeber, it's not a generic TeX parser and doesn't need to be.

pertusus wrote:

For mathsf I don't know, I just proposed it for completness since it is the only other math font command. mathtt would definitely be useful when talking about a program that does math, to be able to mix math and code. For example something like:

<math> \frac{a}{b} \LongRigtharrow \mathtt{dofrac(a,b)}</math>

and things like that.

conrad.irwin wrote:

I added \textsf and \mathtt in r68386, \texttt and \mathsf were already present.