Uncovering the Source: How to View Latex Code in Mathjax Images

  • Context: LaTeX 
  • Thread starter Thread starter Jameson
  • Start date Start date
  • Tags Tags
    Code Latex Source
Click For Summary
SUMMARY

The discussion reveals that users can easily view the source code of Mathjax images by right-clicking on the image and selecting "Show Source." This functionality is documented in the Mathjax guide and allows users to access the underlying LaTeX code. Additionally, it is noted that increasing the font size in the document also enlarges the LaTeX output. The conversation emphasizes the importance of thorough reading of documentation to utilize features effectively.

PREREQUISITES
  • Understanding of LaTeX syntax and formatting
  • Familiarity with Mathjax functionality
  • Basic knowledge of web browser operations
  • Awareness of font size adjustments in web content
NEXT STEPS
  • Explore the Mathjax documentation for advanced features
  • Learn about LaTeX code optimization techniques
  • Investigate browser developer tools for inspecting web elements
  • Study font rendering differences in various web browsers
USEFUL FOR

Mathematicians, educators, web developers, and anyone interested in utilizing Mathjax for rendering LaTeX in web applications.

Jameson
Insights Author
Gold Member
MHB
Messages
4,533
Reaction score
13
It's strange no one has noticed but after reading through the Mathjax documentation guide, all you have to do to view the source code is right click over any Mathjax image and click "Show Source". A new window will pop up with the Latex code.

Jameson

EDIT: Try it here $ \displaystyle \begin{array}{*{20}c} {x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} & {{\rm{when}}} & {ax^2 + bx + c = 0} \\ \end{array}$
 
Last edited:
Physics news on Phys.org
Jameson said:
It's strange no one has noticed but after reading through the Mathjax documentation guide, all you have to do to view the source code is right click over any Mathjax image and click "Show Source". A new window will pop up with the Latex code.

Jameson

EDIT: Try it here $ \displaystyle \begin{array}{*{20}c} {x = \frac{{ - b \pm \sqrt {b^2 - 4ac} }}{{2a}}} & {{\rm{when}}} & {ax^2 + bx + c = 0} \\ \end{array}$

This is something I explicitly said in the thread on http://www.mathhelpboards.com/showthread.php?27-How-to-use-LaTeX-on-this-site...I suppose people didn't read it thoroughly enough then?
 
Last edited:
There's something that I noted too:

When increasing the size of the font, the font of LaTeX increases as well. Example:

This is $1+1=2.$ Now by increasing the font we have, This is $1+1=2.$
 
Chris L T521 said:
This is something I explicitly said in the thread on http://www.mathhelpboards.com/showthread.php?27-How-to-use-LaTeX-on-this-site...I suppose people didn't read it thoroughly enough then?

Haha, sorry. I was under the impression that people didn't know how to view the source code for Latex at all. Can't hurt to have a little repetitiveness.
 
Jameson said:
Haha, sorry. I was under the impression that people didn't know how to view the source code for Latex at all. Can't hurt to have a little repetitiveness.

It's fine...no worries! ;P
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 15 ·
Replies
15
Views
25K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 1 ·
Replies
1
Views
13K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 766 ·
26
Replies
766
Views
742K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K