How to break a line between \begin and \end? #3057
Answered
by
edemaine
kobayashi-dot
asked this question in
Q&A
-
I want to display a matrix [[a, b], [c, d]] but the following code doesn't work:
However, this works:
In other words, I can't break the line between \begin and \end. |
Beta Was this translation helpful? Give feedback.
Answered by
edemaine
May 30, 2021
Replies: 1 comment
-
This is because the regular expression character Is there a particular reason you're not using the auto-render extension, which does the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kobayashi-dot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because the regular expression character
.
doesn't match newline (it matches everything except newline). You could use[^]
to match everything.Is there a particular reason you're not using the auto-render extension, which does the
$
matching for you?