问题
In LaTex, if I use \verb, how can I escape |? For example, I want to display ab|bc: \verb|ab[]bc|. What should replace []?
回答1:
You can use other characters in \verb than |; for example, you can do \verb!ab|bc! to allow you to use | in your string.
来源:https://stackoverflow.com/questions/4937440/escape-in-verb