%% %% This is file `applekeys.sty', %% %% This file assumes you have Kino's keysymbols files in both .eps (the original %% versions) for use with latex+ghostscript processing via dvips and converted %% versions in .pdf (easily created by dropping the .eps files onto, e.g., TeXShop) %% for pdflatex processing. %% %% There is nothing "religious" about the size or vertical placement of each of the %% graphics; these just look ok to my eyes, at this time, especially with Lucida Bright. %% You are free to change the size and placement as you see fit for personal use. %% Just don't ascribe your choices to me. %% %% 2005/08/24 - Changed \newcommand to \DeclareRobustCommand to %% allow easy use in section headings and table of contents. Note: still %% a problem with the hyperref package. %% \ProvidesPackage{applekeys} [2005/08/24 H.S. For inclusion of apple key graphics ] \RequirePackage{graphicx} \DeclareRobustCommand{\cmdkey}{\raisebox{-.035em}{\includegraphics[height=.75em]{latex_styles/command}\thinspace}} \DeclareRobustCommand{\optkey}{\raisebox{-.005em}{\includegraphics[height=.65em]{latex_styles/option}\thinspace}} \DeclareRobustCommand{\shiftkey}{\raisebox{-.04em}{\includegraphics[height=.83em]{latex_styles/shift}\thinspace}} \DeclareRobustCommand{\ctlkey}{\raisebox{.27em}{\includegraphics[height=.45em]{latex_styles/control}\thinspace}} \DeclareRobustCommand{\delkey}{\raisebox{-0.02em}{\includegraphics[height=.75em]{latex_styles/delete}\thinspace}} \DeclareRobustCommand{\applekey}{\raisebox{-0.01em}{\includegraphics[height=.90em]{latex_styles/apple}\thinspace}} \DeclareRobustCommand{\openapplekey}{\raisebox{-0.01em}% {\includegraphics[height=.90em]{latex_styles/apple_outline}\thinspace}} \DeclareRobustCommand{\capslockkey}{\raisebox{-0.02em}% {\includegraphics[height=.88em]{latex_styles/capslock}\thinspace}} \DeclareRobustCommand{\ejectkey}{\raisebox{0.01em}{\includegraphics[height=.7em]{latex_styles/eject}\thinspace}} \DeclareRobustCommand{\pencilkey}{\raisebox{-0.01em}{\includegraphics[height=.8em]{latex_styles/pencil}\thinspace}} \DeclareRobustCommand{\esckey}{\raisebox{-0.03em}{\includegraphics[height=.75em]{latex_styles/escape}\thinspace}} \DeclareRobustCommand{\tabkey}{\raisebox{-0.02em}{\includegraphics[height=.75em]{latex_styles/tab}\thinspace}} \DeclareRobustCommand{\revtabkey}{\raisebox{-0.02em}{\includegraphics[height=.75em]{latex_styles/revtab}\thinspace}} \DeclareRobustCommand{\returnkey}{\raisebox{-0.06em}{\includegraphics[height=.65em]{latex_styles/return}\thinspace}} \DeclareRobustCommand{\revreturnkey}{\raisebox{-0.06em}% {\includegraphics[height=.65em]{latex_styles/revreturn}\thinspace}} \DeclareRobustCommand{\powerkey}{\raisebox{-0.04em}{\includegraphics[height=.83em]{latex_styles/power}\thinspace}} %% %% End of file `applekeys.sty'