Git Product home page Git Product logo

Comments (2)

wu-kan avatar wu-kan commented on June 15, 2024

这么做似乎会导致公式最底下几个像素被吞掉,如图

$$
\oint_{V}\triangledown Q dV=\iint_{\partial V}Q\cdot\vec{n}dS
$$

image

image

考虑到超长公式本身可以在写的时候手动分行(通过加\\),长公式显示不全的问题其实是可以手动规避的(毕竟使用 tex 的时候本身已经对排版有比较高要求),我觉得这个问题还是可以先搁置一下 😓

from wu-kan.github.io.

hc495 avatar hc495 commented on June 15, 2024

另外一个方案是自动换行..
我个人觉得这个问题在移动端还是挺严重的,毕竟手动换行不能兼顾多种浏览器分辨率

<style>
  .katex-display>.katex {
    white-space: normal;
  }
</style>

总之我先close掉了

from wu-kan.github.io.

Related Issues (15)

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.