summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-26 00:11:06 +0000
committerKarl Berry <karl@freefriends.org>2010-04-26 00:11:06 +0000
commit4c52c05c509c887e64f691a2ce5859f514a740c3 (patch)
tree44185053dcf84f4c163c6fa8a0b7f08171058113 /Master
parentdf55ab48a94acdad582c5fd1bd7b368eea70e059 (diff)
keystroke updaet (24apr10)
git-svn-id: svn://tug.org/texlive/trunk@17992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/keystroke/keystroke.sty35
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}{%