Things only #LaTeX can do:
If you want to use a properly displayed # symbol (for C#), you "only" need to include a few hundreds lines of code… no problem… 🤷
@rugk Just escape the hash character: C\# should do the trick. Your code seems to draw an new glyph.
@michal_h21 @rugk @kirschwipfel The # symbol becomes quite a disaster when you need to pass it in an argument to a custom command that prints the # and also sends it to another command where # must be unescaped (like \url{}). In that case, it's broken if you pass "\#" and also if you pass "#"
@kirschwipfel @rugk @michal_h21 Try writing a custom command that uses \href and also creates a footnote of the URL. The "#" and "_" chars and a few others need some quite bizarre hacks to work.