How can I put special characters like the square brackets into a keys{} provided by the menukeys package?
I tried it with \[ and \] respectively, but it fails. Unlike for the | character there does not seem to be a symbol I can reference by name (see below) that will work inside the \keys{} command.
I only list the characters I tried below, but I'm generally interested in how I can approach such a problem when I encounter it.
How can I address my specific problem and what would be the steps to take next time I encounter a similar problem (short of asking here).
The characters that I'm interest and found to fail so far (including what I tried):
[as\[]as\]
Working in escaped or other form:
|\textbar(not working:\vbar,\|and{\|})%via\%&via\&#via\#{via\{and\textbraceleft}via\}and\textbraceright
