Tiddlywiki with Katex: Syntax for environments

158 views
Skip to first unread message

karl.bopper

unread,
Feb 11, 2017, 4:31:28 AM2/11/17
to TiddlyWiki
Hello,

its my first time on a mailing group ? so give me a hint if iam violating some common conventions. 
I'm not even sure if this is the right place, but i'm using Tiddlywiki with Katex and i'd like to know if there is way to see all supported math environments with SYNTAX so i know how to use that environment. I have seen that there is a list of supported functions in Katex but i have not seen any information on how to use them. That means explicit syntax what i need to type in Tiddlywiki Edit mode to get the environments to work. I know Latex but i have no experience with Mathjax or other online typesetting tools. I am not looking for information for single environment but rather how i can look up the syntax or where i can find information on how to use them. Of course i tried google search but all i could find where a few single examples but no detailed documentation. I also saw the githhub files but i have no experience with that either.  

Kind regards, 
KB 

Bob Flandard

unread,
Feb 11, 2017, 5:06:45 PM2/11/17
to TiddlyWiki

karl.bopper

unread,
Feb 12, 2017, 4:06:33 AM2/12/17
to TiddlyWiki
Hi Bob,

yes i have seen these, the question is how do i use the functions listed in the first link ?

Kind regards,
KB

Bob Flandard

unread,
Feb 12, 2017, 4:37:20 AM2/12/17
to TiddlyWiki

Hi KB,

It sounds like you haven't installed the KaTeX plugin. Go to Control Panel -> Plugins -> Get More Plugins

Once installed it works exactly as shown in the second link, using any of the subset of LaTeX shown in the first link.

Display style equations are delimited by

$$
LaTeX here...
$$

and inline equations would be $$LaTeX here$$

It's pretty nifty and looks like magic the first time you see beautiful equations rendered in your wiki, that don't require internet connection to see them.

Regards, Bob


karl.bopper

unread,
Feb 18, 2017, 4:50:03 AM2/18/17
to TiddlyWiki
Hi Bob,

i have it installed and already used it to do simple inline equations but take for example the matrix environment. Under latex i would do something like 
\begin{matrix}
\alpha& \beta\\
\gamma& \delta
\end{matrix}

But how would the syntax in Katex look like? Should i do 
$$
\matrix
\alpha& \beta\\
\gamma& \delta
\matrix 
$$ 

Or is it exactly like Latex

$$
\begin{matrix}
\alpha& \beta\\
\gamma& \delta
\end{matrix}
$$
I miss information on that detail on the page with the supported functions,

Kind regards,
KB
Reply all
Reply to author
Forward
0 new messages