summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/keystroke/key-test.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/keystroke/key-test.tex')
-rw-r--r--macros/latex/contrib/keystroke/key-test.tex57
1 files changed, 57 insertions, 0 deletions
diff --git a/macros/latex/contrib/keystroke/key-test.tex b/macros/latex/contrib/keystroke/key-test.tex
new file mode 100644
index 0000000000..5c892738cd
--- /dev/null
+++ b/macros/latex/contrib/keystroke/key-test.tex
@@ -0,0 +1,57 @@
+
+% Rolf Niepraschk, niepraschk@ptb.de, 2000/10/29
+
+\documentclass{article}
+\usepackage{array}
+
+\usepackage{keystroke}
+%\usepackage[french]{keystroke}
+%\usepackage[spanish]{keystroke}
+%\usepackage[german]{keystroke}
+
+\listfiles
+
+\setlength\extrarowheight{.5ex}
+
+\newcommand*{\BSL}{\symbol{`\\}}
+\newcommand*{\LB}{\symbol{`\{}}
+\newcommand*{\RB}{\symbol{`\}}}
+
+\begin{document}
+
+\begin{center}
+
+ \textbf{\Large The keystroke macros} \bigskip
+
+ \begin{tabular}{@{} >{\ttfamily\BSL}c c >{\ttfamily\BSL}c c @{}}
+
+ \multicolumn{1}{@{} c}{\textbf{macro}} &
+ \multicolumn{1}{c}{\textbf{result}} &
+ \multicolumn{1}{c}{\textbf{macro}} &
+ \multicolumn{1}{c @{}}{\textbf{result}}\\ \hline
+
+ Spacebar & \Spacebar & Enter & \Enter \\
+ Return & \Return & Esc & \Esc \\
+ BSpace & \BSpace & Tab & \Tab \\
+ Alt & \Alt & AltGr & \AltGr \\
+ Del & \Del & Shift & \Shift \\
+ PgUp & \PgUp & PgDown & \PgDown \\
+ End & \End & Ctrl & \Ctrl \\
+ Home & \Home & Ins & \Ins \\
+ UArrow & \UArrow & DArrow & \DArrow \\
+ LArrow & \LArrow & RArrow & \RArrow \\
+ PrtSc & \PrtSc & Scroll & \Scroll \\
+ Break & \Break & NumLock & \NumLock \\[1ex]
+
+ \hline
+
+ keystroke\LB A\RB & \keystroke{A} & keystroke\LB Z\RB & \keystroke{Z} \\
+ keystroke\LB F1\RB & \keystroke{F1} & keystroke\LB F10\RB & \keystroke{F10}
+
+ \end{tabular}
+
+\end{center}
+
+\end{document}
+
+