### Base Dozen Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Base Dozen Forum

A board for discussion of the number twelve as the base of numeration in mathematics and physics.

### Dozenal Clock

Dozenal Clock
 Local Dozenal Time: Local Decimal Time:

### Latest topics

» Pasigraphie of Joseph de Maimieux
Fri Aug 05, 2022 1:57 pm by Phaethon

» Probabilities of Primes and Composites
Sun Jul 24, 2022 6:22 pm by Phaethon

» Base Optimality
Sat Jul 23, 2022 2:28 pm by Phaethon

» Factor Density
Thu Jul 21, 2022 11:46 pm by Phaethon

» "Lagrange was Wrong, Pascal was Right"
Tue Jun 21, 2022 10:12 pm by Phaethon

» "High-Radix Formats for Enhancing Floating-Point FPGA Implementations"
Mon Jun 20, 2022 7:34 pm by Phaethon

» Twelfths Metric Ruler
Thu Jun 16, 2022 7:49 pm by Phaethon

Wed Jun 15, 2022 3:07 pm by Phaethon

» Optimal Analogue Clock
Sun Jun 12, 2022 1:09 am by Phaethon

2 posters

# MathJax

Phaethon

Posts : 118
Points : 195
Join date : 2019-08-05
Latex example:

\sum_{n = 4}^{n = 0}n^2

wendy.krieger

Posts : 47
Points : 67
Join date : 2019-08-07
Age : 65
To add Latex, you need to create a GreaseMonkey script, and enable it.

Something like $$\LaTeX$$ would then work.

To use LaTeX, you need to enclose the script in \ (  and \ ) [without the spaces].

$$\sum_{n = 4}^{n = 0}n^2$$

Phaethon

Posts : 118
Points : 195
Join date : 2019-08-05
I experimented with MathJax as JavaScript and through HTML yesterday. I had no success with the JavaScript way when I pasted the MathJax.js from notepad. Through HTML, I was able to get some very rudimentary maths notation to display correctly, but nothing that could not be done using ordinary formatting. The conversion of text such as \sum to the capital sigma letter and fractions in two levels did not work. I tried $$...$$ notation. This may have been due to the configuration, which could be changed from $$...$$. As far as I could gather, MathJax uses a different input format MathML and does not convert LaTeX to HTML by itself. So, I will look into the Greasemonkey script you mention.

wendy.krieger

Posts : 47
Points : 67
Join date : 2019-08-07
Age : 65
I've modified the twelftyonline script to work here.  Go to the webpage listed below (with the usual prefix), and install the script.

http://greasyfork.org/en/scripts/388292-mathjax-for-base

and install the script.  When you run it, and enclose your scripts in \ ( and \ ), latex will work.

This is the method i found from DozensOnline, it works here.

Last edited by wendy.krieger on Wed Aug 14, 2019 1:56 pm; edited 1 time in total

Phaethon

Posts : 118
Points : 195
Join date : 2019-08-05
Okay, great, it's working for me now, after I put the MathJax JavaScript into the forum and the Greasemonkey I got from https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ added to Firefox. But it is also working in Microsoft Edge, and I did not add Greasemonkey there. So, hopefully this is showing correctly for all users of the forum irrespective of browser and without them having to download or install an add-on.

wendy.krieger

Posts : 47
Points : 67
Join date : 2019-08-07
Age : 65
At this end, I'm just running greasemonkey.

Your Latex did not convert, but mine did. I don't know what you're seeing.

Phaethon

Posts : 118
Points : 195
Join date : 2019-08-05
Yes, I know that the first notation did not convert, and this is because it lacks the proper delimiters. I do not want to go back and edit that first post, so as to leave it as evidence of what LaTeX looks like before convertion to proper mathematical display. The later notations do appear converted, and the delimiters used are no longer visible. They were \ ( ... \ ) without spaces for the inline maths, and double dollars for the between lines format.

I looked at Twelfty Online, but the LaTeX there still does not convert for me in either browser, because I must not have MathJax set up properly.

For a forum whose main topics are on mathematics and physics, correct display of mathematical notation should ideally be incorporated so that any visitor can see it. Any other kind of forum that does not enable this control is hardly worth investing much time into if you want to get you message across to all readers.

wendy.krieger

Posts : 47
Points : 67
Join date : 2019-08-07
Age : 65
You don't need to load mathjax.

If you go to https://greasyfork.org/en/scripts/368791-mathjax-for-tapatalk-twelftyonline  (url - paste to your url bar) there is a greasemonkey script that activates LaTeX for twelftyonline.  You really don't have to install MathJax on your script.

I have one for hi.gher.space, the higher dimensions space that I moderate.  It's a postprocessor.

The process here is to create a 'new user' thread, which goes step by step, setting up the LaTeX, and going through the user profile to untick things if you plan to be a regular visitor.  TwelftyOnline has one, as does DozensOnline.

Last edited by wendy.krieger on Wed Aug 14, 2019 1:58 pm; edited 2 times in total

Phaethon

Posts : 118
Points : 195
Join date : 2019-08-05
Following your instructions, I installed the greasyfork for Twelfty Online and the physical notation is now displaying correctly on Twelfty Online for me using Firefox.

It's good to have a second pair of eyes.

Phaethon