I have enabled
shortvrb so that I can enclose text in pipes to write small pieces of code. Unfortunately this conflicts with math mode when I write
$|A|$ to indicate the cardinality of a set. How can I disable
shortvrb in math mode ?
However, it has a problem with footnotes. The reason why the following make more sense:
The following seems to work:
but of course you won't be able to use
It's best to resort to