Strike-through in MathJax latex syntax

212 views
Skip to first unread message

rumaisa...@gmail.com

unread,
Jun 3, 2020, 12:27:13 PM6/3/20
to MathJax Users
Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

David Starbuck

unread,
Jun 3, 2020, 12:30:26 PM6/3/20
to mathja...@googlegroups.com
you need to use the cancel package. Which version of MathJax are you using?


On Wed, Jun 3, 2020 at 12:27 PM <rumaisa...@gmail.com> wrote:
Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/7e1515fa-d63d-498a-85a9-f41e0d03596a%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications
d.sta...@ieee.org
1+ 732 465 6484 (office)
-------------------------------------------------------

rumaisa...@gmail.com

unread,
Jun 3, 2020, 12:35:59 PM6/3/20
to MathJax Users
It's 1.3.11. I am using MathJax-Latex plugin in LearnDash, I am a beginner and I am not aware of loading packages etc there


On Wednesday, June 3, 2020 at 9:30:26 PM UTC+5, David Starbuck wrote:
you need to use the cancel package. Which version of MathJax are you using?


On Wed, Jun 3, 2020 at 12:27 PM <rumaisa...@gmail.com> wrote:
Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

David Starbuck

unread,
Jun 3, 2020, 12:38:50 PM6/3/20
to mathja...@googlegroups.com
That must be the plugin version. 
MathJax is up to 3.0.something. Does it allow you to configure any MathJax options? 
You should be able to call in the TeX extensions inside a <script> tag inside the <head>.
If the actual MathJax version is 2.x.x it is a bit easier. I don't know about doing it in 3.x


To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/ef2ac972-540b-48d8-bb4e-f290ad018d40%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 12:39:02 PM6/3/20
to MathJax Users
I am aware of all the packages that we normally use in latex in overleaf or texstudio. But I am unable to figure this out for the LMS.


On Wednesday, June 3, 2020 at 9:30:26 PM UTC+5, David Starbuck wrote:
you need to use the cancel package. Which version of MathJax are you using?


On Wed, Jun 3, 2020 at 12:27 PM <rumaisa...@gmail.com> wrote:
Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

David Starbuck

unread,
Jun 3, 2020, 12:42:18 PM6/3/20
to mathja...@googlegroups.com
I looked at the LearnDash support page. It says the MathJax plugin is still in development. https://www.learndash.com/support/docs/add-ons/compatibility/


It may just not be ready, yet. Are there other LearnDash docs on using MathJax?


To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/89a86116-ab07-4950-8c4c-d830deff0993%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 12:45:03 PM6/3/20
to MathJax Users

MathJax Config.png

Yes, its a plugin version. I am sharing a screenshot, my configuration is set to default and I dont have any info about the other configurations or how they will help.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

David Starbuck

unread,
Jun 3, 2020, 12:51:01 PM6/3/20
to mathja...@googlegroups.com
They don't give you many options. I'd suggest to them to add options to load TeX packages. That will make it much more useful. 

To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/03e44ea5-5748-4644-b49f-9cbbec03a780%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

Davide Cervone

unread,
Jun 3, 2020, 12:53:30 PM6/3/20
to mathja...@googlegroups.com
Try using

[latex]\require{cancel} x + \cancel{y} + z[/latex]

and see if that works.

Davide


On Jun 3, 2020, at 12:27 PM, rumaisa...@gmail.com wrote:

Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.

rumaisa...@gmail.com

unread,
Jun 3, 2020, 1:11:57 PM6/3/20
to MathJax Users
This is the only source at LearnDahs which give some info about using Latex and MathJax https://wordpress.org/plugins/mathjax-latex/


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 1:13:59 PM6/3/20
to MathJax Users

Strikethrough error.png

I have tried by far everything even I have defined a new command. Here's the screenshot errors


On Wednesday, June 3, 2020 at 9:53:30 PM UTC+5, Davide Cervone wrote:
Try using

[latex]\require{cancel} x + \cancel{y} + z[/latex]

and see if that works.

Davide

On Jun 3, 2020, at 12:27 PM, rumaisa...@gmail.com wrote:

Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.

rumaisa...@gmail.com

unread,
Jun 3, 2020, 1:15:28 PM6/3/20
to MathJax Users

Error.png



On Wednesday, June 3, 2020 at 9:53:30 PM UTC+5, Davide Cervone wrote:
Try using

[latex]\require{cancel} x + \cancel{y} + z[/latex]

and see if that works.

Davide

On Jun 3, 2020, at 12:27 PM, rumaisa...@gmail.com wrote:

Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.

David Starbuck

unread,
Jun 3, 2020, 1:20:08 PM6/3/20
to mathja...@googlegroups.com
What I don't like about this page is that it is showing obsolete or PlainTeX delimiters "$$" for display eqs.  I'd rather see options for more up-to-date support for LaTeX environments for display formula.
Also, too many ways to do the same thing, pick one and stick with it and avoid too many configuration issues. I'd rather see people develop proper LaTeX coding practices. (I see a lot of bad LaTeX coding in my job.)

To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/bfb129eb-8c4c-4e47-8da7-0088118e3f82%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 1:29:48 PM6/3/20
to MathJax Users
Agreed, there are some major issue. But I  need to see the configurations as all because I am not able to get my work done properly. 


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

David Starbuck

unread,
Jun 3, 2020, 1:41:18 PM6/3/20
to mathja...@googlegroups.com
Unless they are giving you a stripped down version of MathJax without the TeX extension, they should give an option to load what you need or all of them.
What this shows me is that the developers may not have a lot of math/LaTeX typesetting or MathJax experience. Or they are getting bad advice from someone.


To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/31b1e02e-8ae6-4ad3-af3c-38a1c8989d9e%40googlegroups.com.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 3:19:38 PM6/3/20
to MathJax Users
It is still developing and I will get in contact with them. I really appreciate your suggestions and thank you for your time.


--
------------------------------------------------------
David Starbuck
Programmer/System Analyst
IEEE Publications

rumaisa...@gmail.com

unread,
Jun 3, 2020, 3:22:03 PM6/3/20
to MathJax Users
Hi,

I just made a slight mistake. This actually worked, may thanks.


On Wednesday, June 3, 2020 at 9:53:30 PM UTC+5, Davide Cervone wrote:
Try using

[latex]\require{cancel} x + \cancel{y} + z[/latex]

and see if that works.

Davide

On Jun 3, 2020, at 12:27 PM, rumaisa...@gmail.com wrote:

Hi,

My learning management system (LMS) using MAthJax which requires latex-like input.It uses base latex syntax and I am having a lot of problem in creating strikethrough text without using any package and defining new command. Is there any simpler solution?

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages