1

I'm trying to change the default keys style of the package menukeys to shadowedroundedkeys. For that I found the command \renewmenumacro{\keys}{shadowedroundedkeys} in their documentation. It does in fact change the style but at the same time it breaks the separtation at the + symbol for shurtcuts.

Works as intended: (but wrong style)

\usepackage[os=win]{menukeys}

\begin{document}
\keys{\ctrl + R}
\end{document}

Working

Changes the style as intended but breaks the shortcuts:

\usepackage[os=win]{menukeys}

\renewmenumacro{\keys}{shadowedroundedkeys}

\begin{document}
\keys{\ctrl + R}
\end{document}

Not working

P.S.: Any ideas what additional tags I could add?

2

What I didn't know was that when I redefine the default style I still have to redefine the seperator. So the following works:

\usepackage[os=win]{menukeys}

\renewmenumacro{\keys}[+]{shadowedroundedkeys}

\begin{document}
\keys{\ctrl + R}
\end{document}

Working

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.