Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equation errors #71

Open
chenboshuo opened this issue Jul 12, 2022 · 2 comments
Open

Equation errors #71

chenboshuo opened this issue Jul 12, 2022 · 2 comments

Comments

@chenboshuo
Copy link

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?

@sobjornstad
Copy link
Owner

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.

@chenboshuo
Copy link
Author

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

Thanks you for your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants