TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm searching now since 2 weeks for a LMB (left mouse click) or RMB (right mouse click) symbol in LaTeX. I saw it once in a manual, but I couldn't find it any more...

Now I want to write a manual and for easier understanding how to use the software it would be great to integrate such easy symbols!

I already designed the symbol in illustrator. but now I don't know how to import it into LaTeX or how to design with "special" packages the symbols?!?

Picture is missing cause I'm new and I am not allowed to upload pictures.

It should look like an oval. In the oval on the top there is a reversed T. if it should be the "left mouse click" the left side is black. If it should be the "right mouse click" then the right side is black.

Hope the description is sufficient. If not, post and I'll send you the image.

share|improve this question
You can add images to your post - just remove the preceding !. Someone with edit privileges will reinsert these images for you. – Werner Jun 5 '12 at 13:02
up vote 8 down vote accepted

Since you have already created these images, you just need to include them in your document. Make sure that the bounding box around the images are tight, otherwise you'll end up with too much white space around them.

To include the image, use

\usepackage{graphicx}% http://ctan.org/pkg/graphicx

in your document preamble, together with commands like

\newcommand{\LMB}{\includegraphics[height=.8\baselineskip]{LMB}}% Left Mouse Button
\newcommand{\RMB}{\includegraphics[height=.8\baselineskip]{RMB}}% Right Mouse Button

where your buttons are exported from Adobe Illustrator as LMB.pdf and RMB.pdf (if you're using PDFLaTeX.

The above commands allow you to use \LMB and \RMB in your text, and prints the images at 80% of the baseline height. Depending on your usage, you may want to also include the xspace package and insert \xspace after each command. That would ease your use of \LMB/\RMB without having to always add a control space \ after it.

share|improve this answer
Thanxs a lot!!! i didn't think it would be such easy!!! i thought i have to create the symbol via METAFONT and just for my need it is too circumstantial! But if you know how to do it in METAFONT i'd be appreciated to know how to do it that way! THX again! – Billabong7 Jun 5 '12 at 13:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.