(\key): Typeset a lozenge around the argument (from
authorKarl Berry <karl@gnu.org>
Tue, 20 Aug 1996 18:37:11 +0000 (18:37 +0000)
committerKarl Berry <karl@gnu.org>
Tue, 20 Aug 1996 18:37:11 +0000 (18:37 +0000)
 gildea@intouchsys.com).

texinfo.tex

index b2c246e7bcaa6f480b7598a5e1be84dd961bc028..759e3c120eb1f341b02a05c296d0d455986ec391 100644 (file)
@@ -1192,7 +1192,15 @@ where each line of input produces a line of output.}
 }
 \let\ttfont=\t
 \def\samp #1{`\tclose{#1}'\null}
-\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null}
+\setfont\smallrm\rmshape{8}{1000}
+\font\smallsy=cmsy9
+\def\key#1{{\smallrm\textfont2=\smallsy \leavevmode\hbox{%
+  \raise0.4pt\hbox{$\langle$}\kern-.08em\vtop{%
+    \vbox{\hrule\kern-0.4pt
+     \hbox{\raise0.4pt\hbox{\vphantom{$\langle$}}\uppercase{#1}}}%
+    \kern-0.4pt\hrule}%
+  \kern-.06em\raise0.4pt\hbox{$\rangle$}}}}
+%\def\key #1{{\ttsl \nohyphenation \uppercase{#1}}\null}
 \def\ctrl #1{{\tt \rawbackslash \hat}#1}
 
 \let\file=\samp