21

Maybe I am just stupid, but I don't manage to change the style of the output of menukeys. The manual of this package lists in Section 4.2.1 some predefined styles. However, I can't find any hint of how to tell the package which style to use.

Here's a minimal example:

\documentclass{article}
\usepackage{menukeys}
\begin{document}
Hello World!

\menu{File > Quit}

\end{document}
  • 5
    Somehow this is really confusing in the way the manual is organized… it explains how to define styles and themes, but not how to just select an existing one as the default… – Damien Pollet Mar 21 '13 at 17:57
17

Use \renewmenumacro{<macro>}[<input sep>]{<style>} -- see section 4.4.2 of the manual for details.

\documentclass{article}

\usepackage{menukeys}

\renewmenumacro{\menu}[>]{shadowedroundedkeys}

\begin{document}

Hello World!

\menu{File > Quit}

\end{document}

enter image description here

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.