Coder Social home page Coder Social logo

Comments (3)

pkra avatar pkra commented on June 11, 2024

This is the expected result for $$[1,2,3] \\ [4,5,6]$$ and matches "real" TeX.

from mathjax-node.

dpvc avatar dpvc commented on June 11, 2024

Just to clarify, in LaTeX, \\ can be followed by an optional dimension that indicates extra space to add for that line break. E.g., \\[3px] would add three additional pixels of space for that line break. Since optional arguments are allowed to be preceded by spaces \\ [3px] would do the same. Your \\ [4,5,6] looks like an optional argument, and so the 4,5,6 is expected to be a dimension, but since it isn't, you get the error message. As Peter points out, this is correct behavior.

You could use something like $$[1,2,3] \\ {[4,5,6]}$$ or $$[1,2,3] \\{} [4,5,6]$$ to avoid the issue.

from mathjax-node.

lyxabymxlc avatar lyxabymxlc commented on June 11, 2024

@dpvc I see. I tried it just now. It really works. I'm going to modify latex. Thank you very much

from mathjax-node.

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.