TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 writing text with some custom images (symbols) in the text line, I add them using \includegraphics, but the images align with the text at the bottom, which is annoying, since the images are slightly larger than the text. How do I move the image a bit lower, so that the image stops just a bit below the text.

E.G. The diagram $\includegraphics{images/diagram_A}$ is neat.

It would be nice to have in the $ enviroment.

share|improve this question
Is having it between $ symbols important? This seems like a very strange requirement. – qubyte Mar 7 '12 at 13:25

You may wrap your \includegraphics{...} into a \raisebox


This is\raisebox{1ex}{\includegraphics[height=2ex]{/Users/brf/Pictures/logos/dode.PDF}}okay    

Or create a newcommand:


Then blabla\moveup{dode.PDF}bla

share|improve this answer
Would you like to elaborate a bit? – egreg Mar 7 '12 at 13:27
Something like this: raisebox{10pt}{stuff} will move the stuff 10pt above the baseline. – Peter Breitfeld Mar 7 '12 at 13:34
@PeterBreitfeld Please include an example in your answer so that others may find it easier. – N.N. Mar 7 '12 at 13:42

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.