Giter Club home page Giter Club logo

Comments (5)

wly0218 avatar wly0218 commented on May 18, 2024

default

from thesisuestc.

bdebye avatar bdebye commented on May 18, 2024

这个是mathspec宏包的问题,为了支持数学环境的Times New Roman字体。但是这个宏包貌似还不是太成熟。

from thesisuestc.

wly0218 avatar wly0218 commented on May 18, 2024

也就是暂时没有办法了?

from thesisuestc.

bdebye avatar bdebye commented on May 18, 2024

是的,除非不在数学环境中使用Times New Roman。

from thesisuestc.

garylavayou avatar garylavayou commented on May 18, 2024

使用singlespace环境包围公式环境,参考case brackets too big? [duplicate]The curly brace is too big

我这么尝试了确实有用,但是不知道是否有办法在模板中进行统一的修改。 @x-magus @wly0218

{\vspace{-20pt}\singlespacing
  \begin{equation}
  f_n(\mb{r})=
  \begin{cases}
  \frac{l_n}{2A_n^+}\mb{\rho}_n^+=\frac{l_n}{2A_n^+}(\mb{r}-\mb{r}_+)&\mb{r}\in T_n^+\\
  \frac{l_n}{2A_n^-}\mb{\rho}_n^-=\frac{l_n}{2A_n^-}(\mb{r}_--\mb{r})&\mb{r}\in T_n^-\\
  0&\text{otherwise}
  \end{cases}
  \end{equation}
}

更新:使用singlespace环境会使得后续内容缩进,因此改成以上代码,但是需要在开始位置减小垂直距离。

image

以上图片中展示了我自己的一个公式和模板自带的一个公式。非常奇怪的是我的公式仍然不能消除上方的间距。以下是两段公式的代码。

分段函数测试:
    {\vspace{-18pt}\singlespacing\[
      \begin{cases}
        f_{i,j,s}^k\leftarrow d_{i,j}^k/\sigma,~d_{i,j}^k\leftarrow d_{i,j}^k - f_{i,j,s}^{k} \\
        x(p_{i,j,s}^k)\leftarrow x(p_{i,j,s}^k) + f_{i,j,s}^k
      \end{cases}
      , \forall k\in\kappa(u_j)
      \]
    }

分段函数测试2:
    {\vspace{-20pt}\singlespacing
      \begin{equation}
      f_n(\mb{r})=
      \begin{cases}
      \frac{l_n}{2A_n^+}\mb{\rho}_n^+=\frac{l_n}{2A_n^+}(\mb{r}-\mb{r}_+)&\mb{r}\in T_n^+\\
      \frac{l_n}{2A_n^-}\mb{\rho}_n^-=\frac{l_n}{2A_n^-}(\mb{r}_--\mb{r})&\mb{r}\in T_n^-\\
      0&\text{otherwise}
      \end{cases}
      \end{equation}
    }

from thesisuestc.

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.