Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

tex-render

bởi thebigoranger

Web & Frontend Development
652Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Renders LaTeX math to PNG, JPEG, WebP, or AVIF images using MathJax (TeX→SVG) and @svg-fns/svg2img.

Mô tả

Kỹ năng này làm gì

Renders LaTeX math expressions to PNG, JPEG, WebP, or AVIF images using MathJax for TeX-to-SVG conversion. When active, the agent automatically renders any LaTeX in its replies and sends images in reading order without prompting the user. Output defaults to PNG files saved locally, with optional Data URL output.

Eliminates the need to copy LaTeX into an external renderer by converting formulas to images inline, in the natural reading order of the conversation.

Khi nào nên dùng

  • Rendering physics equations for a study guide
  • Converting calculus expressions to shareable image files
  • Visualizing chemistry notation inline in chat
  • Embedding matrices and integrals in technical documentation
  • Exporting scientific formulas as JPEG or WebP for web use

Quy trình ví dụ

ĐẦU VÀO

User asks: Show me the Euler-Lagrange equation as an image

AGENT
  1. 1

    Sends preceding plain text to the user

  2. 2

    Runs render.js with the LaTeX expression via shell using single-quote escaping

  3. 3

    Parses the returned JSON for the PNG file path

  4. 4

    Sends the image file with a short caption

ĐẦU RA

PNG image of the Euler-Lagrange equation delivered inline in the conversation

Cài đặt

clawhub install thebigoranger/tex-render

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết