查看“︁AMS-LaTeX”︁的源代码
←
AMS-LaTeX
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{NoteTA |G1=IT |1=zh-cn:宏;zh-tw:巨集 |2=zh-cn:通过;zh-tw:透過 |3=zh-cn:代码;zh-tw:程式碼 }} '''AMS-LaTeX'''是一个包含数学公式所需符号、排版、字体的[[LaTeX]]文档类和宏包集合。其开发主要参考了[[美国数学协会]]在数学期刊和书籍排版工作中的经验,以AMS-LaTeX撰写的文章可被该协会旗下期刊接受。<ref>{{cite book|url=http://www.ctan.org/tex-archive/info/mil/mil.pdf|title=Math into LaTeX|author=George Gratzer|year=1996|isbn=0-8176-3805-9|accessdate=2007-10-08|archive-date=2011-01-09|archive-url=https://web.archive.org/web/20110109090648/http://www.ctan.org/tex-archive/info/mil/mil.pdf}}</ref> [[MathJax]]中通过扩展程序支持AMS-LaTeX。<ref>{{Cite web|title=MathJax TeX and LaTeX Support — MathJax 2.7 documentation|url=http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands|access-date=2018-08-27|website=docs.mathjax.org|language=en|archive-url=https://web.archive.org/web/20181216163219/http://docs.mathjax.org/en/latest/tex.html#supported-latex-commands|archive-date=2018-12-16|url-status=dead}}</ref> 以下LaTeX2e代码可以生成 AMS-LaTeX的标志:<syntaxhighlight lang="latex" line="1"> %%% -- AMS-LaTeX_logo.tex ------- \documentclass{article} \usepackage{amsmath} \begin{document} \AmS-\LaTeX \end{document} </syntaxhighlight>该宏包有一套工具来处理多行公式。例如:<syntaxhighlight lang="latex" line="1"> \begin{align} y &= (x+1)^2 \\ &= x^2+2x+1 \end{align} </syntaxhighlight>该代码可以使两行中的等号对齐,如下所示: : <math> \begin{align} y &= (x+1)^2 \\ &= x^2+2x+1 \end{align} </math> AMS-LaTeX 还包括许多灵活的命令,用于排版和对定理、引理等生成编号。 例如,可以使用{{Samp|theorem}}环境<syntaxhighlight lang="latex" line="1"> \begin{theorem}[Pythagoras] Suppose $a\leq b\leq c$ are the side-lengths of a right triangle.\\ Then $a^2+b^2=c^2$.\end{theorem} \begin{proof}. . . \end{proof} </syntaxhighlight>可以生成<blockquote> '''Theorem''' (''Pythagoras'') ''Suppose'' <math>a\leq b\leq c</math> ''are the side-lengths of a right triangle.'' ''Then'' <math>a^2+b^2=c^2</math>. '''Proof'''. . . □ </blockquote> == 参见 == * [[墓碑符号]] == 参考资料 == {{reflist}} == 外部链接 == * [http://www.ams.org/tex/ AMS上关于TeX的资源] {{Wayback|url=http://www.ams.org/tex/ |date=20100218111742 }} * [https://web.archive.org/web/20060908235938/http://www.tex.ac.uk/cgi-bin/texfaq2html?label=AMSpkg AMS-TeX上的TeX常见问题解答] [[Category:TeX]]
该页面使用的模板:
Template:Cite book
(
查看源代码
)
Template:Cite web
(
查看源代码
)
Template:NoteTA
(
查看源代码
)
Template:Reflist
(
查看源代码
)
Template:Samp
(
查看源代码
)
Template:Wayback
(
查看源代码
)
返回
AMS-LaTeX
。
导航菜单
个人工具
登录
命名空间
页面
讨论
不转换
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
工具
链入页面
相关更改
页面信息