此 MWE
\documentclass{article}
\usepackage[bitstream-charter]{mathdesign}
\usepackage{amssymb}
\begin{document}
t
\end{document}
给出错误
! LaTeX Error: Command `\circledS' already defined.
See the LaTeX manual or LaTeX Companion for explanation.
l.160 ...mbol{\circledS} {\mathord}{AMSa}{"73}
我改为{mathdesign}
,现在我在所有使用包的文件中都收到此错误amssymb
有什么技巧可以让这两个包在同一个文件中工作吗?
2015 年
*File List*
article.cls 2014/09/29 v1.4h Standard LaTeX document class
size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
mathdesign.sty 2013/08/29 v2.31 Math Design Project
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
ifthen.sty 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
mdbch.cfg
mdbch.sty 2013/08/29 v2.31 bitstream bitstream charter + mdbch (Math Desi
gn Project)
mdfont.def 2013/08/29 v2.31 (Math Design Project)
mdsffont.def 2013/08/29 v2.31 (Math Design Project)
mdttfont.def 2013/08/29 v2.31 (Math Design Project)
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
ot1mdbch.fd 2013/08/29 Fontinst v1.933 font definitions for OT1/mdbch.
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
t1mdbch.fd 2013/08/29 Fontinst v1.933 font definitions for T1/mdbch.
amssymb.sty 2013/01/14 v3.01 AMS font symbols
amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
mdacmr.fd
mdbcmr.fd
答案1
如果您更喜欢\circledS
,那么amssymb
以下内容就足够了:
\documentclass{article}
\usepackage[bitstream-charter]{mathdesign}
\let\circledS\undefined % here - PS
\usepackage{amssymb}
\begin{document}
t
\end{document}