Math Rendering Problem

20 views
Skip to first unread message

Umesh Vishwakarma

unread,
Feb 16, 2012, 3:51:48 AM2/16/12
to MathJax Users
Hi Team,

Could you please check below equation as it is not getting rendered in
browser using MathJax:

$P_k=\frac{{P_c + {{P_{{\rm no}}}\mathord{\left/{\vphantom{{P_{{\rm
no}}}2}} \right. \kern-\nulldelimiterspace}2}}}{{P_c + P_d + P_{{\rm
no}}}},$

The possible reason is \nulldelimiterspace command which seems not
defined in MathJax. Even it does not change the size of mathord (/)
used in this equation which is also a worry.

Please let me know if it can be configured in local host as sometimes
it takes a few minutes to render math equations due to Internet speed
problem.

Regards,
Umesh

Davide P. Cervone

unread,
Feb 17, 2012, 9:03:50 AM2/17/12
to mathja...@googlegroups.com
> Could you please check below equation as it is not getting rendered in
> browser using MathJax:
>
> $P_k=\frac{{P_c + {{P_{{\rm no}}}\mathord{\left/{\vphantom{{P_{{\rm
> no}}}2}} \right. \kern-\nulldelimiterspace}2}}}{{P_c + P_d + P_{{\rm
> no}}}},$
>
> The possible reason is \nulldelimiterspace command which seems not
> defined in MathJax.

You are correct, it is the \nulldelimiterspace that is causing
problems. MathJax only processes dimensions that are explicitly
given, not ones stored in control sequences like \nulldelimiterspace.
(It does not have TeX's concept of a dimen register.) In MathJax the
nulldelimiterspace is 0pt anyway, so just leaving out \kern-
\nulldelimiterspace entirely should get you the rendering you desire.

> Even it does not change the size of mathord (/)
> used in this equation which is also a worry.

That is because the default size of the solidus is sufficient to cover
the size of the P_{no} and the 2, so a larger version wasn't needed.
If you had terms that where larger vertically, the solidus would have
been larger to accommodate that. (Of course, there are only 5 sizes
of this character in the MathJax fonts, so you can only take that so
far.)

> Please let me know if it can be configured in local host as sometimes
> it takes a few minutes to render math equations due to Internet speed
> problem.

See the installation documentation at

http://www.mathjax.org/docs/1.1/installation.html

for details.

Davide

Reply all
Reply to author
Forward
0 new messages