Latex svg skill
Skill Oneptica/latex-svg-skill
Render a LaTeX formula to an SVG file using MathJaxFrom its SKILL.md
npx -y skills add Oneptica/latex-svg-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.6 KB, 121 tokens by cl100k_base, as published. Nobody here has run it
Render LaTeX to SVG
When the user asks to render or export a LaTeX formula, run:
node render.mjs "<latex>" [output.svg]
<latex>is the LaTeX source (required)[output.svg]is the output path (defaults toformula.svgin CWD)
The render script uses MathJax to produce scalable SVG output. It supports standard LaTeX math mode, including fractions, roots, matrices, Greek letters, and common math symbols.
After rendering, tell the user where the SVG was saved and show a preview if possible.
What ships with it: 4 files
23.1 KB alongside SKILL.md, 1 of them executable
- example.svg20.6 KB
- package.json140 B
- README.md1019 B
- render.mjsruns1.3 KB