diff options
-rw-r--r-- | Master/texmf-dist/tex/latex/keystroke/keystroke.sty | 35 |
1 files changed, 22 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/keystroke/keystroke.sty b/Master/texmf-dist/tex/latex/keystroke/keystroke.sty index 0c46098118a..9f2d525750b 100644 --- a/Master/texmf-dist/tex/latex/keystroke/keystroke.sty +++ b/Master/texmf-dist/tex/latex/keystroke/keystroke.sty @@ -22,7 +22,7 @@ %% % Please send corrections and enhancements -% to Rolf Niepraschk <niepraschk@ptb.de>. +% to Rolf Niepraschk <Rolf.Niepraschk@gmx.de>. % Changes: % v1.3, 2001/10/27; Loading the graphics package only if needed. @@ -30,14 +30,12 @@ % v1.4, 2001/12/14; New and corrected definitions for spanish. % v1.5, 2003/08/15; Fix a bug with the global option "english". % New optin "ngerman". RN +% v1.6, 2010/04/23; New and corrected definitions for french. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{keystroke}[2003/08/15 v1.5 3D keystrokes (SuSE GmbH/RN)] +\ProvidesPackage{keystroke}[2010/04/23 v1.6 3D keystrokes (SuSE GmbH/RN)] -\@ifpackageloaded{graphics}{}{% - \RequirePackage{graphics} - %\RequirePackage{graphicx} -} +\RequirePackage{graphics} \newcommand*{\Enter}{} \newcommand*{\Del}{} @@ -78,7 +76,7 @@ \def\Esc{\keystroke{Esc}} \def\Shift{\keystroke{$\Uparrow$~~}} \def\Ctrl{\keystroke{Strg}} - \def\Home{\keystroke{Pos1}} + \def\Home{\keystroke{Pos~1}} \def\End{\keystroke{Ende}} \def\PgUp{\keystroke{Bild $\uparrow$}} \def\PgDown{\keystroke{Bild $\downarrow$}} @@ -96,13 +94,24 @@ \ExecuteOptions{german} } +% Contributed by Denis Bitouz\'e <dbitouze@wanadoo.fr> \DeclareOption{french}{% - \def\Enter{\keystroke{Entr\'ee}} - \def\Del{\keystroke{Suppr}} - %\def\Ins{\keystroke{???}} - \def\End{\keystroke{Fin}} - \def\PgUp{\keystroke{Pagina $\uparrow$}} - \def\PgDown{\keystroke{Pagina $\downarrow$}} + \def\Enter{\keystroke{entr\'ee}} + \def\Del{\keystroke{suppr}} + \def\Ins{\keystroke{insert}} + \def\Esc{\keystroke{\'echap}} + \def\Shift{\keystroke{$\Uparrow$}} + \def\Ctrl{\keystroke{ctrl}} + \def\Home{\keystroke{home}} + % or \def\Home{\keystroke{$nwarrow$}} but + % in fact should be something % like $\Nwarrow$ from txfonts/pxfonts + % arrows + \def\End{\keystroke{fin}} + \def\PgUp{\keystroke{page $\uparrow$}} + \def\PgDown{\keystroke{page $\downarrow$}} + \def\PrtSc{\keystroke{impr}} + \def\Scroll{\keystroke{d\'efil}} + \def\Break{\keystroke{pause}} } \DeclareOption{francais}{% |