0

I would like to type S-(left bracket)LEFT (right bracket) inserted as keyboard. How to escape the (bracket)?

The problem is seen in question - How to type S-<LEFT> during indent-rigidly?

where LEFT for the time being is not enclosed in (brackets).

Check @npostavs answer:

S-<LEFT>

@Gilles answer with kbd enclosure added:

S-<LEFT>

3

These are literal characters that one would type on the computer (e.g. read in the interactive help or typed in the kbd function), so use inline code markup.

`S-<LEFT>`
2

You can use HTML character entities for angle brackets:

<kbd>S-&lt;LEFT&gt;</kbd>

Renders as

S-<LEFT>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .