Escape `| 'in \ verb

In LaTex, if I use \ verb , how can I avoid | ? For example, I want to display ab|bc : \ verb | ab [] bc |. What should be replaced [] ?

+4
source share
1 answer

You can use other characters in \verb than | ; for example, you can do \verb!ab|bc! so you can use | in its line.

+7
source

Source: https://habr.com/ru/post/1338922/


All Articles