gpt4 book ai didi

web-services - 任何带有 API 的 Latex 网络服务?

转载 作者:行者123 更新时间:2023-12-04 03:17:20 25 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

2年前关闭。




Improve this question




是否有采用这种类型的 latex http 请求的 Web 服务 API:

http://some_web_service/texfile?texfile=

\new\documentclass[12pt]{article}
\begin{document}
bla
\end{document}

并返回:
bla.pdf

最佳答案

Online LaTeX Equation Editor非常适合这个。
例如:
equation using Online Equation Editor
使用以下标记:

![equation using Online Equation Editor]
(https://latex.codecogs.com/gif.latex?x&space;=&space;\frac{4}{5}+\pi\Omega\int_{2\pi}^{\infty}{5\left\(\frac{\tau+3}{2}\right\)d\omega})
请注意,您需要使用反斜杠对括号进行转义,例如: \left\( stuff \right\)如果您浏览 editor API documentation您可能会发现可以通过将 api url 端点从 /gif.latex 更改为 png 格式。至 /png.latex .
还可以使用 \bg_white 设置白色背景。 :
![equation using Online Equation Editor] 
(https://latex.codecogs.com/gif.latex?\bg_white&space;x&space;=&space;\frac{4}{5}+\pi\Omega\int_{2\pi}^{\infty}{5\left\(\frac{\tau+3}{2}\right\)d\omega})
另见 this meta.stackexchange answerthis tex.stackexchange answer .我相信还有更多的答案指向这个工具并以不同的方式实现它。 IE:而不是使用 url 使用 Markdown 符号生成 gif 或 png,或者您可以使用 html 标记并绕过 Markdown ,或者您可以将图像拖到您的帖子中。

关于web-services - 任何带有 API 的 Latex 网络服务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4310507/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com