Loading...
 
Features / Usability

Features / Usability


What is the Markdown syntax for LaTeX equations

posts: 24 United States

Greetings,

What is the Tiki Wiki/CommonMark Markdown plugin syntax for using LaTeX/KaTeX to write equations? I've installed mathjax using composer and enabled the equations plugin. I've tried the following syntax options and none these options get converted into a good looking equation or variables with subscripts.

{MARKDOWN()}
$I_d$ 
I~d~
This text is {TAG(tag=>sub)}sub{TAG} script
28th
2^8^
I_d 
{MARKDOWN}

Note that the underscore isn't appearing in the test for $I_d$ and I_d in the code above.

The standard Tiki Wiki syntax works as shown at the bottom but not within the Markdown plugin

I{SUB()}text{SUB}
{EQUATION()}$$I_d=10 V_{GS}^2 \frac{1}{2}\mu$${EQUATION}

I would like to use LaTeX/KaTeX syntax for equations in my Tiki Wiki Markdown blogs using the following syntax, for example. How do I configure Tiki Wiki 21.4 and the Markdown plug to achieve this?

$I_d=\frac{1}{2}\mu_n C_{ox} (\frac{W}{L})V_{eff}^2$

If LaTeX/KaTeX syntax isn't available yet, what is the syntax to create subscripts and superscripts within the Markdown plugin?


Tiki Wiki sub example shown here.
Itext
Equation not show because the equation plugin isn't enabled in the forum.

posts: 126886 United Kingdom

Sorry no, wiki plugins aren't supported within Markdown yet, but it is part of the long term plan as described (hopefully) here.

Meanwhile, you'd have to stop your markdown plugin, do the LaTex one, then start more markdown after it for now.

posts: 24 United States
Jonny Bradley wrote:

Sorry no, wiki plugins aren't supported within Markdown yet, but it is part of the long term plan as described (hopefully) here.

Meanwhile, you'd have to stop your markdown plugin, do the LaTex one, then start more markdown after it for now.


Hi Jonny,
Thank you for the response. I discovered by accident that LaTeX equations seem to work within the Markdown plugin. I used the following to generate the equation.

Copy to clipboard
{MARKDOWN()} $$I_d=\frac{1}{2}\mu_n C_{ox} (\frac{W}{L})V_{eff}^2$$ {MARKDOWN}

And the equation appears typeset as expected on my site 21.4 LTS.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting