Entering mathematical statements using latex

  • Context: Mathematica 
  • Thread starter Thread starter Adesh
  • Start date Start date
  • Tags Tags
    Latex Mathematical
Click For Summary

Discussion Overview

The discussion revolves around the various methods of entering mathematical statements using LaTeX and MathJax across different forum platforms. Participants explore the differences in syntax and functionality between these systems, as well as the historical context of certain tags.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants note that different forums use varying delimiters for mathematical expressions, such as $...$ for inline math and [itex]...[itex] for others.
  • One participant explains that MathJax is used on the forum, which differs from standard LaTeX in that it employs ## for inline math instead of $.
  • There is mention that not all LaTeX style files are included in MathJax, which may affect functionality.
  • Another participant points out that StackExchange also uses MathJax but requires $ for inline math, suggesting that MathJax can be configured differently.
  • Participants inquire about the use of certain tags, noting that different websites implement LaTeX in various ways, and it is up to each site to decide how to trigger MathJax.
  • There is a discussion about the use of BBCode and how it varies between platforms, with some using specific tags for rendering LaTeX code.

Areas of Agreement / Disagreement

Participants express differing views on the implementation and syntax of LaTeX and MathJax across platforms, indicating that there is no consensus on a single standard or method.

Contextual Notes

Some limitations include the lack of clarity on the specific configurations of MathJax on different sites and the historical context of certain tags, which may not be universally applicable.

Adesh
Messages
735
Reaction score
191
TL;DR
Why different sites use different codes?
I have been to other forum sites too where we need to encode a mathematical statement like this [math]...[/math] , some sites use $...$ before and after the mathematical things and some sites like this great forum use .... Why it this so? The latex software like Texstudio, Texmaker etc. uses $$ sign. Some sites (or apps) even use `...` thing, why is this and what's the difference between all these?
 
Physics news on Phys.org
This is because we use MathJax which is slightly different than LaTeX. The main difference is ## = instead of $, and that not all LaTeX style files are included. Of course I cannot answer the question for other sites.
 
fresh_42 said:
This is because we use MathJax which is slightly different than LaTeX. The main difference is ## = instead of $, and that not all LaTeX style files are included. Of course I cannot answer the question for other sites.<br />
<br /> StackExchange too uses MathJax, but there you have to use $ for inline math. I believe (could be wrong) MathJax can can be configured to identify ## instead of $ as inline math.<br /> <blockquote data-attributes="member: 654287" data-quote="Adesh" data-source="post: 6278068" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-title"> Adesh said: </div> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> The latex software like Texstudio, Texmaker etc. uses $$ sign. </div> </div> </blockquote>They use $ for inline math, and $$ for paragraph-style math.
 
fresh_42 said:
This is because we use MathJax which is slightly different than LaTeX
What is the difference between Mathjax and Latex?
 
Adesh said:
Can you please tell me what are [math] ...[/math] tags used for? Many old websites use this tag.
Different websites have different ways of implementing ##\LaTeX##. It is upto the website to decide how they want to trigger MathJax. Just like PF uses ##\text{##}## for inline ##\LaTeX##, some sites use [math]...[/math] tags. There is basically nothing more to explain.On a similar note, in PF, we can trigger monospace font using the BBCode [icode]. StackExchange, on the other hand, uses ```` characters to monospace font. This again depends on how the website wants to trigger the HTML tag <code>. Nothing more to explain.
 
  • Like
Likes   Reactions: Adesh
Adesh said:
Can you please tell me what are [math] ...[/math] tags used for? Many old websites use this tag.
Where bbcode [math][/math] tags are implemented on a bbs, typically they are used for triggering rendering of ##\LaTeX## code, just as PF uses##delimiters for that purpose.
 
  • Like
Likes   Reactions: Adesh

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K