GithubHelp home page GithubHelp logo

Comments (4)

mkucej avatar mkucej commented on August 17, 2024

Please see this comment and discussion why $ is escaped.

#47 (comment)

If you disagree, we can revert that.

from i-librarian.

mkucej avatar mkucej commented on August 17, 2024

Is there a way to distinguish a $ character from a $ in a Latex command?

from i-librarian.

Zugrik avatar Zugrik commented on August 17, 2024

I don't think so. $ is a special character in Latex, so if you don't secure it in Latex command with "\", it will be treated as an exit from math mode. Also, please read my following comment.

from i-librarian.

Zugrik avatar Zugrik commented on August 17, 2024

Please see this comment and discussion why $ is escaped.

#47 (comment)

If you disagree, we can revert that.

Also looked through this discussion. Actually, guys didn't show any arguments, why $ character should be secured. On the other hand, I see that Latex can't cope with $ correctly. I think the issue is in following: Latex treat "\$" as it should - placing the very "$" character. But, e.g. in title "$" opens up a math mode, where "_", "^" and other special commands will work by placing sub-, superscripts and so on. Since Latex already treated "\$" as ordinary "$" character and added it in text, it wouldn't enter the math mode and following "math" input will produce errors.

Hope it helped)

Best,
Eugene.

from i-librarian.

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.