% LaTeX-Package for libertine key % % $Id: libertinekey.sty 53 2010-07-03 16:55:06Z michael $ % % Michael Niedermair m.g.n@gmx.de % % (License GPL) % \ProvidesPackage{libertinekey}[2010/07/03 - 4.8.1: Font libertine Key - (License GPL) Michael Niedermair] % \RequirePackage{libertine} % \ifxetex \newfontfamily\biolinumkey[Mapping=tex-text]{Linux Biolinum Kb O} \DeclareRobustCommand*\biolinumKeyGlyph[1]{{% \biolinumkey% \@tempcnta=\XeTeXglyphindex "#1"\relax% \ifnum\@tempcnta>0% \XeTeXglyph\@tempcnta% \fi }} \else \def\biolinumkey{\fontfamily{fxk}\selectfont} \DeclareRobustCommand*\biolinumKeyGlyph[1]{{\@nameuse{fxk@#1}}} % \ifluatex \input{fxkuni.inc} \else \input{fxk.inc} \fi % \fi % \DeclareRobustCommand*\LKey[1]{\biolinumKeyGlyph{#1}} \DeclareRobustCommand*\LKeyTux{\biolinumKeyGlyph{T_u_x}} \DeclareRobustCommand*\LKeyStrg{\biolinumKeyGlyph{S_t_r_g}} \DeclareRobustCommand*\LKeyAlt{\biolinumKeyGlyph{A_l_t}} \DeclareRobustCommand*\LKeyAltGr{\biolinumKeyGlyph{A_l_t_G_r}} \DeclareRobustCommand*\LKeyShift{\biolinumKeyGlyph{S_h_i_f_t}} \DeclareRobustCommand*\LKeyTab{\biolinumKeyGlyph{T_a_b}} \DeclareRobustCommand*\LKeyEnter{\biolinumKeyGlyph{E_n_t_e_r}} \DeclareRobustCommand*\LKeyCapsLock{\biolinumKeyGlyph{C_a_p_s_l_o_c_k}} \DeclareRobustCommand*\LKeyPos{\biolinumKeyGlyph{P_o_s_1}} \DeclareRobustCommand*\LKeyEntf{\biolinumKeyGlyph{E_n_t_f}} \DeclareRobustCommand*\LKeyEinf{\biolinumKeyGlyph{E_i_n_f}} \DeclareRobustCommand*\LKeyLeer{\biolinumKeyGlyph{L_e_e_r}} \DeclareRobustCommand*\LKeyEsc{\biolinumKeyGlyph{E_s_c}} \DeclareRobustCommand*\LKeyEnde{\biolinumKeyGlyph{E_n_d_e}} \@namedef{libertine@key@F@1}{\biolinumKeyGlyph{F_1}} \@namedef{libertine@key@F@2}{\biolinumKeyGlyph{F_2}} \@namedef{libertine@key@F@3}{\biolinumKeyGlyph{F_3}} \@namedef{libertine@key@F@4}{\biolinumKeyGlyph{F_4}} \@namedef{libertine@key@F@5}{\biolinumKeyGlyph{F_5}} \@namedef{libertine@key@F@6}{\biolinumKeyGlyph{F_6}} \@namedef{libertine@key@F@7}{\biolinumKeyGlyph{F_7}} \@namedef{libertine@key@F@8}{\biolinumKeyGlyph{F_8}} \@namedef{libertine@key@F@9}{\biolinumKeyGlyph{F_9}} \@namedef{libertine@key@F@10}{\biolinumKeyGlyph{F_1_0}} \@namedef{libertine@key@F@11}{\biolinumKeyGlyph{F_1_1}} \@namedef{libertine@key@F@12}{\biolinumKeyGlyph{F_1_2}} \@namedef{libertine@key@F@13}{\biolinumKeyGlyph{F_1_3}} \@namedef{libertine@key@F@14}{\biolinumKeyGlyph{F_1_4}} \@namedef{libertine@key@F@15}{\biolinumKeyGlyph{F_1_5}} \@namedef{libertine@key@F@16}{\biolinumKeyGlyph{F_1_6}} \DeclareRobustCommand*\LKeyF[1]{\@nameuse{libertine@key@F@#1}} \DeclareRobustCommand*\LKeyStrgX[1]{\LKeyStrg+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftX[1]{\LKeyShift+\LKey{#1}} \DeclareRobustCommand*\LKeyAltX[1]{\LKeyAlt+\LKey{#1}} \DeclareRobustCommand*\LKeyAltGrX[1]{\LKeyAltGr+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftStrgX[1]{\LKeyShift+\LKeyStrg+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}} \DeclareRobustCommand*\LKeyShiftAltGrX[1]{\LKeyShift+\LKeyAltGr+\LKey{#1}} \DeclareRobustCommand*\LKeyStrgAltX[1]{\LKeyStrg+\LKeyAlt+\LKey{#1}} \DeclareRobustCommand*\LKeyStrgAltEnt{\LKeyStrg+\LKeyAlt+\LKeyEntf} \let\LKeyReset\LKeyStrgAltEnt % \endinput