summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/keystroke/key-test.tex
blob: 5c892738cd27607061f1ddceaa052038f3dfef7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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}