Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing or unrecognized delimiter for \left #16

Open
xpqiu opened this issue Aug 7, 2017 · 4 comments
Open

Missing or unrecognized delimiter for \left #16

xpqiu opened this issue Aug 7, 2017 · 4 comments

Comments

@xpqiu
Copy link

xpqiu commented Aug 7, 2017

Missing or unrecognized delimiter for \left .

For example,
$$
\phi_2(x,y)=\left{
\begin{array}{11}
1 & \textrm{if x contains 'stock' and y is 'sport'}\
0 & \textrm{otherwise}
\end{array}
\right..
$$

@admnll
Copy link

admnll commented Jul 10, 2019

Remove the first bracket and replace it with \ lbrace
$$
\phi_2(x,y)=\left\lbrace
\begin{array}{ll}
1 & \textrm{if x contains 'stock'
and y is 'sport'} \newline
0 & \textrm{otherwise}
\end{array}
\right.
$$

@muzimuzhi
Copy link

According to GitHub Flavored Markdown Spec, Sec. 6.1

Any ASCII punctuation character may be backslash-escaped:
\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~

Hence the whole process is

  • you type in \left\{ and gfm parser uses it as input
  • gfm parser returns \left{ and github-mathjax (and mathjax) uses it as input
  • mathjax complains about { is not a delimiter

And, duplicate of #26 .

@muzimuzhi
Copy link

Sorry, I have not found that this is a so-old issue.

@piglaker
Copy link

piglaker commented Jan 4, 2021

thx

iridiumcao added a commit to iridiumcao/iridiumcao.github.io that referenced this issue Jun 13, 2023
alephpi added a commit to alephpi/TransCan that referenced this issue Mar 22, 2024
When I view the readme, there is an error box "Missing or unrecognized delimiter for \left" as mentioned in orsharir/github-mathjax#16 (comment)
Not sure if it's the same in your side.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants