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.

  • 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

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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