Technical documentation and software manuals often require to tell the reader about keyboard shortcuts, how to use the program menu, or in which directory files can be located. This recipe helps with writing such explanations.
We will use the menukeys
package and try out its main commands. Follow these steps:
Start a short document and load the
menukeys
package in it:\documentclass[parskip=full]{scrartcl} \usepackage{menukeys} \begin{document} \section*{Running \TeX works}
In the body text, use the
\menu
command for menu entries, the\keys
command for keyboard combinations, and the\directory
command for a path, as follows:In the main menu, click \menu{Typeset > pdfLaTeX} for choosing the \TeX\ compiler. Then press \keys{\cmd + T} for typesetting. Click \menu{Window > Show > Fonts} for seeing the fonts used by the document. Press \keys{\shift + \cmd + F} for full screen. The program is installed in \directory{/Applications/TeX/TeXworks...