From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/keystroke/key-test.tex | 57 +++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 macros/latex/contrib/keystroke/key-test.tex

(limited to 'macros/latex/contrib/keystroke/key-test.tex')

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}
+
+ 
-- 
cgit v1.2.3

