Giter Club home page Giter Club logo

Comments (3)

YDX-2147483647 avatar YDX-2147483647 commented on June 11, 2024 1

Honestly speaking, I do not think it should be included in physica.

  • You can simply #let eu = math.upright("e") and write $eu$.
  • Upright e may not be a universal convention. Wikipedia uses the italic e, and the LaTeX package physics does not offer it.
  • Besides, I think eu is too confusing. European Union, Euler's constant γ, …

from typst-physics.

linuxrider avatar linuxrider commented on June 11, 2024 1
  • You are right. A custom definition is easy. And this the way I am already using it.
  • There is the standard ISO 80000-2 mentioned in https://en.wikipedia.org/wiki/Mathematical_notation with upright constants. But of course traditionally it is not used everywhere consequently.
    I am coming from the field of chemistry where we adhere more or less to the IUPAC convention with upright constants.
  • Regarding the abbreviation: This was only an example which came to mind first because I'm already using it.

Thanks for your work and feel free to close if this didn't change your mind.

from typst-physics.

Leedehai avatar Leedehai commented on June 11, 2024 1

Hi - I agree with the difficulty of deciding whether the upright form is the most universal, and naming it "eu" may conflate with others (especially, Euler's constant).

Giving it a longer and more descriptive name makes sense (euler-symbol?), but the benefits would be much less compared to just going with user-customized #let eu = math.upright("e"). The user-customized version is easier to type, and unambiguous (since users defined it themselves).

I'll close the issue for the moment, but thanks for opening this issue & letting me know your use cases!

from typst-physics.

Related Issues (17)

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.