MathML for units and natural language–math combo expressions?

  • This topic has 1 reply, 2 voices, and was last updated 2 months, 2 weeks ago by APLN Moderator.
Viewing 2 posts - 1 through 2 (of 2 total)
MathML for units and natural language–math combo expressions? thread
Author Posts


I think this is more or less a yes or no question.

We have a book that has a lot of combination natural language and mathematical expressions with units that are included in-line. For example:


Investigations: positive culture in CSF; meningeal inflammation (increased pleocytosis, low glucose in CSF); CSF absolute neutrophil count ≥ 1000/μL (1 × 10^9/L); CSF protein level ≥ 80 mg/dL (0.8 g/L); peripheral blood absolute neutrophil count ≥ 10 000/μL (10 × 10^9/L); CT scan, MRI


I’m thinking these expressions need to use MathML, is that correct? In general, for expressions that include units (e.g., g/L), is MathML preferred? And one question that goes beyond yes/no: could anyone offer me an example of what the MathML for the expressions “CSF absolute neutrophil count ≥ 1000/μL” and “1 × 10^9/L” would be?

APLN Moderator

Hi krollans!

I’m not very familiar with MathML, and unfortunately haven’t encountered it too much in the conversions I’ve handled. But regarding units: yes, you can use MathML for expressions that have units. The W3C spec for Units in MathML (with example code) can be found here:

As for the expression, you might need to dig through the following resources:

You could also try to find a MathML generator online and double check HTML entities or unicode values for the math characters/symbols.

An example code of combinations of natural language and math expressions can be found here:

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Want to join the discussion?

a wooden table with a white keyboard on top, and a persons hand writing on a piece of paper

View our current resources