tweh / menukeys

A LaTeX package to typeset menu sequences, key strokes, paths etc.
47 stars 4 forks source link

Implementing \entername #47

Open mathieu2L opened 7 years ago

mathieu2L commented 7 years ago

It could be usefull to be able to change the text for \enter (and maybe other keys) the same way as it is possible for \ctrl, \del and \SPACE. (Although it is not difficult to get around using \keys{MyEnterName}...)

tweh commented 7 years ago

You could do this with something like

\renewcommand{\enter}{Enter}

I.e. overwriting my definition. I think this must not be part of the package itself, however maybe this could be added to the manual as a hint.

mathieu2L commented 7 years ago

Works for me. Thanks! (It's just that it felt strange to have \ctrlname, \delname and \spacename but not their counterpart for \enter or \esc.)

tweh commented 7 years ago

Well it is because I only thought of ”Enter” as a symbol. But you are right, it is a bit inconsistent. I’ll leave the issue open and think about this, when I have some time – but don’t expect this to happen soon ;-)

mathieu2L commented 7 years ago

ok. It makes sense. No rush is needed: this is quite easy to make on its own :-) Anyway, thanks for the quick answers!

tweh commented 7 years ago

You’re welcome :-)