Customize the commands Anki uses to generate images from LaTeX code to your needs.
This add-on resides on GitHub, please go there for documentation or if you experience issues: https://github.com/trimitri/edit_latex_toolchain
The version uploaded here is currently v1.0.
Liên kết hỗ trợ
Reviews (2)
👍 2020-07-15
Really helpful … glad this was added
👍 2018-04-12
Thanks, everything worked very simply.
Used it to create the latex formulas in higher resolution and with transparent background.
The settings I used in edit_latex_toolchain.py are as follows
latex.pngCommands = [
[“latex”, “-interaction=nonstopmode”, “tmp.tex”],
[“dvipng”, “-D”, “500”, “-T”, “tight”, “-bg”, “Transparent”, “tmp.dvi”, “-o”, “tmp.png”],
]
To adjust the scaling of the formulas I use the CSS setting
.latex {
zoom: 25%;
}
If you want to write chemical fo