Debian Codegraph @

texmf-dist/doc/latex/keystroke/key-test.tex

raw
1
2 % Rolf Niepraschk, [email protected], 2000/10/29
3
4 \documentclass{article}
5 \usepackage{array}
6
7 \usepackage{keystroke}
8 %\usepackage[french]{keystroke}
9 %\usepackage[spanish]{keystroke}
10 %\usepackage[german]{keystroke}
11
12 \listfiles
13
14 \setlength\extrarowheight{.5ex}
15
16 \newcommand*{\BSL}{\symbol{`\\}}
17 \newcommand*{\LB}{\symbol{`\{}}
18 \newcommand*{\RB}{\symbol{`\}}}
19
20 \begin{document}
21
22 \begin{center}
23
24 \textbf{\Large The keystroke macros} \bigskip
25
26 \begin{tabular}{@{} >{\ttfamily\BSL}c c >{\ttfamily\BSL}c c @{}}
27
28 \multicolumn{1}{@{} c}{\textbf{macro}} &
29 \multicolumn{1}{c}{\textbf{result}} &
30 \multicolumn{1}{c}{\textbf{macro}} &
31 \multicolumn{1}{c @{}}{\textbf{result}}\\ \hline
32
33 Spacebar & \Spacebar & Enter & \Enter \\
34 Return & \Return & Esc & \Esc \\
35 BSpace & \BSpace & Tab & \Tab \\
36 Alt & \Alt & AltGr & \AltGr \\
37 Del & \Del & Shift & \Shift \\
38 PgUp & \PgUp & PgDown & \PgDown \\
39 End & \End & Ctrl & \Ctrl \\
40 Home & \Home & Ins & \Ins \\
41 UArrow & \UArrow & DArrow & \DArrow \\
42 LArrow & \LArrow & RArrow & \RArrow \\
43 PrtSc & \PrtSc & Scroll & \Scroll \\
44 Break & \Break & NumLock & \NumLock \\[1ex]
45
46 \hline
47
48 keystroke\LB A\RB & \keystroke{A} & keystroke\LB Z\RB & \keystroke{Z} \\
49 keystroke\LB F1\RB & \keystroke{F1} & keystroke\LB F10\RB & \keystroke{F10}
50
51 \end{tabular}
52
53 \end{center}
54
55 \end{document}
56
57