Giter Site home page Giter Site logo

add \choose about texmath HOT 1 CLOSED

gwern avatar gwern commented on June 23, 2024
add \choose

from texmath.

Comments (1)

jgm avatar jgm commented on June 23, 2024

Workaround: use \binom{a}{b} instead of a \choose b.

+++ gwern [Oct 01 13 17:33 ]:

It was recently pointed out to me that my combinatorial LaTeX in
[1]http://www.gwern.net/sicp/Chapter%201.1#section-2 was apparently
broken and readers were seeing raw LaTeX. The first formula goes
{3 \choose 2} = \frac{3!}{2! \times (3-2)!} = \frac{3!}{2! \times 1!} = \frac{3!
}{2 \times 1} = \frac{3!}{2} = \frac{6}{2} = 3

I had checked in Texify that this worked but after some playing around
in Pandoc, it seems that the problem is the \choose operator. I don't
see any use of \choose in cgi/texmath.html, and an attempt to use it in
texmath.hs fails:
$ runhaskell texmath.hs
3 \choose 2
"formula" (line 1, column 11):
unexpected "2"

It would be nice if this could be supported.


Reply to this email directly or [2]view it on GitHub.
[xJAuenYDiIoVt3LF3y6845Uowuh-F3RSrXYj7Tg-Aew_DsAkhKUOsLARU1wSinFk.gif]

References

  1. http://www.gwern.net/sicp/Chapter%201.1#section-2
  2. #21

from texmath.

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.