LaTeX

LaTeX

Tổng quan

A discord bot to render LaTeX in discord using slash commands.


This is a discord bot that allows you to render LaTeX code as images in discord, allowing you to easily share formulas and complex math statements in text channels.

Commands:

  • /latex [brightness] [scale] Renders a latex statement in the chat and sends it back. Brightness can be used to render images which can be pasted into documents (black text instead of light gray), scale and be used to create higher resolution images. Code can be any latex statement as long as it fits in an image

The bot is open source and available on github: https://github.com/alvesvaren/latex-bot-ts It uses mathjax to render the images to an svg, and then convert it to an image file. This makes the bot really fast compared to any alternatives I've found that either uses PDFs as an intermediate step, or a browser to render and then send the image back.

Đánh giá & Nhận xét


4

1 nhận xét

Chỉ người dùng đã đăng nhập mới có thể đăng nhận xét. Mọi nhận xét đều được quản lí bởi quản trị viên Top.gg. Vui lòng xem qua các quy tắc của chúng tôi trước khi đăng nhận xét.

5 sao

0

4 sao

1

3 sao

0

2 sao

0

1 sao

0



madelyn_of_hell
madelyn_of_hell
3 months ago

Does exactly what it says on the tin. Wish there was a way to increase the resolution further, and do so without scaling the the image, but I'm guessing that's not practical for compute reasons. still, great bot.



Top.gg

Khám phá vô vàn bot và ứng dụng dành cho Discord

Hỗ Trợ

Gửi yêu cầu

Quản lý cài đặt Cookie

Đối tác

Medal

MCP Servers