有谁知道 LaTex 的资源
我想使用 LaTex 更快地编写方程,并且是否可以将结果导出为 png 或 jpg 以便可以在网站上使用。
I want to use LaTex to write equations faster and if it is possible to export the result as a png or jpg so that it can be used on a website.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
维基百科(及其开源维基引擎)为此使用 LaTeX,也许有一些可用的资源(至少在代码中,因为它是开源的)。
Wikipedia (and its opensource wiki engine) uses LaTeX for that, maybe there are some resources available (at least in the code, as it is opensource).
你的问题很广泛。您可以从亚马逊的乳胶书籍列表开始。
Your question is very broad. You could start with Amazon's List of Latex Books.
您可能想研究 StackExchange 网站 mathoverflow.net 解决方案 - 您可以阅读有关 此处。它使用支持大量 LaTeX 语法。
You might want to investigate the StackExchange site mathoverflow.net solution - you can read about here. It uses jsMath which supports a lot of LaTeX syntax.
假设您已经了解一点 LateX 并且您的主要目标是获取图像,那么一个好的高级工具是 mathTeX;甚至还有公共服务器可以为您转换为图像。
如果您想自己完成所有操作,所有工具均使用
dvipng
底部。Assuming you already know a little LateX and your primary goal is to get images, a good high-level tool is mathTeX; there are even public servers that will convert to images for you.
If you want to do everything yourself, all the tools use
dvipng
at bottom.我喜欢 MathBin.net 和 罗杰的在线方程编辑器。后者可以让您控制输出的质量。另请参阅此问题 。
I like both MathBin.net and Roger's Online Equation Editor. The latter lets you control the quality of the output. See also this question.
试试这个:http://hausheer.osola.com/latex2png
try this: http://hausheer.osola.com/latex2png
这是 LaTeX 的一个小符号参考。如果您正在寻找更多一般性介绍,您可以查看 “LaTeX2e 的简短介绍”。如果您使用 Inkscape,则有对渲染 LaTeX 的内置支持,并且还有执行相同操作的扩展。您可以在此处阅读一些有关它的评论。还有 LaTeX 到 HTML 转换器之类的东西;然而,在我查看它们时,它们可以显示的公式有些有限。
Here is a small symbol reference for LaTeX. If you are looking for something more as a general introduction, you can look at "The Not So Short Introduction To LaTeX2e". If you use Inkscape, there is built in support for rendering LaTeX and there are also extensions that do the same. You can read some commentary about it here. There are also things like LaTeX to HTML converters; However, at the time I was looking at them, they were somewhat limited in what formulas they could display.
我使用 wikibook 自学 LaTeX。作为初步指南,它相当全面。我已经购买了 The LaTeX Companion,这是 LaTeX 中深度排版的更高级指南
I taught myself LaTeX using the wikibook. It's fairly comprehensive as an initial guide. I've since bought The LaTeX Companion, which is a more advanced guide to in depth typesetting in LaTeX
我使用 http://www.artofproblemsolving.com/LaTeX/AoPS_L_TeXer.php 时我需要一个网站的快速方程式。
有些软件包可以自动从 LaTeX 源生成图像,但这些软件包通常要么有缺陷,要么使用不正确。例如,许多人将它们安装在他们的博客上,如果您直接访问博客,则图像会显示,但如果您通过博客阅读器查看页面,则图像不会显示。我并不是说这些问题无法解决。他们可以,但通常需要几次尝试。
我更喜欢只制作一个 gif 并将其粘贴在页面中。它技术含量低且可靠。
还有一点提示:最好将 LaTeX 源代码放在图像的 alt 标签中。这有助于人们使用屏幕阅读器。如果您稍后需要修改方程,它也会对您有所帮助。
I use http://www.artofproblemsolving.com/LaTeX/AoPS_L_TeXer.php when I need a quick equation for a web site.
There are packages that will automatically produce images from LaTeX source, but these are often either buggy or used incorrectly. Many people install them on their blogs, for example, and the images show up if you visit the blog directly but they don't show up if you view the page via a blog reader. I'm not saying these problems can't be fixed. They can, but it often takes a few tries.
I prefer just to make a gif and stick it in the page. It's low tech and reliable.
One more tip: it's a good idea to put the LaTeX source in the alt tag of the image. This helps people using screen readers. It helps you too if you need to modify the equation later.
Detextify 是一个很棒的网站,可以让您绘制符号,它会弹出一个可能与您的绘图匹配的乳胶命令列表。非常准确! http://detexify.kirelabs.org/classify.html
Detextify is a great site that lets you draw a symbol, and it will pop up a list of latex commands that may match your drawing. It's quite accurate! http://detexify.kirelabs.org/classify.html