question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KaTeX's array environment doesn't support *

See original GitHub issue

in mathjax it renders , but in katex it shows ( KaTeX parse error: Unknown column alignment: * at position 50: …{\begin{array}{*̲{20}{c}} {\frac…)

f\left( x \right)\, = \,\,\left\{ {\begin{array}{*{20}{c}} {\frac{{ - \sin \,\left\{ {\cos \,x} \right\}}}{{x - \pi /2}}}&{x\, \ne \,\frac{\pi }{2}} \\ 2&{x\, = \,\frac{\pi }{2}} \end{array}\,,} \right

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edemainecommented, Oct 13, 2018

\right needs an argument. \right. matches a `\left’ but without drawing anything.

0reactions
kevinbarabashcommented, Oct 13, 2018

What does the period do?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problems using `\left\{` in array environment - TeX
One way of doing this is to use the \left\{ and \right\} LaTeX commands. The problem is that when I do this, I...
Read more >
User's Guide for the amsmath Package (Version 2.1)
The amsmath package is a LATEX package that provides miscellaneous enhance- ments for improving the information structure and printed output of documents.
Read more >
Alternative to \setlength in arrays? - Google Groups
I often use \setlength{arraycolsep}{5pt} (or whatever length) to adjust the spacing of my arrays - for some purposes a more "squashed" array is...
Read more >
itex Commands
The \array{} command allows much finer control over the layout of arrays than is available in the standard (AMS)LaTeX-style environments above.
Read more >
Aligned environment latex - Farmapan
2 Defining environments which take arguments A LaTeX environment is one of the ... KaTeX does not support the align environment because LaTeX...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found