LaTeX错误:! LaTeX Error: Command `\Finv' already defined.

quantumpo声明:

本文前半部分原作者:MiChen

本文后半部分原作者:LaTeX_Fun


by MiChen

其实amssymb这个package平时用的不多,昨天为了使用\triangleq(等号上面一个三角形,表示定义),不得不引入了这个package。引入后编译时有警告:
LaTeX Error: Command `\Finv' already defined.
Google过后发现是由于amssymb与XeLaTeX冲突,解决方法如下:
将\usepackage{amssymb}提到类似xunicode和xltxtra等packages以前,但是似乎不可将amsmath,amsfonts也提到这些packages之前,否则编译过程中途halt,没有功夫研究究竟怎么回事:(



by LaTeX_Fun

若是使用 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
  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值