This task describes the identification of an appropriate symbol and declaring its notations for input in QMath.
we first need to find a symbol that satisfies our goals, a symbol that denotes meters for this we need to follow the (future) task identification-of-the-symbol which is not fully implemented, it’d be something such as
id:metre (we search for items having an id containing the characters metre)we now know that we wish to input OMS elements pointing to the symbol metre of the theory unitsmetric1_ of the collection openmath-cds (a rendering and more info can be seen in your ActiveMath, can be seen on the official demo or can be seen in the OpenMath website. Let us attach the input m when in QMath math-mode, to this symbol.
add, at the very end of this file, the following line:
Symbol: m SYMBOL "units_metric1:metre"
which will indicate to QMath that that letters m will be translated to<OMS cd="units_metric1" name="metre"/>. It also tells QMath that this symbol is not an operator to be applied somewhere.
hello-world inside first.oqmath. Please open this file, find the item, then find, inside it, the closing-tag </CMP></CMP>right before this insert the following lines:
<br/>This is a metre: $m$
<br/>This is two-and-a-half metres $2*m$ which is $2*x$ where $x$ is a meter.
save your file (press the pen or invoke C-S)