Rich Shepard <[EMAIL PROTECTED]> writes:
> 
>    In my document I reference specific buttons on the GUI of an application;
> buttons such as OK, Clear, Add, and Load. What I have done is place each word
> in a \framebox{}. It looks pretty ugly; the frames extend slightly below the
> baseline and above the line of text.
> 
>    Then I tried searching the symbol list, Google, and the TUG Tips and Tricks
> web pages. Didn't find anything that looked like a solution.
> 
>    What do folks do in this situation? I suppose I could set the words in
> Italics and let it go at that.

Put the following in the document preamble:

\newcommand{\boxit}[1]
  {\leavevmode\thinspace\hbox{\vrule\vtop{\vbox{\hrule\kern1pt
  \hbox{\vphantom{\tt/}\thinspace{\tt#1}\thinspace}}
  \kern1pt\hrule}\vrule}\thinspace}

and then use \boxit{OK}, \boxit{Clear}, etc.

Does this satisfy better your needs?

--
Enrico




Reply via email to