Problem with extra [MATH] [/MATH] signs

  • Context: MHB 
  • Thread starter Thread starter Math Amateur
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion addresses issues with LaTeX rendering in a WYSIWYG editor on the Physics Forums platform. User Peter experiences problems with extra dollar signs ($$) appearing in his mathematical expressions, specifically in the context of group algebras. The solution involves switching from the WYSIWYG editor to standard mode to edit and remove unnecessary COLOR tags that interfere with the LaTeX code. This adjustment resolves the display issues for the mathematical expressions.

PREREQUISITES
  • Understanding of LaTeX syntax for mathematical expressions
  • Familiarity with WYSIWYG editors and their functionalities
  • Basic knowledge of HTML and BBCodes
  • Experience with online forum platforms
NEXT STEPS
  • Learn how to effectively use LaTeX in online forums
  • Research the differences between WYSIWYG and standard text editors
  • Explore common LaTeX errors and troubleshooting techniques
  • Investigate the use of BBCodes in forum posts
USEFUL FOR

Mathematicians, educators, students, and anyone using LaTeX for mathematical notation in online forums will benefit from this discussion.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
In a post on Group algebras on the Linear and Absract Algebra forum I am having some troubles with Latex.

One of the problems is that the editor seems to automatically put in extra $$ $$ sign when I hit save changes or submit.

The line in question is

$$ = \alpha_{g_1} g_1 +\alpha_{g_2} g_2 + \ … \ … \ + $$$$\alpha_{g_n} g_n $$

Even when I clear the extra signs the code does not work?

Another line I am having similar trouble with is as follows:

$$ = \beta_{h_1} h_1 + \beta_{h_2} h_2 + \ … \ … \ + \beta_{h_n} h_n $$

Can anyone see why this is not displaying correctly?

Peter
 
Physics news on Phys.org
$$ = \alpha_{g_1} g_1 +\alpha_{g_2} g_2 + \ … \ … \ + \alpha_{g_n} g_n$$$$ = \beta_{h_1} h_1 + \beta_{h_2} h_2 + \ … \ … \ + \beta_{h_n} h_n $$

I stripped all the COLOR tags that were embedded in the code. I suspect you use the WYSIWYG editor and perhaps were unaware that you had these BBCodes embedded in your code.
 
MarkFL said:
$$ = \alpha_{g_1} g_1 +\alpha_{g_2} g_2 + \ … \ … \ + \alpha_{g_n} g_n$$$$ = \beta_{h_1} h_1 + \beta_{h_2} h_2 + \ … \ … \ + \beta_{h_n} h_n $$

I stripped all the COLOR tags that were embedded in the code. I suspect you use the WYSIWYG editor and perhaps were unaware that you had these BBCodes embedded in your code.
Hi Mark,

I am just visiting a friend in Melbourne in the state of Victoria and am working with my friends Mac instead of my PC which I have left in Tasmania.

Problem must be with the Mac somehow

Peter
 
Try editing the post(s) in question, and while doing so, look for this button:

View attachment 3143

The one at the upper left. If that button has a white background, then you are using the WYSIWYG editor. Click that button to change to standard mode, and then you will see the raw code of your post, and you can then edit out the COLOR tags.
 

Attachments

  • toolbar.png
    toolbar.png
    7.1 KB · Views: 112
MarkFL said:
Try editing the post(s) in question, and while doing so, look for this button:

https://www.physicsforums.com/attachments/3143

The one at the upper left. If that button has a white background, then you are using the WYSIWYG editor. Click that button to change to standard mode, and then you will see the raw code of your post, and you can then edit out the COLOR tags.
Oh my goodness … yes, colour tags everywhere … thank you Mark … will edit them out ...

Thanks for the help … much appreciated

Peter
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
8K
  • · Replies 5 ·
Replies
5
Views
6K