Problem with extra [MATH] [/MATH] signs

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

Discussion Overview

The discussion revolves around issues with LaTeX formatting in a forum post related to group algebras. Participants are addressing problems with extra mathematical symbols appearing in the code, which affects the display of equations.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Peter reports issues with extra $$ $$ signs being added automatically when saving changes to his post, which prevents the LaTeX code from displaying correctly.
  • Some participants suggest that the use of the WYSIWYG editor may be causing the problem, as it could embed unwanted BBCodes in the LaTeX code.
  • Peter mentions that he is using a Mac instead of his usual PC, implying that the issue may be related to the different operating systems.
  • Mark advises Peter to switch from the WYSIWYG editor to standard mode to edit the raw code and remove any embedded COLOR tags that might be causing the formatting issues.
  • Peter acknowledges the presence of color tags and expresses gratitude for the assistance in resolving the formatting problem.

Areas of Agreement / Disagreement

Participants generally agree that the WYSIWYG editor may be contributing to the formatting issues, but there is no consensus on the exact cause or solution beyond switching editors.

Contextual Notes

The discussion highlights potential limitations of the forum's editing tools, particularly regarding how different editors handle LaTeX and embedded codes. Specific assumptions about user familiarity with the editor's functions are also present.

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: 115
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
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
8K
  • · Replies 5 ·
Replies
5
Views
6K