Is there a standard way to typeset the special symbols of the Apple Mac keyboard? That is, the curly rectangle ⌘ and the others?
If there is none, what would you suggest as workarounds?
There is the Apple Keys package available here: Apple Keys.
It has character sized images for the following symbols:
A few month ago I released menukeys
an now an upvote remind me of this question, so I’d like to announce the package here. It contains symbols for (I hope) all Apple and Windows Keys.
The symbols are produced with TikZ. The code can be found in menukeys.sty
or in the implementation section of the manual.
Furthermore the package offers macros to typeset shortcuts.
To set the unit of the rulers go to \menu{Extras > Settings > Rulers}
and choose between millimetres, inches and pixels. The short cut to
view the rulers is \keys{cmd + R}. Pressing these keys again will
hide the rulers.
The standard path for saving your document is \directory{Macintosh HD/
Users/ Your Name/Documents} but you can change it at \menu{Extras >
Settings > Saving} by clicking \menu{Change save path}.
menukeys
and fixed the esc symbol :-)
If you are using XeTeX or LuaTeX, you can use some of the symbols directly.
However, be aware that only few fonts actually contain all symbols, so you might have to load it from a different font (like XITS, DejaVu Sans or FreeSerif):
% Compile with xelatex or lualatex
\documentclass{article}
\usepackage{fontspec}
\newfontfamily\xits{xits.otf}
% provide a command for the command key symbol
\newcommand\cmdkey{{\xits ⌘}}
% make the symbol usable directly
\usepackage{newunicodechar}
\newunicodechar{⌘}{\cmdkey}
\begin{document}
Press the \cmdkey~key.
Release the ⌘ key.
\end{document}
For the record, common keys are
Google found AppleSymbols (via). Maybe this helps.
Alternatively you could draw them with TikZ. For the Apple-Logo I can give you a commans which includes an Image.
If you don’t like AppleSymbols I can help you with TikZ!