发布时间:2011-06-03 22:30:14
文章类别:数学公式
原文地址:http://blog.sina.com.cn/s/blog_5e16f177010171x9.html

QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载

选自一个网友博客:http://blog.sina.com.cn/s/blog_6fe967840100ms26.html

其实amssymb这个package平时用的不多,昨天为了使用\triangleq(等号上面一个三角形,表示定义),不得不引入了这个package。引入后编译时有警告:

LaTeX Error: Command `\Finv' already defined.

Google过后发现是由于amssymb与XeLaTeX冲突,解决方法如下:

将\usepackage{amssymb}提到类似xunicode和xltxtra等packages以前,但是似乎不可将amsmath,amsfonts也提到这些packages之前,否则编译过程中途halt,没有功夫研究究竟怎么回事:(

若是使用 xeCJK,就把amssymb 提到 xeCJK之前即可

我简单解释如下:
fontspec 2.1b 文档 6.2 Math(s) fonts
they also define the fonts to be used in maths mode inside the \mathrm-type commands.
This only occurs in the preamble because LATEX freezes the maths fonts
after this stage of the processing. The fontspec package must also be loaded after
any maths font packages (e.g., euler) to be successful.
(Actually, it is only euler that
is the problem.)

Note that you may find that loading some maths packages won’t be as smooth
as you expect since fontspec (and X ETEX in general) breaks many of the assumptions
of TEX as to where maths characters and accents can be found. Contact me if you
have troubles, but I can’t guarantee to be able to fix any incompatibilities. The
Lucida and Euler maths fonts should be fine; for all others keep an eye out for
problems.
造成这个问题的原因是 xunicode 对几个数学符号的重定义,目前重影响的有六七个。
选自:http://bbs.ctex.org/viewthread.php?tid=58388

点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部