Closed Ynjxsjmh closed 4 years ago
It is the underscore symbol in label=bfs_template.cpp
that causes the problem. To escape it, you could either use backslash like \_
or underscore package.
If one wants to use some special characters in label, according to fancyvrb manual , it must be put inside a group which is {}
.
verbatim.cls and format.cls is from chenshuo's typeset.
I tried with the following code, but it gives me the error
Extra }, or forgotten $.
Is there a MWE to reproduce it?