-
I'm writing my conspectus in KaTeX and for specific reasons I need to write sqcases syntax, but I can't find a way to write it. So, is it supported some other way or will it be supported soon? |
Beta Was this translation helpful? Give feedback.
Answered by
edemaine
Sep 15, 2022
Replies: 1 comment
-
Reading the code for \def\arraystretch{1.2}
A=\left[\begin{array}{ll}
1 & \text{if } x=y\\
0 & \text{otherwise}
\end{array}\right. (Maybe you also want a Assuming |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SPY-LY
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reading the code for
cases
, something like this works pretty well:(Maybe you also want a
\quad
between the columns...)Assuming
sqcases
is in a LaTeX package (is it?), it might make sense to add support to KaTeX, and it should be pretty easy by following the linked code forcases
.