Mathjax is incorrectly rendered

Andrew Fount

I noticed that MathJax is incorrectly rendered. Here https://www.emathhelp.net/calculators/calculus-2/integral-calculator/?f=xsinx&var=&steps=on under "the integral of the cosine is ..." only integral of cosine on left-hand-side and sine on the right-hand side should be red, not equal sign and -xcos(x).

However, when I click "show math as tex commands", I get - x \cos{\left(x \right)} + \color{red}{\int{\cos{\left(x \right)} d x}} = - x \cos{\left(x \right)} + \color{red}{\sin{\left(x \right)}} and this is the string without any errors.

What is causing incorrect color rendering?

Davide Cervone

The site you link to uses the color extension for MathJax, which redefines the \color macro to be compatible with the LaTeX version. In LaTeX, \color is a switch that changes the color from there on, rather than MathJax's version where \color takes an argument that is what to be colored. So something like \color{red}{x} + y usually would produce a red "x" and a black "+ y", but with the color extension would produce red "x + y". This is why you are seeing completely red expressions in the website you linked to.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

MathJax not properly rendered on Ubuntu

From Dev

Javascript is rendered incorrectly

From Dev

AlertDialog with NumberPicker rendered incorrectly

From Dev

ImageMagick dashed rectangle incorrectly rendered

From Dev

HTML in JS - Quotes rendered incorrectly

From Dev

Inkscape SVGs are rendered incorrectly in Firefox

From Dev

mathjax is not rendered when my page is on Dropbox

From Dev

wkhtmltopdf and MathJax: equations are rendered too small

From Dev

Form link rendered incorrectly in Twitter Bootstrap Navbar

From Dev

Qt File Dialog Rendered Incorrectly and Crashes

From Dev

Android: Custom seekbar progress drawable is rendered incorrectly

From Dev

MathJax equations incorrectly aligned when it is output to PDF using mPDF

From Dev

MathJax: expressions are sized incorrectly when using certain Google fonts

From Dev

How to get Tex markup associated with rendered Math in MathJax?

From Dev

Is it possible to display the source of MathJax-rendered TeX inline?

From Dev

Is there any way to show dynamically rendered MathML text in django using Mathjax?

From Dev

Kendo UI chart series lables rendered incorrectly in PDF generation

From Dev

Resources and layout direction rendered incorrectly only on Android 8.0 and above

From Dev

Shape drawable in layer-list rendered incorrectly for APIs below 23

From Dev

Self hosted Vector Tiles for MapboxGL Client rendered incorrectly

From Dev

Background image of opaque navigation bar is rendered incorrectly on iPhone 6

From Dev

SVG incorrectly rendered when document is served as application/xhtml+xml

From Dev

Sticky header background neither detects mathjax rendered code and rotated English words nor makes these disappear

From Java

ListAdapter items rendered incorrectly when LiveData onChanged() method is called. Possible issue with DiffUtil areContentsTheSame()?

From Dev

In Visual Studio 2013+, Consolas is rendered incorrectly, with a slightly-too-short height, when system DPI is not 100%

From Dev

Newline in Mathjax

From Dev

Macros in MathJaX

From Dev

MathJax & Inputs

From Dev

Mathjax issue with MathJax.Hub.Queue and Typeset

Related Related

  1. 1

    MathJax not properly rendered on Ubuntu

  2. 2

    Javascript is rendered incorrectly

  3. 3

    AlertDialog with NumberPicker rendered incorrectly

  4. 4

    ImageMagick dashed rectangle incorrectly rendered

  5. 5

    HTML in JS - Quotes rendered incorrectly

  6. 6

    Inkscape SVGs are rendered incorrectly in Firefox

  7. 7

    mathjax is not rendered when my page is on Dropbox

  8. 8

    wkhtmltopdf and MathJax: equations are rendered too small

  9. 9

    Form link rendered incorrectly in Twitter Bootstrap Navbar

  10. 10

    Qt File Dialog Rendered Incorrectly and Crashes

  11. 11

    Android: Custom seekbar progress drawable is rendered incorrectly

  12. 12

    MathJax equations incorrectly aligned when it is output to PDF using mPDF

  13. 13

    MathJax: expressions are sized incorrectly when using certain Google fonts

  14. 14

    How to get Tex markup associated with rendered Math in MathJax?

  15. 15

    Is it possible to display the source of MathJax-rendered TeX inline?

  16. 16

    Is there any way to show dynamically rendered MathML text in django using Mathjax?

  17. 17

    Kendo UI chart series lables rendered incorrectly in PDF generation

  18. 18

    Resources and layout direction rendered incorrectly only on Android 8.0 and above

  19. 19

    Shape drawable in layer-list rendered incorrectly for APIs below 23

  20. 20

    Self hosted Vector Tiles for MapboxGL Client rendered incorrectly

  21. 21

    Background image of opaque navigation bar is rendered incorrectly on iPhone 6

  22. 22

    SVG incorrectly rendered when document is served as application/xhtml+xml

  23. 23

    Sticky header background neither detects mathjax rendered code and rotated English words nor makes these disappear

  24. 24

    ListAdapter items rendered incorrectly when LiveData onChanged() method is called. Possible issue with DiffUtil areContentsTheSame()?

  25. 25

    In Visual Studio 2013+, Consolas is rendered incorrectly, with a slightly-too-short height, when system DPI is not 100%

  26. 26

    Newline in Mathjax

  27. 27

    Macros in MathJaX

  28. 28

    MathJax & Inputs

  29. 29

    Mathjax issue with MathJax.Hub.Queue and Typeset

HotTag

Archive