TiddlyRemember icon indicating copy to clipboard operation
TiddlyRemember copied to clipboard

Equation errors

Open chenboshuo opened this issue 3 years ago • 2 comments

the generated Anki note is:

The inputs \( \bm{x} \) are also called the features, or the covariates 

then it renders to image

However, to render this latex equation correctly, we need to use the pair [$][/$],

The inputs [$] \bm{x} [/$] are also called the features, or the covariates 

image

But I can't change it manually in Anki because the sync function will be changed to previous code, And the pair \[..\] should change to [$$][/$$] to render correctly Can you tell me how to deal with issues?

chenboshuo avatar Jul 12 '22 08:07 chenboshuo

TiddlyRemember is only designed to support MathJax, not the standard LaTeX compiler. Have you looked into whether you can add whatever package \bm is from to MathJax?

In principle it shouldn't be too hard to add this as an option, but TiddlyRemember currently assumes that LaTeX maps one-to-one onto an HTML span/div, so it might take a little finesse.

sobjornstad avatar Jul 17 '22 20:07 sobjornstad

In my case,My tiddlyWiki use KaLatex and it works. In MathJax it may not render correctly,

Thanks you for your attention.

chenboshuo avatar Jul 25 '22 04:07 chenboshuo