Giter Site home page Giter Site logo

Comments (1)

sikouhjw avatar sikouhjw commented on May 23, 2024 1

加载 diagbox 后编译,报错为

Use of \Vector doesn't match its definition.

检查 \Vector 的定义为

\providecommand{\Vector}[1]{\boldsymbol{#1}}% general vectors in bold italic

猜测是 diagbox 的行为修改了 \Vector 的定义,找到
https://github.com/leo-liu/tex-pkg/blob/54fbd571682b61d02df5834b275fb823523a882f/diagbox/diagbox.dtx#L632
构造 MWE:

\documentclass{article}
\usepackage{amsmath}
\providecommand{\Vector}[1]{\boldsymbol{#1}}
\usepackage{pict2e}
\begin{document}
  $\Vector{x}$
\end{document}

发现是 pict2e 的问题,问题在于 pict2e 定义了 \Vector

\def\Vector(#1,#2)(#3,#4){\polyvector(#1,#2)(#3,#4)}

那么,最简单的方法就是将

\providecommand{\Vector}[1]{\boldsymbol{#1}}% general vectors in bold italic

改为另一命令名,同时修改在模板中使用这一定义的地方

from ucasthesis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.