Hi, 
I think the short answer is no. :(
Katex supports a lot of LaTeX https://katex.org/docs/supported.html
But I don't think ticz drawings are supported. 
Im still kinda hoping https://github.com/pyramation/LaTeX2JS
takes goes viral and some mad genius makes a plugin out of it :) 
Maybe next it will week when I win the lotto! :)
I have used that with a free Dropbox hosting and Iframed it into a 
tiddlywiki. 
There are other diagramming plugins available for tiddlywiki. 
Have a search in the community vault: 
https://links.tiddlywiki.com/


On Sunday, 2 May 2021 at 23:25:51 UTC+1 muynars...@gmail.com wrote:

> I know that with the KaTex Plugin I can partially use LaTex syntax by 
> adding $$ at the beginning of the phrase like:
>
> $$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi 
> x}\,d\xi$$
>
> However, I'd like to put the entire LaTex syntax on my tiddlers like the 
> following:
>
> ```latex
> % Pie chart
> % Author: Robert Vollmert
> \documentclass{article}
>
> \usepackage{calc}
> \usepackage{ifthen}
> \usepackage{tikz}
> \begin{document}
> \newcommand{\slice}[4]{
>   \pgfmathparse{0.5*#1+0.5*#2}
>   \let\midangle\pgfmathresult
>
>   % slice
>   \draw[thick,fill=black!10] (0,0) -- (#1:1) arc (#1:#2:1) -- cycle;
>
>   % outer label
>   \node[label=\midangle:#4] at (\midangle:1) {};
>
>   % inner label
>   \pgfmathparse{min((#2-#1-10)/110*(-0.3),0)}
>   \let\temp\pgfmathresult
>   \pgfmathparse{max(\temp,-0.5) + 0.8}
>   \let\innerpos\pgfmathresult
>   \node at (\midangle:\innerpos) {#3};
> }
>
> \begin{tikzpicture}[scale=3]
>
> \newcounter{a}
> \newcounter{b}
> \foreach \p/\t in {20/type A, 4/type B, 11/type C,
>                    49/type D, 16/other}
>   {
>     \setcounter{a}{\value{b}}
>     \addtocounter{b}{\p}
>     \slice{\thea/100*360}
>           {\theb/100*360}
>           {\p\%}{\t}
>   }
>
> \end{tikzpicture}
>
> \end{document}
> ```
>
> This is a pie chart made in LaTex language. Is there any way of making 
> TiddlyWiki show the result of what I write like that? Just by using the 
> same syntax that I use for choosing syntax? Or is there an alternative way 
> to reach this same goal?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/85359c51-0cfd-45d8-b152-0c6ea9949250n%40googlegroups.com.

Reply via email to